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 /kpilot/kpilot/pilotComponent.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 'kpilot/kpilot/pilotComponent.h')
-rw-r--r-- | kpilot/kpilot/pilotComponent.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kpilot/kpilot/pilotComponent.h b/kpilot/kpilot/pilotComponent.h index f96093a2..01c5a3f3 100644 --- a/kpilot/kpilot/pilotComponent.h +++ b/kpilot/kpilot/pilotComponent.h @@ -32,7 +32,7 @@ /** * Base class for any module to KPilot */ -#include <qwidget.h> +#include <tqwidget.h> struct CategoryAppInfo; class QComboBox; @@ -44,9 +44,9 @@ Q_OBJECT friend class KPilotInstaller; public: - PilotComponent(QWidget* parent, + PilotComponent(TQWidget* parent, const char *id, - const QString& dbPath); + const TQString& dbPath); /** * Called when the component is shown in kpilot. It should @@ -83,7 +83,7 @@ public: * "Can't start HotSync. %1" * where %1 is replaced by s. */ - virtual bool preHotSync(QString &s) ; + virtual bool preHotSync(TQString &s) ; /** * Reload data (possibly changed by the hotsync) etc. etc. @@ -105,7 +105,7 @@ protected: * selected, their ID is returned. If nothing is selected, * behave as if "All" is selected. */ - int findSelectedCategory(QComboBox *, + int findSelectedCategory(TQComboBox *, CategoryAppInfo *, bool AllIsUnfiled=false); @@ -119,12 +119,12 @@ protected: * * If info is a NULL pointer, just put "All" in the combo box. */ - void populateCategories(QComboBox *, + void populateCategories(TQComboBox *, CategoryAppInfo *info=0); - void setDBPath(const QString &path) { fDBPath = path; } ; - const QString& dbPath() const { return fDBPath; } ; - void markDBDirty(const QString db); + void setDBPath(const TQString &path) { fDBPath = path; } ; + const TQString& dbPath() const { return fDBPath; } ; + void markDBDirty(const TQString db); public slots: void slotShowComponent(); @@ -133,7 +133,7 @@ signals: void showComponent(PilotComponent *); private: - QString fDBPath; + TQString fDBPath; protected: bool shown; } ; |