diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 16:57:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 18:48:46 +0200 |
commit | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch) | |
tree | 4655c7263ca5c64d23d10167cb459dd9cb253815 /src/trayhoverpopup.h | |
parent | 88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff) | |
download | tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip |
Initial TQt conversion
Diffstat (limited to 'src/trayhoverpopup.h')
-rw-r--r-- | src/trayhoverpopup.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/trayhoverpopup.h b/src/trayhoverpopup.h index ee03f6a..913b778 100644 --- a/src/trayhoverpopup.h +++ b/src/trayhoverpopup.h @@ -40,11 +40,11 @@ #ifndef TRAYHOVERPOPUP_H #define TRAYHOVERPOPUP_H -#include <qtimer.h> +#include <ntqtimer.h> #include <kpassivepopup.h> -class QLabel; -class QPixmap; +class TQLabel; +class TQPixmap; /** @author Joris Guisson <joris.guisson@gmail.com> @@ -55,7 +55,7 @@ class TrayHoverPopup : public KPassivePopup { Q_OBJECT public: - TrayHoverPopup(const QPixmap & pix,QWidget *parent = 0, const char *name = 0 ); + TrayHoverPopup(const TQPixmap & pix,TQWidget *parent = 0, const char *name = 0 ); virtual ~TrayHoverPopup(); /// Cursor entered system tray icon @@ -65,7 +65,7 @@ public: void leaveEvent(); /// Update the text which is shown - void updateText(const QString & msg); + void updateText(const TQString & msg); public slots: void contextMenuAboutToShow(); @@ -80,10 +80,10 @@ private slots: private: - const QPixmap & pix; - QTimer hover_timer; - QTimer show_timer; - QLabel* text; + const TQPixmap & pix; + TQTimer hover_timer; + TQTimer show_timer; + TQLabel* text; bool context_menu_shown; bool cursor_over_icon; }; |