1 | /* |
2 | ** |
3 | ** Copyright (C) 1998 by Michael Kropfberger <michael.kropfberger@gmx.net> |
4 | ** |
5 | */ |
6 | |
7 | /* |
8 | ** This program is free software; you can redistribute it and/or modify |
9 | ** it under the terms of the GNU General Public License as published by |
10 | ** the Free Software Foundation; either version 2 of the License, or |
11 | ** (at your option) any later version. |
12 | ** |
13 | ** This program is distributed in the hope that it will be useful, |
14 | ** but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | ** GNU General Public License for more details. |
17 | ** |
18 | ** You should have received a copy of the GNU General Public License |
19 | ** along with this program in a file called COPYING; if not, write to |
20 | ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
21 | ** MA 02110-1301, USA. |
22 | */ |
23 | |
24 | /* |
25 | ** Bug reports and questions can be sent to <kde-devel@kde.org> |
26 | */ |
27 | |
28 | #ifndef CSTDOPTION_H |
29 | #define CSTDOPTION_H |
30 | |
31 | #include <QtCore/QString> |
32 | //class QString; |
33 | |
34 | class CStdOption |
35 | { |
36 | public: |
37 | CStdOption( void ); |
38 | ~CStdOption( void ); |
39 | |
40 | void updateConfiguration( void ); |
41 | void writeConfiguration( void ); |
42 | void writeDefaultFileManager( void ); |
43 | |
44 | QString fileManager( void ); |
45 | |
46 | int updateFrequency( void ); |
47 | bool ( void ); |
48 | bool openFileManager( void ); |
49 | |
50 | void setDefault( void ); |
51 | void setFileManager( const QString &fileManager ); |
52 | void setUpdateFrequency( int frequency ); |
53 | void ( bool ); |
54 | void setOpenFileManager( bool openFileManagerOnMount ); |
55 | |
56 | private: |
57 | static QString mDefaultFileManager; |
58 | static int mDefaultUpdateFrequency; |
59 | QString mFileManager; |
60 | int mUpdateFrequency; |
61 | bool ; |
62 | bool mOpenFileManagerOnMount; |
63 | }; |
64 | |
65 | #endif |
66 | |
67 | |