summaryrefslogtreecommitdiffstats
path: root/src/klamav.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-14 19:18:24 +0200
committerMavridis Philippe <[email protected]>2021-01-14 19:18:24 +0200
commitc30d5e78ea9e1ed4374535ec90b988d150186272 (patch)
treeff2318614495a2596cd20dbfbeafd6a5f8debfcd /src/klamav.h
parentea73c1340c6e79b8366d0a5e3e6276781b9281f9 (diff)
downloadklamav-c30d5e78ea9e1ed4374535ec90b988d150186272.tar.gz
klamav-c30d5e78ea9e1ed4374535ec90b988d150186272.zip
Implemented slots in Tabs menu and reworked tab mechanism.
The idea is to make some tabs closeable by the user (e.g. one may not need the Virus Browser tab all the time!). The state is stored in the program's configuration file. Some tabs are supposed to be always open (Scan and Update), that is why a way to close them is not programmatically implemented. Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klamav.h')
-rw-r--r--src/klamav.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/klamav.h b/src/klamav.h
index 8c0858c..e539f85 100644
--- a/src/klamav.h
+++ b/src/klamav.h
@@ -17,6 +17,7 @@
class KPrinter;
class TDEToggleAction;
+class TDEPopupMenu;
class KURL;
class TQLineEdit;
class TQComboBox;
@@ -124,6 +125,7 @@ private:
void firstRunWizard();
void createDefaultKlamAVDir(TQString type);
void checkDir(TQString path);
+ void updateTabState(int tabId, bool init);
private:
//KlamavView *m_view;
@@ -156,6 +158,11 @@ private:
Sigtool *sigtool;
Aboutklamav *aboutklamav;
+ TDEPopupMenu *tabs_menu;
+ int showWelcomeTab;
+ int showQuarantineTab;
+ int showDBViewerTab;
+ int showEventsTab;
};
extern Klamav *tdemain;