summaryrefslogtreecommitdiffstats
path: root/src/configdialog.h
blob: a943492e7c69f11fe3213ec5a3a837b697c8cb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/***************************************************************************
begin                : 2004/02/07
copyright            : (C) Mark Kretschmann
email                : markey@web.de
***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 <tqmap.h>
#include <tqvaluelist.h>

#include <tdeconfigdialog.h>

class TQComboBox;
class TQGroupBox;
class TQVBox;


class KlamavConfigDialog : public TDEConfigDialog
{
    Q_OBJECT

    public:
        KlamavConfigDialog( TQWidget *parent, const char* name, TDEConfigSkeleton *config );
        ~KlamavConfigDialog();

        void addPage( TQWidget *page, const TQString &itemName, const TQString &pixmapName,
                      const TQString &header=TQString::null, bool manage=true);

        void showPage( const TQCString& page );

    public slots:
        void slotToggleClamdscan( bool on );
        void slotToggleKlamOnAcc( bool on );
        void slotToggleKlamOnAccCheckbox();

    private:
        bool clamdscan;

	class KlamBackend *m_klambackend;
        class ArchiveOptions  *m_archives;
        class SpecialFileTypes     *m_specialfiletypes;
	class Sigtool	*m_emailprotection;
	class KlamOnAccConfig *m_klamonacc;
	class LogOptions     *m_logoptions;

        TQValueList<TQWidget*> m_pageList;
        TQMap<TQString, TQString> m_pluginName;
        TQMap<TQString, TQString> m_pluginKlamavName;

    private slots:
        void applySettings();
};


#endif // KLAMAVCONFIGDIALOG_H