Diffstat (limited to 'noncore/settings/language/settings.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/language/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/language/settings.h b/noncore/settings/language/settings.h index 22cc987..a157d26 100644 --- a/noncore/settings/language/settings.h +++ b/noncore/settings/language/settings.h | |||
@@ -14,45 +14,47 @@ | |||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef SETTINGS_H | 20 | #ifndef SETTINGS_H |
21 | #define SETTINGS_H | 21 | #define SETTINGS_H |
22 | 22 | ||
23 | 23 | ||
24 | #include <qstrlist.h> | 24 | #include <qstrlist.h> |
25 | #include <qasciidict.h> | 25 | #include <qasciidict.h> |
26 | #include "languagesettingsbase.h" | 26 | #include "languagesettingsbase.h" |
27 | 27 | ||
28 | class QPEDialogListener; | 28 | class QPEDialogListener; |
29 | 29 | ||
30 | class LanguageSettings : public LanguageSettingsBase | 30 | class LanguageSettings : public LanguageSettingsBase |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
34 | public: | 34 | public: |
35 | LanguageSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 35 | LanguageSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
36 | ~LanguageSettings(); | 36 | ~LanguageSettings(); |
37 | 37 | ||
38 | static QString appName() { return QString::fromLatin1("language"); } | ||
39 | |||
38 | protected: | 40 | protected: |
39 | void accept(); | 41 | void accept(); |
40 | void reject(); | 42 | void reject(); |
41 | void done(int); | 43 | void done(int); |
42 | 44 | ||
43 | QStrList langAvail; | 45 | QStrList langAvail; |
44 | 46 | ||
45 | private slots: | 47 | private slots: |
46 | void applyLanguage(); | 48 | void applyLanguage(); |
47 | void reset(); | 49 | void reset(); |
48 | 50 | ||
49 | private: | 51 | private: |
50 | static void setLanguage(const QString&); | 52 | static void setLanguage(const QString&); |
51 | static QString actualLanguage; | 53 | static QString actualLanguage; |
52 | 54 | ||
53 | QPEDialogListener *dl; | 55 | QPEDialogListener *dl; |
54 | }; | 56 | }; |
55 | 57 | ||
56 | 58 | ||
57 | #endif // SETTINGS_H | 59 | #endif // SETTINGS_H |
58 | 60 | ||