author | zautrix <zautrix> | 2005-06-29 14:28:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-29 14:28:51 (UTC) |
commit | e0fa858c284dddf0d47146e666c4ece7158487be (patch) (unidiff) | |
tree | 65ffa534d76019376095d4ffa1a36faee4e25880 /korganizer/koprefsdialog.h | |
parent | f29d4de96b6fd334ff64f11731f5d4899b69f124 (diff) | |
download | kdepimpi-e0fa858c284dddf0d47146e666c4ece7158487be.zip kdepimpi-e0fa858c284dddf0d47146e666c4ece7158487be.tar.gz kdepimpi-e0fa858c284dddf0d47146e666c4ece7158487be.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/koprefsdialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/koprefsdialog.h b/korganizer/koprefsdialog.h index 80d6545..baa6cf9 100644 --- a/korganizer/koprefsdialog.h +++ b/korganizer/koprefsdialog.h | |||
@@ -45,96 +45,97 @@ class QStringList; | |||
45 | /** Dialog to change the korganizer configuration. | 45 | /** Dialog to change the korganizer configuration. |
46 | */ | 46 | */ |
47 | class KOPrefsDialog : public KPrefsDialog | 47 | class KOPrefsDialog : public KPrefsDialog |
48 | { | 48 | { |
49 | Q_OBJECT | 49 | Q_OBJECT |
50 | public: | 50 | public: |
51 | /** Initialize dialog and pages */ | 51 | /** Initialize dialog and pages */ |
52 | KOPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); | 52 | KOPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false); |
53 | ~KOPrefsDialog(); | 53 | ~KOPrefsDialog(); |
54 | 54 | ||
55 | public slots: | 55 | public slots: |
56 | void showPrinterTab(); | 56 | void showPrinterTab(); |
57 | 57 | ||
58 | /** Update controls for categories */ | 58 | /** Update controls for categories */ |
59 | void updateCategories(); | 59 | void updateCategories(); |
60 | protected slots: | 60 | protected slots: |
61 | void selectSoundFile(); | 61 | void selectSoundFile(); |
62 | void setCategoryColor(); | 62 | void setCategoryColor(); |
63 | void updateCategoryColor(); | 63 | void updateCategoryColor(); |
64 | void toggleEmailSettings(bool); | 64 | void toggleEmailSettings(bool); |
65 | 65 | ||
66 | //additional emails | 66 | //additional emails |
67 | void addItem(); | 67 | void addItem(); |
68 | void removeItem(); | 68 | void removeItem(); |
69 | void updateItem(); | 69 | void updateItem(); |
70 | void updateInput(); | 70 | void updateInput(); |
71 | 71 | ||
72 | protected: | 72 | protected: |
73 | void usrReadConfig(); | 73 | void usrReadConfig(); |
74 | void usrWriteConfig(); | 74 | void usrWriteConfig(); |
75 | void setupGlobalTab(); | 75 | void setupGlobalTab(); |
76 | 76 | ||
77 | void setupMainTab(); | 77 | void setupMainTab(); |
78 | void setupTimeTab(); | 78 | void setupTimeTab(); |
79 | void setupLocaleTab(); | 79 | void setupLocaleTab(); |
80 | void setupLocaleDateTab(); | 80 | void setupLocaleDateTab(); |
81 | void setupFontsTab(); | 81 | void setupFontsTab(); |
82 | void setupColorsTab(); | 82 | void setupColorsTab(); |
83 | void setupViewsTab(); | 83 | void setupViewsTab(); |
84 | void setupDisplayTab(); | 84 | void setupDisplayTab(); |
85 | void setupPrinterTab(); | 85 | void setupPrinterTab(); |
86 | void setupGroupSchedulingTab(); | 86 | void setupGroupSchedulingTab(); |
87 | void setupGroupAutomationTab(); | 87 | void setupGroupAutomationTab(); |
88 | 88 | ||
89 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); | 89 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); |
90 | 90 | ||
91 | 91 | ||
92 | private: | 92 | private: |
93 | QColor mCatDefaultColor; | ||
93 | KPrefsDialogWidBool *mEnableGroupScheduling; | 94 | KPrefsDialogWidBool *mEnableGroupScheduling; |
94 | KPrefsDialogWidBool *mEnableProjectView; | 95 | KPrefsDialogWidBool *mEnableProjectView; |
95 | 96 | ||
96 | QFrame *mPrinterTab; | 97 | QFrame *mPrinterTab; |
97 | 98 | ||
98 | QLineEdit *nameEdit; | 99 | QLineEdit *nameEdit; |
99 | QLineEdit *emailEdit; | 100 | QLineEdit *emailEdit; |
100 | 101 | ||
101 | QComboBox *timeCombo; | 102 | QComboBox *timeCombo; |
102 | QComboBox *tzCombo; | 103 | QComboBox *tzCombo; |
103 | 104 | ||
104 | // widgets holding preferences data | 105 | // widgets holding preferences data |
105 | QLineEdit *mNameEdit; | 106 | QLineEdit *mNameEdit; |
106 | QLineEdit *mEmailEdit; | 107 | QLineEdit *mEmailEdit; |
107 | QLabel *mNameLabel; | 108 | QLabel *mNameLabel; |
108 | QLabel *mEmailLabel; | 109 | QLabel *mEmailLabel; |
109 | QLineEdit *mAdditionalEdit; | 110 | QLineEdit *mAdditionalEdit; |
110 | QSpinBox *mAutoSaveIntervalSpin; | 111 | QSpinBox *mAutoSaveIntervalSpin; |
111 | QSpinBox *mPrioSpin; | 112 | QSpinBox *mPrioSpin; |
112 | // QListView *mAMails; | 113 | // QListView *mAMails; |
113 | QLineEdit *aEmailsEdit; | 114 | QLineEdit *aEmailsEdit; |
114 | 115 | ||
115 | QComboBox *mTimeZoneCombo; | 116 | QComboBox *mTimeZoneCombo; |
116 | QStringList tzonenames; | 117 | QStringList tzonenames; |
117 | QSpinBox *mStartTimeSpin; | 118 | QSpinBox *mStartTimeSpin; |
118 | QSpinBox *mDefaultDurationSpin; | 119 | QSpinBox *mDefaultDurationSpin; |
119 | QComboBox *mAlarmTimeCombo; | 120 | QComboBox *mAlarmTimeCombo; |
120 | 121 | ||
121 | QComboBox *mCategoryCombo; | 122 | QComboBox *mCategoryCombo; |
122 | KColorButton *mCategoryButton; | 123 | KColorButton *mCategoryButton; |
123 | QDict<QColor> mCategoryDict; | 124 | QDict<QColor> mCategoryDict; |
124 | 125 | ||
125 | QSlider *mHourSizeSlider; | 126 | QSlider *mHourSizeSlider; |
126 | 127 | ||
127 | QSpinBox *mNextXDaysSpin; | 128 | QSpinBox *mNextXDaysSpin; |
128 | QSpinBox *mWhatsNextSpin; | 129 | QSpinBox *mWhatsNextSpin; |
129 | 130 | ||
130 | QLineEdit * mRemoteIPEdit; | 131 | QLineEdit * mRemoteIPEdit; |
131 | QLineEdit * mRemoteUser; | 132 | QLineEdit * mRemoteUser; |
132 | QLineEdit * mRemotePassWd; | 133 | QLineEdit * mRemotePassWd; |
133 | QLineEdit * mRemoteFile; | 134 | QLineEdit * mRemoteFile; |
134 | QLineEdit * mLocalTempFile; | 135 | QLineEdit * mLocalTempFile; |
135 | QWidget* mSetupSyncAlgTab; | 136 | QWidget* mSetupSyncAlgTab; |
136 | QLineEdit * mUserDateFormatLong; | 137 | QLineEdit * mUserDateFormatLong; |
137 | QLineEdit * mUserDateFormatShort; | 138 | QLineEdit * mUserDateFormatShort; |
138 | 139 | ||
139 | QSpinBox *mTimezoneOffsetSpin; | 140 | QSpinBox *mTimezoneOffsetSpin; |
140 | QSpinBox *mDaylightsavingStart; | 141 | QSpinBox *mDaylightsavingStart; |