diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 22:21:56 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 22:21:56 +0200 |
commit | d5e986620ca1379988aed5c701253516c263904b (patch) | |
tree | f2ce28f3d5aeba3197ea11b8c78eeacd0d595acb /src/tabwidget.h | |
parent | e03731b27eed5830544609391372482066af5267 (diff) | |
download | klamav-d5e986620ca1379988aed5c701253516c263904b.tar.gz klamav-d5e986620ca1379988aed5c701253516c263904b.zip |
Implemented tabs context menu
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/tabwidget.h')
-rw-r--r-- | src/tabwidget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabwidget.h b/src/tabwidget.h index c16a2f8..1e2490b 100644 --- a/src/tabwidget.h +++ b/src/tabwidget.h @@ -27,7 +27,7 @@ class TabWidget:public KTabWidget void addFrame(Frame *f); Frame *currentFrame(); void removeFrame(Frame *f); - + unsigned int tabBarWidthForMaxChars( uint maxLength ); void setTitle( const TQString &title , TQWidget* sender); @@ -42,6 +42,8 @@ class TabWidget:public KTabWidget private slots: + void slotMoveTabLeft(); + void slotMoveTabRight(); void slotCloseTab(); void slotCloseRequest(TQWidget* widget); void contextMenu (int item, const TQPoint &p); @@ -51,6 +53,7 @@ class TabWidget:public KTabWidget TQPtrDict<Frame> m_frames; unsigned int m_CurrentMaxLength; + int currentItemId; TQWidget* currentItem; }; |