Diffstat (limited to 'libkdepim/kcmconfigs/kdepimconfigwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.h b/libkdepim/kcmconfigs/kdepimconfigwidget.h index 619f3d7..c545207 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.h +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.h | |||
@@ -19,32 +19,33 @@ | |||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef KDEPIMCONFIGWIDGET_H | 31 | #ifndef KDEPIMCONFIGWIDGET_H |
32 | #define KDEPIMCONFIGWIDGET_H | 32 | #define KDEPIMCONFIGWIDGET_H |
33 | 33 | ||
34 | #include <kprefswidget.h> | 34 | #include <kprefswidget.h> |
35 | #include <kio/kfile/kurlrequester.h> | ||
35 | #include <qmap.h> | 36 | #include <qmap.h> |
36 | 37 | ||
37 | #include "externalapphandler.h" | 38 | #include "externalapphandler.h" |
38 | 39 | ||
39 | 40 | ||
40 | class QComboBox; | 41 | class QComboBox; |
41 | class QLineEdit; | 42 | class QLineEdit; |
42 | class KPimGlobalPrefs; | 43 | class KPimGlobalPrefs; |
43 | class QGroupBox; | 44 | class QGroupBox; |
44 | class QTabWidget; | 45 | class QTabWidget; |
45 | class KDateEdit; | 46 | class KDateEdit; |
46 | 47 | ||
47 | class KDEPIMConfigWidget : public KPrefsWidget | 48 | class KDEPIMConfigWidget : public KPrefsWidget |
48 | { | 49 | { |
49 | Q_OBJECT | 50 | Q_OBJECT |
50 | 51 | ||
@@ -55,38 +56,42 @@ class KDEPIMConfigWidget : public KPrefsWidget | |||
55 | void textChanged( const QString& text ); | 56 | void textChanged( const QString& text ); |
56 | void showTimeZoneTab(); | 57 | void showTimeZoneTab(); |
57 | 58 | ||
58 | protected: | 59 | protected: |
59 | /** Implement this to read custom configuration widgets. */ | 60 | /** Implement this to read custom configuration widgets. */ |
60 | virtual void usrReadConfig(); | 61 | virtual void usrReadConfig(); |
61 | /** Implement this to write custom configuration widgets. */ | 62 | /** Implement this to write custom configuration widgets. */ |
62 | virtual void usrWriteConfig(); | 63 | virtual void usrWriteConfig(); |
63 | 64 | ||
64 | 65 | ||
65 | private slots: | 66 | private slots: |
66 | // void configureExtension(); | 67 | // void configureExtension(); |
67 | // void selectionChanged( QListViewItem* ); | 68 | // void selectionChanged( QListViewItem* ); |
68 | // void itemClicked( QListViewItem* ); | 69 | // void itemClicked( QListViewItem* ); |
69 | void client_changed( int newClient ); | 70 | void client_changed( int newClient ); |
70 | void externalapp_changed( int newApp ); | 71 | void externalapp_changed( int newApp ); |
72 | void saveStoreSettings(); | ||
73 | void setStandardStore(); | ||
71 | 74 | ||
72 | private: | 75 | private: |
73 | void setupExternalAppTab(); | 76 | void setupExternalAppTab(); |
74 | void setupLocaleDateTab(); | 77 | void setupLocaleDateTab(); |
75 | void setupLocaleTab(); | 78 | void setupLocaleTab(); |
76 | void setupTimeZoneTab(); | 79 | void setupTimeZoneTab(); |
80 | void setupStoreTab(); | ||
81 | KURLRequester* mStoreUrl; | ||
77 | 82 | ||
78 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); | 83 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); |
79 | 84 | ||
80 | 85 | ||
81 | void saveEditFieldSettings(); | 86 | void saveEditFieldSettings(); |
82 | void updateClientWidgets(); | 87 | void updateClientWidgets(); |
83 | 88 | ||
84 | QTabWidget *tabWidget; | 89 | QTabWidget *tabWidget; |
85 | 90 | ||
86 | 91 | ||
87 | QLineEdit* mUserDateFormatShort; | 92 | QLineEdit* mUserDateFormatShort; |
88 | QLineEdit* mUserDateFormatLong; | 93 | QLineEdit* mUserDateFormatLong; |
89 | QComboBox* mTimeZoneCombo; | 94 | QComboBox* mTimeZoneCombo; |
90 | KDateEdit* mStartDateSavingEdit; | 95 | KDateEdit* mStartDateSavingEdit; |
91 | KDateEdit* mEndDateSavingEdit; | 96 | KDateEdit* mEndDateSavingEdit; |
92 | 97 | ||