summaryrefslogtreecommitdiffstats
path: root/src/tabwidget.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-14 22:21:56 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-14 22:21:56 +0200
commitd5e986620ca1379988aed5c701253516c263904b (patch)
treef2ce28f3d5aeba3197ea11b8c78eeacd0d595acb /src/tabwidget.h
parente03731b27eed5830544609391372482066af5267 (diff)
downloadklamav-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.h5
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;
};