diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/taskmanager/tasklmbmenu.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/taskmanager/tasklmbmenu.h')
-rw-r--r-- | kicker/taskmanager/tasklmbmenu.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kicker/taskmanager/tasklmbmenu.h b/kicker/taskmanager/tasklmbmenu.h index 945c3e649..d11091d82 100644 --- a/kicker/taskmanager/tasklmbmenu.h +++ b/kicker/taskmanager/tasklmbmenu.h @@ -25,24 +25,24 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __tasklmbmenu_h__ #define __tasklmbmenu_h__ -#include <qpopupmenu.h> -#include <qtimer.h> +#include <tqpopupmenu.h> +#include <tqtimer.h> #include "taskmanager.h" class TaskMenuItem : public QCustomMenuItem { public: - TaskMenuItem(const QString &text, + TaskMenuItem(const TQString &text, bool active, bool minimized, bool attention); ~TaskMenuItem(); - void paint(QPainter*, const QColorGroup&, bool, bool, int, int, int, int); - QSize sizeHint(); + void paint(TQPainter*, const TQColorGroup&, bool, bool, int, int, int, int); + TQSize sizeHint(); void setAttentionState(bool state) { m_attentionState = state; } private: - QString m_text; + TQString m_text; bool m_isActive; bool m_isMinimized; bool m_demandsAttention; @@ -56,19 +56,19 @@ class KDE_EXPORT TaskLMBMenu : public QPopupMenu Q_OBJECT public: - TaskLMBMenu(const Task::List& list, QWidget *parent = 0, const char *name = 0); + TaskLMBMenu(const Task::List& list, TQWidget *parent = 0, const char *name = 0); protected slots: void dragSwitch(); void attentionTimeout(); protected: - void dragEnterEvent(QDragEnterEvent*); - void dragLeaveEvent(QDragLeaveEvent*); - void dragMoveEvent(QDragMoveEvent*); - void mousePressEvent(QMouseEvent*); - void mouseMoveEvent(QMouseEvent*); - void mouseReleaseEvent(QMouseEvent*); + void dragEnterEvent(TQDragEnterEvent*); + void dragLeaveEvent(TQDragLeaveEvent*); + void dragMoveEvent(TQDragMoveEvent*); + void mousePressEvent(TQMouseEvent*); + void mouseMoveEvent(TQMouseEvent*); + void mouseReleaseEvent(TQMouseEvent*); private: void fillMenu(); @@ -76,10 +76,10 @@ private: Task::List m_tasks; int m_lastDragId; bool m_attentionState; - QTimer* m_attentionTimer; - QTimer* m_dragSwitchTimer; - QPoint m_dragStartPos; - QValueList<TaskMenuItem*> m_attentionMap; + TQTimer* m_attentionTimer; + TQTimer* m_dragSwitchTimer; + TQPoint m_dragStartPos; + TQValueList<TaskMenuItem*> m_attentionMap; }; #endif |