summaryrefslogtreecommitdiffstats
path: root/src/configdialog.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-13 19:26:24 +0200
committerMavridis Philippe <[email protected]>2021-01-13 19:26:24 +0200
commit8c20dc919f7d54eb48fb60f39ba5e1d466a70763 (patch)
tree44d89f278d5dd066603e5ab9c0b270bc8eb4ad51 /src/configdialog.h
downloadklamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.tar.gz
klamav-8c20dc919f7d54eb48fb60f39ba5e1d466a70763.zip
Initial commit
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/configdialog.h')
-rw-r--r--src/configdialog.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/configdialog.h b/src/configdialog.h
new file mode 100644
index 0000000..bc47898
--- /dev/null
+++ b/src/configdialog.h
@@ -0,0 +1,59 @@
+/***************************************************************************
+begin : 2004/02/07
+copyright : (C) Mark Kretschmann
+***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef KLAMAVCONFIGDIALOG_H
+#define KLAMAVCONFIGDIALOG_H
+
+
+#include <qmap.h>
+#include <qvaluelist.h>
+
+#include <kconfigdialog.h>
+
+class QComboBox;
+class QGroupBox;
+class QVBox;
+
+
+class KlamavConfigDialog : public KConfigDialog
+{
+ Q_OBJECT
+
+ public:
+ KlamavConfigDialog( QWidget *parent, const char* name, KConfigSkeleton *config );
+ ~KlamavConfigDialog();
+
+ void addPage( QWidget *page, const QString &itemName, const QString &pixmapName,
+ const QString &header=QString::null, bool manage=true);
+
+ void showPage( const QCString& page );
+
+
+ private:
+
+
+ class ArchiveLimits *m_archivelimits;
+ class ArchiveTypes *m_archivetypes;
+ class SpecialFileTypes *m_specialfiletypes;
+ class AutoScanOptions *m_autoscanoptions;
+ class LogOptions *m_logoptions;
+
+ QValueList<QWidget*> m_pageList;
+ QMap<QString, QString> m_pluginName;
+ QMap<QString, QString> m_pluginKlamavName;
+};
+
+
+#endif // KLAMAVCONFIGDIALOG_H