diff options
author | Timothy Pearson <[email protected]> | 2013-04-13 15:00:04 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-13 15:00:04 -0500 |
commit | 3df12cd87674fdfbc2afa21584e1f3e558fa873b (patch) | |
tree | 43a2c84807185d598b3ed3b74b13c58e94aa7b81 /kicker/taskbar/taskcontainer.h | |
parent | a733ce41cb3edc37426e00708e49fb59eea6acd8 (diff) | |
download | tdebase-3df12cd87674fdfbc2afa21584e1f3e558fa873b.tar.gz tdebase-3df12cd87674fdfbc2afa21584e1f3e558fa873b.zip |
Add menu items to rearrange taskbar entries
Make taskbar drag and drop moving more robust
This resolves Bug 1103
Diffstat (limited to 'kicker/taskbar/taskcontainer.h')
-rw-r--r-- | kicker/taskbar/taskcontainer.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/kicker/taskbar/taskcontainer.h b/kicker/taskbar/taskcontainer.h index 857cd6c45..edaf337b4 100644 --- a/kicker/taskbar/taskcontainer.h +++ b/kicker/taskbar/taskcontainer.h @@ -127,22 +127,28 @@ protected slots: void taskChanged(bool geometryChangeOnly); void showMe(); + void slotTaskMoveBeginning(); + void slotTaskMoveLeft(); + void slotTaskMoveRight(); + void slotTaskMoveEnd(); + private: void checkAttention(const Task::Ptr changed_task = NULL); - TQString sid; - TQTimer animationTimer; - TQTimer dragSwitchTimer; - TQTimer attentionTimer; - TQTimer m_paintEventCompressionTimer; + TQPopupMenu* makeTaskMoveMenu(); + TQString sid; + TQTimer animationTimer; + TQTimer dragSwitchTimer; + TQTimer attentionTimer; + TQTimer m_paintEventCompressionTimer; int currentFrame; PixmapList frames; int attentionState; - TQRect iconRect; - TQPixmap animBg; + TQRect iconRect; + TQPixmap animBg; Task::List tasks; Task::List m_filteredTasks; Task::Ptr lastActivated; - TQPopupMenu* m_menu; + TQPopupMenu* m_menu; Startup::Ptr m_startup; ArrowType arrowType; TaskBar* taskBar; |