From ac67f6fe92d0636cca6be02734552abc3a517233 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:14:56 +0000 Subject: [PATCH] TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1158416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcron/ktapp.h | 2 +- kcron/ktlisttasks.h | 2 +- kcron/ktlistvars.h | 2 +- kcron/ktprint.h | 6 +++--- kcron/ktprintopt.h | 2 +- kcron/kttask.h | 10 +++++----- kcron/ktview.h | 6 +++--- kdat/ArchiveInfoWidget.h | 6 +++--- kdat/BackupDlg.h | 4 ++-- kdat/BackupProfileWidget.h | 10 +++++----- kdat/FileInfoWidget.h | 2 +- kdat/FormatOptDlg.h | 4 ++-- kdat/ImageCache.h | 2 +- kdat/IndexDlg.h | 4 ++-- kdat/KDatMainWindow.cpp | 4 ++-- kdat/KDatMainWindow.h | 6 +++--- kdat/LoggerWidget.h | 2 +- kdat/OptionsDlg.h | 2 +- kdat/TapeFileInfoWidget.h | 2 +- kdat/TapeInfoWidget.h | 8 ++++---- kdat/VerifyDlg.h | 4 ++-- kdat/VerifyOptDlg.h | 2 +- kfile-plugins/deb/kfile_deb.h | 2 +- kfile-plugins/rpm/kfile_rpm.h | 2 +- kpackage/kpackage.h | 4 ++-- kpackage/managementWidget.h | 2 +- kpackage/options.h | 12 ++++++------ kpackage/packageDisplay.h | 4 ++-- kpackage/search.h | 4 ++-- ksysv/Data.h | 2 +- ksysv/IOCore.h | 6 +++--- ksysv/OldView.h | 20 ++++++++++---------- ksysv/PreferencesDialog.h | 2 +- ksysv/Properties.h | 8 ++++---- ksysv/RunlevelAuthIcon.h | 4 ++-- ksysv/ServiceDlg.h | 4 ++-- ksysv/TopWidget.h | 2 +- ksysv/kscroller.h | 2 +- ksysv/ksv_core.h | 4 ++-- ksysv/ksvdrag.h | 2 +- ksysv/ksvdraglist.h | 2 +- ksysv/trash.h | 2 +- secpolicy/pamview.cpp | 2 +- secpolicy/pamview.h | 4 ++-- 44 files changed, 94 insertions(+), 94 deletions(-) diff --git a/kcron/ktapp.h b/kcron/ktapp.h index 37a830b..0dd560f 100644 --- a/kcron/ktapp.h +++ b/kcron/ktapp.h @@ -19,7 +19,7 @@ #include class KAction; -class QString; +class TQString; class KTView; class CTHost; diff --git a/kcron/ktlisttasks.h b/kcron/ktlisttasks.h index 6d3ec3b..ad5e5a3 100644 --- a/kcron/ktlisttasks.h +++ b/kcron/ktlisttasks.h @@ -18,7 +18,7 @@ #include "ktlistitem.h" -class QString; +class TQString; /** * TQListViewItem of a "tasks" folder. diff --git a/kcron/ktlistvars.h b/kcron/ktlistvars.h index 91a145a..f455596 100644 --- a/kcron/ktlistvars.h +++ b/kcron/ktlistvars.h @@ -19,7 +19,7 @@ #include "ktlistitem.h" -class QString; +class TQString; /** * TQListViewItem of a "variables" folder. diff --git a/kcron/ktprint.h b/kcron/ktprint.h index c5351e1..16c13b1 100644 --- a/kcron/ktprint.h +++ b/kcron/ktprint.h @@ -17,10 +17,10 @@ #include #include -class QPainter; +class TQPainter; class KPrinter; -class QString; -class QFont; +class TQString; +class TQFont; /** *Provides a wrapper for simple printing of text. diff --git a/kcron/ktprintopt.h b/kcron/ktprintopt.h index 8523432..f1e3eb5 100644 --- a/kcron/ktprintopt.h +++ b/kcron/ktprintopt.h @@ -20,7 +20,7 @@ #include -class QCheckBox; +class TQCheckBox; class KAccel; /** diff --git a/kcron/kttask.h b/kcron/kttask.h index ae925d1..be34ddb 100644 --- a/kcron/kttask.h +++ b/kcron/kttask.h @@ -16,11 +16,11 @@ #include -class QLabel; -class QLineEdit; -class QCheckBox; -class QButtonGroup; -class QPushButton; +class TQLabel; +class TQLineEdit; +class TQCheckBox; +class TQButtonGroup; +class TQPushButton; class KAccel; class CTTask; diff --git a/kcron/ktview.h b/kcron/ktview.h index 1588661..f6e5a04 100644 --- a/kcron/ktview.h +++ b/kcron/ktview.h @@ -18,9 +18,9 @@ #include -class QString; -class QListView; -class QListViewItem; +class TQString; +class TQListView; +class TQListViewItem; class KTApp; class KTPrint; class KTListItem; diff --git a/kdat/ArchiveInfoWidget.h b/kdat/ArchiveInfoWidget.h index a34d1c9..5e745b0 100644 --- a/kdat/ArchiveInfoWidget.h +++ b/kdat/ArchiveInfoWidget.h @@ -21,9 +21,9 @@ #include -class QLabel; -class QLineEdit; -class QPushButton; +class TQLabel; +class TQLineEdit; +class TQPushButton; class Archive; diff --git a/kdat/BackupDlg.h b/kdat/BackupDlg.h index c3c602b..cf32bef 100644 --- a/kdat/BackupDlg.h +++ b/kdat/BackupDlg.h @@ -21,8 +21,8 @@ #include -class QLabel; -class QPushButton; +class TQLabel; +class TQPushButton; class KProcess; diff --git a/kdat/BackupProfileWidget.h b/kdat/BackupProfileWidget.h index 945f725..0a2f580 100644 --- a/kdat/BackupProfileWidget.h +++ b/kdat/BackupProfileWidget.h @@ -22,11 +22,11 @@ #include #include -class QCheckBox; -class QComboBox; -class QLabel; -class QLineEdit; -class QListBox; +class TQCheckBox; +class TQComboBox; +class TQLabel; +class TQLineEdit; +class TQListBox; class BackupProfile; diff --git a/kdat/FileInfoWidget.h b/kdat/FileInfoWidget.h index 9b2d227..9a0a32f 100644 --- a/kdat/FileInfoWidget.h +++ b/kdat/FileInfoWidget.h @@ -21,7 +21,7 @@ #include -class QLabel; +class TQLabel; /** * @short Display information about a local file. diff --git a/kdat/FormatOptDlg.h b/kdat/FormatOptDlg.h index b75baeb..861fa93 100644 --- a/kdat/FormatOptDlg.h +++ b/kdat/FormatOptDlg.h @@ -22,8 +22,8 @@ #include #include -class QComboBox; -class QLineEdit; +class TQComboBox; +class TQLineEdit; /** * @short Display/edit options for formatting a tape. diff --git a/kdat/ImageCache.h b/kdat/ImageCache.h index acf9b29..9f2419c 100644 --- a/kdat/ImageCache.h +++ b/kdat/ImageCache.h @@ -19,7 +19,7 @@ #ifndef _ImageCache_h_ #define _ImageCache_h_ -class QPixmap; +class TQPixmap; /** * @short A container for commonly used icons. diff --git a/kdat/IndexDlg.h b/kdat/IndexDlg.h index 96556db..5b237c8 100644 --- a/kdat/IndexDlg.h +++ b/kdat/IndexDlg.h @@ -24,8 +24,8 @@ #include "Range.h" -class QLabel; -class QPushButton; +class TQLabel; +class TQPushButton; class Archive; class File; diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp index bd14b8e..5ead8c9 100644 --- a/kdat/KDatMainWindow.cpp +++ b/kdat/KDatMainWindow.cpp @@ -130,7 +130,7 @@ KDatMainWindow::KDatMainWindow() _backupProfileMenu->insertSeparator(); _backupProfileMenu->insertItem( i18n( "Delete Backup Profile" ), this, TQT_SLOT( fileDeleteBackupProfile() ) ); - _fileMenu = new QPopupMenu; + _fileMenu = new TQPopupMenu; _fileMenu->insertItem( i18n( "Backup..." ) , this, TQT_SLOT( fileBackup() ) ); _fileMenu->insertItem( i18n( "Restore..." ) , this, TQT_SLOT( fileRestore() ) ); _fileMenu->insertItem( i18n( "Verify..." ) , this, TQT_SLOT( fileVerify() ) ); @@ -145,7 +145,7 @@ KDatMainWindow::KDatMainWindow() _fileMenu->insertSeparator(); _fileMenu->insertItem( SmallIcon("exit"), i18n( "&Quit" ) , this, TQT_SLOT( fileQuit() ), CTRL + Key_Q ); - _editMenu = new QPopupMenu; + _editMenu = new TQPopupMenu; _editMenu->insertItem( SmallIcon("configure"), i18n( "Configure KDat..." ) , this, TQT_SLOT( editPreferences() ) ); _menu = new KMenuBar( this ); diff --git a/kdat/KDatMainWindow.h b/kdat/KDatMainWindow.h index 9091975..7855923 100644 --- a/kdat/KDatMainWindow.h +++ b/kdat/KDatMainWindow.h @@ -25,14 +25,14 @@ #include class KMenuBar; -class QSplitter; +class TQSplitter; class KStatusBar; class KToolBar; class KTreeView; class KTreeViewItem; -class QPixmap; -class QPopupMenu; +class TQPixmap; +class TQPopupMenu; class Archive; class ArchiveInfoWidget; diff --git a/kdat/LoggerWidget.h b/kdat/LoggerWidget.h index 3c57d68..fed21c0 100644 --- a/kdat/LoggerWidget.h +++ b/kdat/LoggerWidget.h @@ -21,7 +21,7 @@ #include -class QMultiLineEdit; +class TQMultiLineEdit; /** * @short A titled logging widget with a save option. diff --git a/kdat/OptionsDlg.h b/kdat/OptionsDlg.h index 1f7dcd5..bd8a7de 100644 --- a/kdat/OptionsDlg.h +++ b/kdat/OptionsDlg.h @@ -21,7 +21,7 @@ #include -class QPushButton; +class TQPushButton; class OptionsDlgWidget; /** diff --git a/kdat/TapeFileInfoWidget.h b/kdat/TapeFileInfoWidget.h index e38cd6e..9098fb0 100644 --- a/kdat/TapeFileInfoWidget.h +++ b/kdat/TapeFileInfoWidget.h @@ -21,7 +21,7 @@ #include -class QLabel; +class TQLabel; class File; diff --git a/kdat/TapeInfoWidget.h b/kdat/TapeInfoWidget.h index 74bde2d..9b16aa9 100644 --- a/kdat/TapeInfoWidget.h +++ b/kdat/TapeInfoWidget.h @@ -21,10 +21,10 @@ #include -class QComboBox; -class QLabel; -class QLineEdit; -class QPushButton; +class TQComboBox; +class TQLabel; +class TQLineEdit; +class TQPushButton; class Tape; diff --git a/kdat/VerifyDlg.h b/kdat/VerifyDlg.h index a0ac521..0535cd4 100644 --- a/kdat/VerifyDlg.h +++ b/kdat/VerifyDlg.h @@ -24,8 +24,8 @@ #include "Range.h" -class QLabel; -class QPushButton; +class TQLabel; +class TQPushButton; class KProcess; diff --git a/kdat/VerifyOptDlg.h b/kdat/VerifyOptDlg.h index 67275a3..48a3624 100644 --- a/kdat/VerifyOptDlg.h +++ b/kdat/VerifyOptDlg.h @@ -22,7 +22,7 @@ #include #include -class QLineEdit; +class TQLineEdit; /** * @short Display/edit the information for performing a verify/restore operation. diff --git a/kfile-plugins/deb/kfile_deb.h b/kfile-plugins/deb/kfile_deb.h index cfa5376..8b374b9 100644 --- a/kfile-plugins/deb/kfile_deb.h +++ b/kfile-plugins/deb/kfile_deb.h @@ -22,7 +22,7 @@ #include -class QStringList; +class TQStringList; class KDebPlugin: public KFilePlugin { diff --git a/kfile-plugins/rpm/kfile_rpm.h b/kfile-plugins/rpm/kfile_rpm.h index 3911665..80b5c2f 100644 --- a/kfile-plugins/rpm/kfile_rpm.h +++ b/kfile-plugins/rpm/kfile_rpm.h @@ -22,7 +22,7 @@ #include -class QStringList; +class TQStringList; class KRpmPlugin: public KFilePlugin { diff --git a/kpackage/kpackage.h b/kpackage/kpackage.h index 8e13643..7fda9bb 100644 --- a/kpackage/kpackage.h +++ b/kpackage/kpackage.h @@ -42,9 +42,9 @@ class KFileDialog; class KProgress; -class QFrame; +class TQFrame; class KConfig; -class QLabel; +class TQLabel; class Search; class FindF; class Options; diff --git a/kpackage/managementWidget.h b/kpackage/managementWidget.h index eefc4c7..6e65372 100644 --- a/kpackage/managementWidget.h +++ b/kpackage/managementWidget.h @@ -63,7 +63,7 @@ class packageDisplayWidget; class packageInfo; -class QSplitter; +class TQSplitter; class KActionCollection; class KToolBar; class managementWidget; diff --git a/kpackage/options.h b/kpackage/options.h index c1aa840..96da8e6 100644 --- a/kpackage/options.h +++ b/kpackage/options.h @@ -49,13 +49,13 @@ class KURLRequester; -class QVBoxLayout; -class QGroupBox; -class QCheckBox; -class QPushButton; +class TQVBoxLayout; +class TQGroupBox; +class TQCheckBox; +class TQPushButton; class KComboBox; -class QButtonGroup; -class QRadioButton; +class TQButtonGroup; +class TQRadioButton; ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// diff --git a/kpackage/packageDisplay.h b/kpackage/packageDisplay.h index c85ff52..e504dec 100644 --- a/kpackage/packageDisplay.h +++ b/kpackage/packageDisplay.h @@ -51,8 +51,8 @@ class packagePropertiesWidget; class packageInfo; -class QListViewItem; -class QTextEdit; +class TQListViewItem; +class TQTextEdit; class packageDisplayWidget; class kpFileList : public KListView { diff --git a/kpackage/search.h b/kpackage/search.h index 51987d0..28f5195 100644 --- a/kpackage/search.h +++ b/kpackage/search.h @@ -35,8 +35,8 @@ #include -class QLineEdit; -class QCheckBox; +class TQLineEdit; +class TQCheckBox; // KDE headers #include diff --git a/ksysv/Data.h b/ksysv/Data.h index 974194a..a942b12 100644 --- a/ksysv/Data.h +++ b/ksysv/Data.h @@ -3,7 +3,7 @@ #ifndef KSV_DATA_H #define KSV_DATA_H -class QDataStream; +class TQDataStream; class KSVData { diff --git a/ksysv/IOCore.h b/ksysv/IOCore.h index f62611f..db1ca96 100644 --- a/ksysv/IOCore.h +++ b/ksysv/IOCore.h @@ -23,9 +23,9 @@ #include #include -template class QValueList; -class QFileInfo; -class QDataStream; +template class TQValueList; +class TQFileInfo; +class TQDataStream; class KSVDragList; class KSVData; diff --git a/ksysv/OldView.h b/ksysv/OldView.h index 4e2c668..e2e765c 100644 --- a/ksysv/OldView.h +++ b/ksysv/OldView.h @@ -21,20 +21,20 @@ #include -class QPopupMenu; -class QFileInfo; -class QLabel; -class QListViewItem; -class QTextEdit; -class QFrame; -class QVBox; -class QPixmap; -class QLayout; +class TQPopupMenu; +class TQFileInfo; +class TQLabel; +class TQListViewItem; +class TQTextEdit; +class TQFrame; +class TQVBox; +class TQPixmap; +class TQLayout; class KScroller; class KProcess; class KListView; -class QSplitter; +class TQSplitter; class KPopupMenu; class KSVTrash; class KSVDragList; diff --git a/ksysv/PreferencesDialog.h b/ksysv/PreferencesDialog.h index 1615355..a061331 100644 --- a/ksysv/PreferencesDialog.h +++ b/ksysv/PreferencesDialog.h @@ -6,7 +6,7 @@ #include #include -class QPushButton; +class TQPushButton; class KSVLookAndFeel; class KSVMiscConfig; diff --git a/ksysv/Properties.h b/ksysv/Properties.h index d26cb91..603cb98 100644 --- a/ksysv/Properties.h +++ b/ksysv/Properties.h @@ -5,10 +5,10 @@ #include -class QHBox; -class QVBox; -class QTextView; -class QSpinBox; +class TQHBox; +class TQVBox; +class TQTextView; +class TQSpinBox; class KLineEdit; diff --git a/ksysv/RunlevelAuthIcon.h b/ksysv/RunlevelAuthIcon.h index c4dddd5..172f6be 100644 --- a/ksysv/RunlevelAuthIcon.h +++ b/ksysv/RunlevelAuthIcon.h @@ -4,8 +4,8 @@ // (c) 2000 Peter Putzer #include -class QTimer; -class QFileInfo; +class TQTimer; +class TQFileInfo; class RunlevelAuthIcon : public KAuthIcon { diff --git a/ksysv/ServiceDlg.h b/ksysv/ServiceDlg.h index 84781e7..432a934 100644 --- a/ksysv/ServiceDlg.h +++ b/ksysv/ServiceDlg.h @@ -20,8 +20,8 @@ class KSVDragList; class KSVItem; -class QString; -class QComboBox; +class TQString; +class TQComboBox; class ServiceDlg : public KDialogBase { diff --git a/ksysv/TopWidget.h b/ksysv/TopWidget.h index e9a852f..e39a944 100644 --- a/ksysv/TopWidget.h +++ b/ksysv/TopWidget.h @@ -17,7 +17,7 @@ #include -class QCheckBox; +class TQCheckBox; class KAction; class KToggleAction; diff --git a/ksysv/kscroller.h b/ksysv/kscroller.h index dcaba97..ae57487 100644 --- a/ksysv/kscroller.h +++ b/ksysv/kscroller.h @@ -4,7 +4,7 @@ #include -class QScrollBar; +class TQScrollBar; /** * A window that automatically enables scrollbars diff --git a/ksysv/ksv_core.h b/ksysv/ksv_core.h index 6817a5d..d0b9563 100644 --- a/ksysv/ksv_core.h +++ b/ksysv/ksv_core.h @@ -15,8 +15,8 @@ #ifndef KSV_CORE_H #define KSV_CORE_H -class QPushButton; -class QStyleSheet; +class TQPushButton; +class TQStyleSheet; class KAboutData; class KCompletion; class KSVItem; diff --git a/ksysv/ksvdrag.h b/ksysv/ksvdrag.h index bbbb415..c83928c 100644 --- a/ksysv/ksvdrag.h +++ b/ksysv/ksvdrag.h @@ -7,7 +7,7 @@ class KSVData; class KSVItem; -class QWidget; +class TQWidget; class KSVDrag : public QDragObject { diff --git a/ksysv/ksvdraglist.h b/ksysv/ksvdraglist.h index dfc9285..b710c44 100644 --- a/ksysv/ksvdraglist.h +++ b/ksysv/ksvdraglist.h @@ -42,7 +42,7 @@ #include "Data.h" -class QPen; +class TQPen; class KSVAction; class SimpleAction; class KSVDragList; diff --git a/ksysv/trash.h b/ksysv/trash.h index 40925e0..4cbf5c5 100644 --- a/ksysv/trash.h +++ b/ksysv/trash.h @@ -20,7 +20,7 @@ #include // forward declarations -class QLabel; +class TQLabel; class KIconLoader; class KSVItem; class KSVAction; diff --git a/secpolicy/pamview.cpp b/secpolicy/pamview.cpp index 963ce20..90a804a 100644 --- a/secpolicy/pamview.cpp +++ b/secpolicy/pamview.cpp @@ -45,7 +45,7 @@ PamView::PamView(TQWidget *parent, const char *name) { TQHBoxLayout *topl = new TQHBoxLayout(this); - TQVBoxLayout *leftl = new QVBoxLayout; + TQVBoxLayout *leftl = new TQVBoxLayout; topl->addLayout(leftl); TQLabel *label = new TQLabel(i18n("Available services:"), this); diff --git a/secpolicy/pamview.h b/secpolicy/pamview.h index c2a6084..2ebd31c 100644 --- a/secpolicy/pamview.h +++ b/secpolicy/pamview.h @@ -27,8 +27,8 @@ #include -class QListBox; -class QListView; +class TQListBox; +class TQListView; class PamView : public QWidget {