1 | /*************************************************************************** |
2 | koptionsdlg.h - description |
3 | ------------------- |
4 | begin : Tue Dec 28 1999 |
5 | copyright : (C) 1999 by François Dupoux |
6 | (C) 2004 Emiliano Gulmini <emi_barbarossa@yahoo.it> |
7 | email : dupoux@dupoux.com |
8 | ***************************************************************************/ |
9 | |
10 | /*************************************************************************** |
11 | * * |
12 | * This program is free software; you can redistribute it and/or modify * |
13 | * it under the terms of the GNU General Public License as published by * |
14 | * the Free Software Foundation; either version 2 of the License, or * |
15 | * (at your option) any later version. * |
16 | * * |
17 | ***************************************************************************/ |
18 | |
19 | #ifndef KOPTIONSDLG_H |
20 | #define KOPTIONSDLG_H |
21 | |
22 | // KDE |
23 | class KConfig; |
24 | |
25 | //local |
26 | #include "configurationclasses.h" |
27 | #include "koptionsdlgs.h" |
28 | #include <ktoolinvocation.h> |
29 | |
30 | /** |
31 | *@author François Dupoux |
32 | */ |
33 | |
34 | class KOptionsDlg : public KOptionsDlgS |
35 | { |
36 | Q_OBJECT |
37 | public: |
38 | KOptionsDlg(RCOptions* info, QWidget *parent, const char *name); |
39 | ~KOptionsDlg(); |
40 | |
41 | private: |
42 | RCOptions* m_option; |
43 | KConfig *m_config; |
44 | |
45 | private slots: |
46 | void slotOK(); |
47 | void slotDefaults(); |
48 | void slotChbBackup(bool b); |
49 | void slotChbConfirmStrings(bool b); |
50 | void slotChbShowConfirmDialog(bool b); |
51 | void slotHelp(){ KToolInvocation::invokeHelp(QString::null, "kfilereplace" ); } //krazy:exclude=nullstrassign for old broken gcc |
52 | |
53 | private: |
54 | void initGUI(); |
55 | void saveRCOptions(); |
56 | void whatsThis(); |
57 | }; |
58 | |
59 | #endif // KOPTIONSDLG_H |
60 | |