diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kontact/src/mainwindow.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact/src/mainwindow.h')
-rw-r--r-- | kontact/src/mainwindow.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kontact/src/mainwindow.h b/kontact/src/mainwindow.h index a96d5bf6b..5fe50a22f 100644 --- a/kontact/src/mainwindow.h +++ b/kontact/src/mainwindow.h @@ -24,9 +24,9 @@ #ifndef KONTACT_MAINWINDOW_H #define KONTACT_MAINWINDOW_H -#include <qguardedptr.h> -#include <qptrlist.h> -#include <qwidgetstack.h> +#include <tqguardedptr.h> +#include <tqptrlist.h> +#include <tqwidgetstack.h> #include <kparts/mainwindow.h> #include <kparts/part.h> @@ -60,7 +60,7 @@ class Plugin; class SidePaneBase; class AboutDialog; -typedef QValueList<Kontact::Plugin*> PluginList; +typedef TQValueList<Kontact::Plugin*> PluginList; class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public KontactIface { @@ -71,18 +71,18 @@ class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public Kont ~MainWindow(); // KDCOPServiceStarter interface - virtual int startServiceFor( const QString& serviceType, - const QString& constraint = QString::null, - const QString& preferences = QString::null, - QString *error = 0, QCString* dcopService = 0, + virtual int startServiceFor( const TQString& serviceType, + const TQString& constraint = TQString::null, + const TQString& preferences = TQString::null, + TQString *error = 0, TQCString* dcopService = 0, int flags = 0 ); virtual PluginList pluginList() const { return mPlugins; } - void setActivePluginModule( const QString & ); + void setActivePluginModule( const TQString & ); public slots: virtual void selectPlugin( Kontact::Plugin *plugin ); - virtual void selectPlugin( const QString &pluginName ); + virtual void selectPlugin( const TQString &pluginName ); void updateConfig(); @@ -97,12 +97,12 @@ class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public Kont void slotShowTip(); void slotRequestFeature(); void slotConfigureProfiles(); - void slotLoadProfile( const QString& id ); - void slotSaveToProfile( const QString& id ); + void slotLoadProfile( const TQString& id ); + void slotSaveToProfile( const TQString& id ); void slotNewToolbarConfig(); void slotShowIntroduction(); void showAboutDialog(); - void slotShowStatusMsg( const QString& ); + void slotShowStatusMsg( const TQString& ); void activatePluginModule(); void slotOpenUrl( const KURL &url ); @@ -124,8 +124,8 @@ class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public Kont virtual bool queryClose(); virtual void readProperties( KConfig *config ); virtual void saveProperties( KConfig *config ); - void paintAboutScreen( const QString& msg ); - static QString introductionString(); + void paintAboutScreen( const TQString& msg ); + static TQString introductionString(); KToolBar* findToolBar(const char* name); private slots: @@ -135,27 +135,27 @@ class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public Kont void configureToolbars(); private: - QFrame *mTopWidget; + TQFrame *mTopWidget; - QSplitter *mSplitter; + TQSplitter *mSplitter; KToolBarPopupAction *mNewActions; KToolBarPopupAction *mSyncActions; SidePaneBase *mSidePane; - QWidgetStack *mPartsStack; + TQWidgetStack *mPartsStack; Plugin *mCurrentPlugin; KParts::PartManager *mPartManager; PluginList mPlugins; PluginList mDelayedPreload; - QValueList<KPluginInfo*> mPluginInfos; + TQValueList<KPluginInfo*> mPluginInfos; KHTMLPart *mIntroPart; KRSqueezedTextLabel* mStatusMsgLabel; KPIM::StatusbarProgressWidget *mLittleProgress; - QString mActiveModule; + TQString mActiveModule; - QMap<QString, QGuardedPtr<QWidget> > mFocusWidgets; + TQMap<TQString, TQGuardedPtr<TQWidget> > mFocusWidgets; AboutDialog *mAboutDialog; bool mReallyClose; |