diff options
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 |