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 /korn/accountmanager.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 'korn/accountmanager.h')
-rw-r--r-- | korn/accountmanager.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/korn/accountmanager.h b/korn/accountmanager.h index 958e5b57c..037887d4e 100644 --- a/korn/accountmanager.h +++ b/korn/accountmanager.h @@ -19,7 +19,7 @@ #ifndef MK_ACCOUNTMANAGER_H #define MK_ACCOUNTMANAGER_H -#include <qobject.h> +#include <tqobject.h> class DCOPDrop; class KornSubjectsDlg; @@ -42,9 +42,9 @@ class AccountManager : public QObject { Q_OBJECT public: /** - * Constructor, parameters are directed to QObject. + * Constructor, parameters are directed to TQObject. */ - AccountManager( QObject * parent = 0, const char * name = 0 ); + AccountManager( TQObject * parent = 0, const char * name = 0 ); /** * Destructor @@ -72,13 +72,13 @@ public: virtual void writeConfig( KConfig* config, const int index ); /** - * This method makes a QString which can be used for a tooltip. + * This method makes a TQString which can be used for a tooltip. * In it, all accounts are summed and the number of new messages of * every account is added. * * @return A string that can be used for the Tooltip of the box. */ - QString getTooltip() const; + TQString getTooltip() const; protected: /** * This function is called when the number of emails has changed. @@ -93,14 +93,14 @@ protected: * This functions sets a new Tooltip. Boxes must override this method * @param tooltip The tooltip to be set. */ - virtual void setTooltip( const QString& tooltip ) = 0; + virtual void setTooltip( const TQString& tooltip ) = 0; /** * This funtion is called if @p command have to be executed. * For example, if new email has arrived, and the user setuped KOrn * to execute a command. Boxes must override this function. */ - virtual void runCommand( const QString& command ) = 0; + virtual void runCommand( const TQString& command ) = 0; /** * This function can be called by classes that inherit this class. @@ -135,17 +135,17 @@ private: int reset; }; - QPtrList< KMailDrop > *_kioList; - QPtrList< DCOPDrop > *_dcopList; + TQPtrList< KMailDrop > *_kioList; + TQPtrList< DCOPDrop > *_dcopList; - QMap< KMailDrop*, Dropinfo* > *_dropInfo; + TQMap< KMailDrop*, Dropinfo* > *_dropInfo; static KornSubjectsDlg *_subjectsDlg; private: int totalMessages(); bool hasNewMessages(); - void playSound( const QString& ); + void playSound( const TQString& ); private slots: void slotChanged( int, KMailDrop* ); void slotValidChanged( bool ); |