diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/kopete/systemtray.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/kopete/systemtray.h')
-rw-r--r-- | kopete/kopete/systemtray.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/kopete/systemtray.h b/kopete/kopete/systemtray.h index 223cb173..997ebb9b 100644 --- a/kopete/kopete/systemtray.h +++ b/kopete/kopete/systemtray.h @@ -20,8 +20,8 @@ #ifndef SYSTEMTRAY_H #define SYSTEMTRAY_H -#include <qpixmap.h> -#include <qmovie.h> +#include <tqpixmap.h> +#include <tqmovie.h> #include <ksystemtray.h> @@ -47,14 +47,14 @@ public: /** * Retrieve the system tray instance */ - static KopeteSystemTray* systemTray( QWidget* parent = 0, const char* name = 0 ); + static KopeteSystemTray* systemTray( TQWidget* parent = 0, const char* name = 0 ); ~KopeteSystemTray(); // One method, multiple interfaces :-) - void startBlink( const QString &icon ); - void startBlink( const QPixmap &icon ); - void startBlink( const QMovie &movie ); + void startBlink( const TQString &icon ); + void startBlink( const TQPixmap &icon ); + void startBlink( const TQMovie &movie ); void startBlink(); void stopBlink(); @@ -62,8 +62,8 @@ public: KPopupMenu *contextMenu() const { return KSystemTray::contextMenu(); }; protected: - virtual void mousePressEvent( QMouseEvent *e ); - virtual void mouseDoubleClickEvent( QMouseEvent *me ); + virtual void mousePressEvent( TQMouseEvent *e ); + virtual void mouseDoubleClickEvent( TQMouseEvent *me ); virtual void contextMenuAboutToShow( KPopupMenu * ); signals: @@ -79,22 +79,22 @@ private slots: void addBalloon(); private: - KopeteSystemTray( QWidget* parent, const char* name ); - QString squashMessage( const Kopete::Message& msgText ); + KopeteSystemTray( TQWidget* parent, const char* name ); + TQString squashMessage( const Kopete::Message& msgText ); void removeBalloonEvent(Kopete::MessageEvent *); - QTimer *mBlinkTimer; - QPixmap mKopeteIcon; - QPixmap mBlinkIcon; - QMovie mMovie; + TQTimer *mBlinkTimer; + TQPixmap mKopeteIcon; + TQPixmap mBlinkIcon; + TQMovie mMovie; bool mIsBlinkIcon; bool mIsBlinking; static KopeteSystemTray* s_systemTray; - QPtrList<Kopete::MessageEvent> mEventList; - QPtrList<Kopete::MessageEvent> mBalloonEventList; + TQPtrList<Kopete::MessageEvent> mEventList; + TQPtrList<Kopete::MessageEvent> mBalloonEventList; KopeteBalloon *m_balloon; }; |