-rw-r--r-- | korganizer/koprefsdialog.cpp | 3 | ||||
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 5 | ||||
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.h | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index b4b3b27..393e6e6 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -225,17 +225,18 @@ void KOPrefsDialog::setupLocaleTab() | |||
225 | addWidBool(i18n("Quick load/save (w/o Unicode)"), | 225 | addWidBool(i18n("Quick load/save (w/o Unicode)"), |
226 | &(KOPrefs::instance()->mUseQuicksave),topFrame); | 226 | &(KOPrefs::instance()->mUseQuicksave),topFrame); |
227 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 227 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
228 | #endif | 228 | #endif |
229 | #endif | 229 | #endif |
230 | } | 230 | } |
231 | void KOPrefsDialog::showSyncPage() | 231 | void KOPrefsDialog::showSyncPage() |
232 | { | 232 | { |
233 | showPage ( 2 ) ; | 233 | showPage ( 0 ) ; |
234 | kdelibcfg->showTimeZoneTab() ; | ||
234 | 235 | ||
235 | } | 236 | } |
236 | void KOPrefsDialog::setupSyncAlgTab() | 237 | void KOPrefsDialog::setupSyncAlgTab() |
237 | { | 238 | { |
238 | #if 0 | 239 | #if 0 |
239 | QLabel * lab; | 240 | QLabel * lab; |
240 | QFrame *topFrame = addPage(i18n("Sync Prefs"),0,0); | 241 | QFrame *topFrame = addPage(i18n("Sync Prefs"),0,0); |
241 | mSetupSyncAlgTab = topFrame; | 242 | mSetupSyncAlgTab = topFrame; |
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 2819ab1..073ab74 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -99,17 +99,20 @@ KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, | |||
99 | 99 | ||
100 | 100 | ||
101 | setupLocaleTab(); | 101 | setupLocaleTab(); |
102 | setupLocaleDateTab(); | 102 | setupLocaleDateTab(); |
103 | setupTimeZoneTab(); | 103 | setupTimeZoneTab(); |
104 | setupExternalAppTab(); | 104 | setupExternalAppTab(); |
105 | 105 | ||
106 | } | 106 | } |
107 | 107 | void KDEPIMConfigWidget::showTimeZoneTab() | |
108 | { | ||
109 | tabWidget->setCurrentPage ( 2 ) ; | ||
110 | } | ||
108 | void KDEPIMConfigWidget::setupExternalAppTab() | 111 | void KDEPIMConfigWidget::setupExternalAppTab() |
109 | { | 112 | { |
110 | QWidget *externalAppsPage = new QWidget( this ); | 113 | QWidget *externalAppsPage = new QWidget( this ); |
111 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), | 114 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), |
112 | KDialog::spacingHintSmall() ); | 115 | KDialog::spacingHintSmall() ); |
113 | 116 | ||
114 | mExternalApps = new QComboBox( externalAppsPage ); | 117 | mExternalApps = new QComboBox( externalAppsPage ); |
115 | 118 | ||
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.h b/libkdepim/kcmconfigs/kdepimconfigwidget.h index 6f26513..619f3d7 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.h +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.h | |||
@@ -48,16 +48,17 @@ class KDEPIMConfigWidget : public KPrefsWidget | |||
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | 50 | ||
51 | public: | 51 | public: |
52 | KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name = 0 ); | 52 | KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name = 0 ); |
53 | 53 | ||
54 | public slots: | 54 | public slots: |
55 | void textChanged( const QString& text ); | 55 | void textChanged( const QString& text ); |
56 | void showTimeZoneTab(); | ||
56 | 57 | ||
57 | protected: | 58 | protected: |
58 | /** Implement this to read custom configuration widgets. */ | 59 | /** Implement this to read custom configuration widgets. */ |
59 | virtual void usrReadConfig(); | 60 | virtual void usrReadConfig(); |
60 | /** Implement this to write custom configuration widgets. */ | 61 | /** Implement this to write custom configuration widgets. */ |
61 | virtual void usrWriteConfig(); | 62 | virtual void usrWriteConfig(); |
62 | 63 | ||
63 | 64 | ||