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 /karm/preferences.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 'karm/preferences.h')
-rw-r--r-- | karm/preferences.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/karm/preferences.h b/karm/preferences.h index e917d70bb..adfcd14ec 100644 --- a/karm/preferences.h +++ b/karm/preferences.h @@ -18,26 +18,26 @@ class Preferences :public KDialogBase Q_OBJECT public: - static Preferences *instance( const QString& icsfile = "" ); + static Preferences *instance( const TQString& icsfile = "" ); void disableIdleDetection(); // Retrive information about settings bool detectIdleness() const; int idlenessTimeout() const; - QString iCalFile() const; - QString activeCalendarFile() const; + TQString iCalFile() const; + TQString activeCalendarFile() const; bool autoSave() const; bool logging() const; int autoSavePeriod() const; bool promptDelete() const; - QString setPromptDelete( bool prompt ); + TQString setPromptDelete( bool prompt ); bool displayColumn(int n) const; - QString userRealName() const; + TQString userRealName() const; void emitSignals(); - bool readBoolEntry( const QString& uid ); - void writeEntry( const QString &key, bool value ); - void deleteEntry( const QString &key ); + bool readBoolEntry( const TQString& uid ); + void writeEntry( const TQString &key, bool value ); + void deleteEntry( const TQString &key ); public slots: void showDialog(); @@ -47,7 +47,7 @@ class Preferences :public KDialogBase signals: void detectIdleness(bool on); void idlenessTimeout(int minutes); - void iCalFile(QString); + void iCalFile(TQString); void autoSave(bool on); void autoSavePeriod(int minutes); void setupChanged(); @@ -63,27 +63,27 @@ class Preferences :public KDialogBase void makeBehaviorPage(); void makeStoragePage(); - Preferences( const QString& icsfile = "" ); + Preferences( const TQString& icsfile = "" ); static Preferences *_instance; bool _unsavedChanges; // Widgets - QCheckBox *_doIdleDetectionW, *_doAutoSaveW, *_promptDeleteW; - QCheckBox *_displayTimeW, *_displaySessionW, + TQCheckBox *_doIdleDetectionW, *_doAutoSaveW, *_promptDeleteW; + TQCheckBox *_displayTimeW, *_displaySessionW, *_displayTotalTimeW, *_displayTotalSessionW; - QCheckBox *_loggingW; - QLabel *_idleDetectLabelW, *_displayColumnsLabelW; - QSpinBox *_idleDetectValueW, *_autoSaveValueW; + TQCheckBox *_loggingW; + TQLabel *_idleDetectLabelW, *_displayColumnsLabelW; + TQSpinBox *_idleDetectValueW, *_autoSaveValueW; KURLRequester *_iCalFileW ; // Values bool _doIdleDetectionV, _doAutoSaveV, _promptDeleteV, _loggingV; bool _displayColumnV[4]; int _idleDetectValueV, _autoSaveValueV; - QString _iCalFileV; + TQString _iCalFileV; /** real name of the user, used during ICAL saving */ - QString _userRealName; + TQString _userRealName; }; #endif // KARM_PREFERENCES_H |