From 1c3e6a878f147d063b43948dd8a3f06da195e7ea Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:28:10 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1158452 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdepim/addresseeselector.h | 2 +- libkdepim/addresseeview.h | 2 +- libkdepim/csshelper.h | 2 +- libkdepim/infoextension.h | 2 +- libkdepim/kaddrbook.h | 2 +- libkdepim/kcmdesignerfields.h | 6 +++--- libkdepim/kconfigwizard.h | 2 +- libkdepim/kdateedit.h | 2 +- libkdepim/kfileio.h | 2 +- libkdepim/kimportdialog.h | 4 ++-- libkdepim/kincidencechooser.h | 10 +++++----- libkdepim/komposer/core/core.h | 2 +- libkdepim/komposer/core/prefsmodule.h | 4 ++-- libkdepim/komposer/plugins/default/defaulteditor.h | 2 +- libkdepim/kpimprefs.h | 2 +- libkdepim/kpimurlrequesterdlg.h | 2 +- libkdepim/kprefsdialog.h | 10 +++++----- libkdepim/kresourceprefs.h | 2 +- libkdepim/kscoring.h | 10 +++++----- libkdepim/kscoringeditor.h | 12 ++++++------ libkdepim/ksubscription.h | 6 +++--- libkdepim/kwidgetlister.h | 6 +++--- libkdepim/kxface.h | 4 ++-- libkdepim/ldapsearchdialog.h | 6 +++--- libkdepim/maillistdrag.h | 2 +- libkdepim/pluginloaderbase.h | 2 +- libkdepim/progressdialog.h | 6 +++--- libkdepim/qutf7codecplugin.cpp | 2 +- libkdepim/sendsmsdialog.h | 4 ++-- libkdepim/sidebarextension.h | 2 +- libkdepim/statusbarprogresswidget.h | 10 +++++----- libkdepim/weaver.cpp | 4 ++-- 32 files changed, 68 insertions(+), 68 deletions(-) (limited to 'libkdepim') diff --git a/libkdepim/addresseeselector.h b/libkdepim/addresseeselector.h index 769447fff..e566d4e5e 100644 --- a/libkdepim/addresseeselector.h +++ b/libkdepim/addresseeselector.h @@ -35,7 +35,7 @@ class KComboBox; class KLineEdit; class KListView; -class QSignalMapper; +class TQSignalMapper; namespace KPIM { diff --git a/libkdepim/addresseeview.h b/libkdepim/addresseeview.h index 97c6eebbb..ae7281b5b 100644 --- a/libkdepim/addresseeview.h +++ b/libkdepim/addresseeview.h @@ -34,7 +34,7 @@ class Job; } class KToggleAction; -class QPopupMenu; +class TQPopupMenu; namespace KPIM { diff --git a/libkdepim/csshelper.h b/libkdepim/csshelper.h index 87455cd13..5d668713c 100644 --- a/libkdepim/csshelper.h +++ b/libkdepim/csshelper.h @@ -36,7 +36,7 @@ #include #include -class QString; +class TQString; namespace KPIM { diff --git a/libkdepim/infoextension.h b/libkdepim/infoextension.h index 752ad9913..0a992a154 100644 --- a/libkdepim/infoextension.h +++ b/libkdepim/infoextension.h @@ -25,7 +25,7 @@ #include #include -class QWidget; +class TQWidget; namespace KParts { diff --git a/libkdepim/kaddrbook.h b/libkdepim/kaddrbook.h index 32adac1b5..dfa65823f 100644 --- a/libkdepim/kaddrbook.h +++ b/libkdepim/kaddrbook.h @@ -11,7 +11,7 @@ #include #include -class QWidget; +class TQWidget; class KDE_EXPORT KAddrBookExternal { public: diff --git a/libkdepim/kcmdesignerfields.h b/libkdepim/kcmdesignerfields.h index 98c54b5c3..453730f94 100644 --- a/libkdepim/kcmdesignerfields.h +++ b/libkdepim/kcmdesignerfields.h @@ -27,9 +27,9 @@ class KListView; -class QLabel; -class QListViewItem; -class QPushButton; +class TQLabel; +class TQListViewItem; +class TQPushButton; namespace KPIM { diff --git a/libkdepim/kconfigwizard.h b/libkdepim/kconfigwizard.h index 23dfb9ee8..e5e6337e2 100644 --- a/libkdepim/kconfigwizard.h +++ b/libkdepim/kconfigwizard.h @@ -25,7 +25,7 @@ #include #include -class QListView; +class TQListView; /** @short Configuration wizard base class diff --git a/libkdepim/kdateedit.h b/libkdepim/kdateedit.h index 6fc04bd58..819ce9338 100644 --- a/libkdepim/kdateedit.h +++ b/libkdepim/kdateedit.h @@ -32,7 +32,7 @@ #include "kdatepickerpopup.h" -class QEvent; +class TQEvent; /** A date editing widget that consists of an editable combo box. diff --git a/libkdepim/kfileio.h b/libkdepim/kfileio.h index e3dcc976a..915528888 100644 --- a/libkdepim/kfileio.h +++ b/libkdepim/kfileio.h @@ -13,7 +13,7 @@ #include -class QString; +class TQString; namespace KPIM { diff --git a/libkdepim/kimportdialog.h b/libkdepim/kimportdialog.h index 153da0347..d7dd634eb 100644 --- a/libkdepim/kimportdialog.h +++ b/libkdepim/kimportdialog.h @@ -30,8 +30,8 @@ #include -class QTable; -class QListView; +class TQTable; +class TQListView; class KImportDialog; class KComboBox; diff --git a/libkdepim/kincidencechooser.h b/libkdepim/kincidencechooser.h index 9ecf4cc58..8c569e33e 100644 --- a/libkdepim/kincidencechooser.h +++ b/libkdepim/kincidencechooser.h @@ -35,11 +35,11 @@ #include "calendardiffalgo.h" -class QRadioButton; -class QButtonGroup; -class QVBox; -class QStringList; -class QTextBrowser; +class TQRadioButton; +class TQButtonGroup; +class TQVBox; +class TQStringList; +class TQTextBrowser; class KDialogBase; /** Dialog to change the korganizer configuration. diff --git a/libkdepim/komposer/core/core.h b/libkdepim/komposer/core/core.h index 3719b912c..7d004c962 100644 --- a/libkdepim/komposer/core/core.h +++ b/libkdepim/komposer/core/core.h @@ -30,7 +30,7 @@ namespace KSettings { class Dialog; } -class QWidgetStack; +class TQWidgetStack; namespace Komposer { diff --git a/libkdepim/komposer/core/prefsmodule.h b/libkdepim/komposer/core/prefsmodule.h index 640bb0f10..b213258ba 100644 --- a/libkdepim/komposer/core/prefsmodule.h +++ b/libkdepim/komposer/core/prefsmodule.h @@ -24,8 +24,8 @@ #include #include #include -class QGroupBox; -class QListViewItem; +class TQGroupBox; +class TQListViewItem; class KAboutData; class KComboBox; diff --git a/libkdepim/komposer/plugins/default/defaulteditor.h b/libkdepim/komposer/plugins/default/defaulteditor.h index 158109e1e..a877b762a 100644 --- a/libkdepim/komposer/plugins/default/defaulteditor.h +++ b/libkdepim/komposer/plugins/default/defaulteditor.h @@ -24,7 +24,7 @@ #include "editor.h" -class QTextEdit; +class TQTextEdit; class KFontAction; class KFontSizeAction; class KToggleAction; diff --git a/libkdepim/kpimprefs.h b/libkdepim/kpimprefs.h index 7fcfbd0f8..90d5be866 100644 --- a/libkdepim/kpimprefs.h +++ b/libkdepim/kpimprefs.h @@ -26,7 +26,7 @@ #include #include -class QString; +class TQString; class KDE_EXPORT KPimPrefs : public KConfigSkeleton { diff --git a/libkdepim/kpimurlrequesterdlg.h b/libkdepim/kpimurlrequesterdlg.h index c770fd24d..2d606aa87 100644 --- a/libkdepim/kpimurlrequesterdlg.h +++ b/libkdepim/kpimurlrequesterdlg.h @@ -24,7 +24,7 @@ #include #include -class QWidget; +class TQWidget; class KDE_EXPORT KPimURLRequesterDlg { diff --git a/libkdepim/kprefsdialog.h b/libkdepim/kprefsdialog.h index 2b3d06c22..3c9f85cc5 100644 --- a/libkdepim/kprefsdialog.h +++ b/libkdepim/kprefsdialog.h @@ -36,11 +36,11 @@ class KColorButton; -class QCheckBox; -class QComboBox; -class QLabel; -class QSpinBox; -class QButtonGroup; +class TQCheckBox; +class TQComboBox; +class TQLabel; +class TQSpinBox; +class TQButtonGroup; class QTimeEdit; class KTimeEdit; class KDateEdit; diff --git a/libkdepim/kresourceprefs.h b/libkdepim/kresourceprefs.h index d87a55aad..e36dc608c 100644 --- a/libkdepim/kresourceprefs.h +++ b/libkdepim/kresourceprefs.h @@ -25,7 +25,7 @@ #include #include -class QString; +class TQString; /** This is a base class for all KPrefs objects, where multiple instances want diff --git a/libkdepim/kscoring.h b/libkdepim/kscoring.h index a0cdcf0b3..9623c2285 100644 --- a/libkdepim/kscoring.h +++ b/libkdepim/kscoring.h @@ -40,11 +40,11 @@ #include -class QDomNode; -class QDomDocument; -class QDomElement; -class QTextStream; -class QLabel; +class TQDomNode; +class TQDomDocument; +class TQDomElement; +class TQTextStream; +class TQLabel; /** diff --git a/libkdepim/kscoringeditor.h b/libkdepim/kscoringeditor.h index 1f201be95..92421ccee 100644 --- a/libkdepim/kscoringeditor.h +++ b/libkdepim/kscoringeditor.h @@ -31,12 +31,12 @@ class KComboBox; class KLineEdit; class KIntSpinBox; class KListBox; -class QFrame; -class QLabel; -class QListBoxItem; -class QPushButton; -class QCheckBox; -class QRadioButton; +class TQFrame; +class TQLabel; +class TQListBoxItem; +class TQPushButton; +class TQCheckBox; +class TQRadioButton; class KScoringRule; class KScoringExpression; diff --git a/libkdepim/ksubscription.h b/libkdepim/ksubscription.h index f72455b3f..cb177d20c 100644 --- a/libkdepim/ksubscription.h +++ b/libkdepim/ksubscription.h @@ -35,9 +35,9 @@ class KSubscription; class KLineEdit; -class QLayout; -class QLabel; -class QGridLayout; +class TQLayout; +class TQLabel; +class TQGridLayout; class KAccount; //========================================================================== diff --git a/libkdepim/kwidgetlister.h b/libkdepim/kwidgetlister.h index 472dfc8df..cd1ed6254 100644 --- a/libkdepim/kwidgetlister.h +++ b/libkdepim/kwidgetlister.h @@ -36,9 +36,9 @@ #include #include -class QPushButton; -class QVBoxLayout; -class QHBox; +class TQPushButton; +class TQVBoxLayout; +class TQHBox; /** @short Widget that manages a list of other widgets (incl. 'more', 'fewer' and 'clear' buttons). diff --git a/libkdepim/kxface.h b/libkdepim/kxface.h index 51e76fd89..ca3fb8e0a 100644 --- a/libkdepim/kxface.h +++ b/libkdepim/kxface.h @@ -514,8 +514,8 @@ static const Prob freqs[16] = { static const char HexDigits[] = "0123456789ABCDEF"; -class QImage; -class QString; +class TQImage; +class TQString; namespace KPIM { diff --git a/libkdepim/ldapsearchdialog.h b/libkdepim/ldapsearchdialog.h index fc6a6c8e4..1b3a7cc0e 100644 --- a/libkdepim/ldapsearchdialog.h +++ b/libkdepim/ldapsearchdialog.h @@ -29,9 +29,9 @@ class KComboBox; -class QCheckBox; -class QListView; -class QPushButton; +class TQCheckBox; +class TQListView; +class TQPushButton; namespace KPIM { diff --git a/libkdepim/maillistdrag.h b/libkdepim/maillistdrag.h index 86280826a..929821898 100644 --- a/libkdepim/maillistdrag.h +++ b/libkdepim/maillistdrag.h @@ -111,7 +111,7 @@ public: /* The format for this drag - "x-kmail-drag/message-list" */ static const char* format(); - /* Returns TRUE if the information in e can be decoded into a QString; + /* Returns TRUE if the information in e can be decoded into a TQString; otherwsie returns FALSE */ static bool canDecode( TQMimeSource* e ); diff --git a/libkdepim/pluginloaderbase.h b/libkdepim/pluginloaderbase.h index ba7e12fd3..0c51eb403 100644 --- a/libkdepim/pluginloaderbase.h +++ b/libkdepim/pluginloaderbase.h @@ -28,7 +28,7 @@ #include class KLibrary; -class QStringList; +class TQStringList; namespace KPIM { diff --git a/libkdepim/progressdialog.h b/libkdepim/progressdialog.h index 3daadd365..dc0e67949 100644 --- a/libkdepim/progressdialog.h +++ b/libkdepim/progressdialog.h @@ -40,9 +40,9 @@ #include "overlaywidget.h" #include -class QProgressBar; -class QScrollView; -class QFrame; +class TQProgressBar; +class TQScrollView; +class TQFrame; namespace KPIM { class ProgressItem; diff --git a/libkdepim/qutf7codecplugin.cpp b/libkdepim/qutf7codecplugin.cpp index 0564b4142..e6dcf7c66 100644 --- a/libkdepim/qutf7codecplugin.cpp +++ b/libkdepim/qutf7codecplugin.cpp @@ -29,7 +29,7 @@ #include #include -class QTextCodec; +class TQTextCodec; // ######### This file isn't compiled currently diff --git a/libkdepim/sendsmsdialog.h b/libkdepim/sendsmsdialog.h index a7ebe3a70..bd5b0ea92 100644 --- a/libkdepim/sendsmsdialog.h +++ b/libkdepim/sendsmsdialog.h @@ -24,8 +24,8 @@ #include -class QLabel; -class QTextEdit; +class TQLabel; +class TQTextEdit; class SendSMSDialog : public KDialogBase { diff --git a/libkdepim/sidebarextension.h b/libkdepim/sidebarextension.h index e65d3c94a..3a7ffbe5d 100644 --- a/libkdepim/sidebarextension.h +++ b/libkdepim/sidebarextension.h @@ -24,7 +24,7 @@ #include #include -class QWidget; +class TQWidget; namespace KParts { diff --git a/libkdepim/statusbarprogresswidget.h b/libkdepim/statusbarprogresswidget.h index ed06b2b85..d32a37b84 100644 --- a/libkdepim/statusbarprogresswidget.h +++ b/libkdepim/statusbarprogresswidget.h @@ -40,11 +40,11 @@ class KMMainWidget; class KProgress; -class QPushButton; -class QWidgetStack; -class QBoxLayout; -class QLabel; -class QTimer; +class TQPushButton; +class TQWidgetStack; +class TQBoxLayout; +class TQLabel; +class TQTimer; namespace KPIM { class SSLLabel; diff --git a/libkdepim/weaver.cpp b/libkdepim/weaver.cpp index 20e44df42..36bb8fe00 100644 --- a/libkdepim/weaver.cpp +++ b/libkdepim/weaver.cpp @@ -108,7 +108,7 @@ namespace ThreadWeaver { void Job::triggerSPR () { m_mutex->lock (); - m_wc = new QWaitCondition; + m_wc = new TQWaitCondition; m_mutex->unlock (); thread()->post (KPIM::ThreadWeaver::Event::JobSPR, this); @@ -123,7 +123,7 @@ namespace ThreadWeaver { void Job::triggerAPR () { m_mutex->lock (); - m_wc = new QWaitCondition; + m_wc = new TQWaitCondition; m_mutex->unlock (); thread()->post (KPIM::ThreadWeaver::Event::JobAPR, this); -- cgit v1.2.1