-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 4fe1e66..d62d9f9 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -177,65 +177,65 @@ void KDEPIMConfigWidget::saveStoreSettings() | |||
177 | } | 177 | } |
178 | #endif | 178 | #endif |
179 | KConfig cfg ( path + "/.microkdehome" ); | 179 | KConfig cfg ( path + "/.microkdehome" ); |
180 | cfg.setGroup("Global"); | 180 | cfg.setGroup("Global"); |
181 | cfg.writeEntry( "MICROKDEHOME", url ); | 181 | cfg.writeEntry( "MICROKDEHOME", url ); |
182 | qDebug("cfg.writeEntry( MICROKDEHOME, %s ", url.latin1()); | 182 | qDebug("cfg.writeEntry( MICROKDEHOME, %s ", url.latin1()); |
183 | cfg.sync(); | 183 | cfg.sync(); |
184 | } else { | 184 | } else { |
185 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); | 185 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); |
186 | saveStoreSettings(); | 186 | saveStoreSettings(); |
187 | } | 187 | } |
188 | } | 188 | } |
189 | void KDEPIMConfigWidget::setupExternalAppTab() | 189 | void KDEPIMConfigWidget::setupExternalAppTab() |
190 | { | 190 | { |
191 | QWidget *externalAppsPage = new QWidget( this ); | 191 | QWidget *externalAppsPage = new QWidget( this ); |
192 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), | 192 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), |
193 | KDialog::spacingHintSmall() ); | 193 | KDialog::spacingHintSmall() ); |
194 | 194 | ||
195 | mExternalApps = new QComboBox( externalAppsPage ); | 195 | mExternalApps = new QComboBox( externalAppsPage ); |
196 | 196 | ||
197 | QMap<ExternalAppHandler::Types, QString>::Iterator it; | 197 | QMap<ExternalAppHandler::Types, QString>::Iterator it; |
198 | for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it ) | 198 | for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it ) |
199 | mExternalApps->insertItem( it.data(), it.key() ); | 199 | mExternalApps->insertItem( it.data(), it.key() ); |
200 | 200 | ||
201 | layout->addWidget( mExternalApps ); | 201 | layout->addWidget( mExternalApps ); |
202 | 202 | ||
203 | connect( mExternalApps, SIGNAL( activated( int ) ), | 203 | connect( mExternalApps, SIGNAL( activated( int ) ), |
204 | this, SLOT (externalapp_changed( int ) ) ); | 204 | this, SLOT (externalapp_changed( int ) ) ); |
205 | 205 | ||
206 | 206 | ||
207 | mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage ); | 207 | mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage ); |
208 | QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" ); | 208 | QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" ); |
209 | mExternalAppGroupBox->layout()->setMargin(5); | 209 | mExternalAppGroupBox->layout()->setMargin(4); |
210 | 210 | ||
211 | mClient = new QComboBox( mExternalAppGroupBox ); | 211 | mClient = new QComboBox( mExternalAppGroupBox ); |
212 | boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); | 212 | boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); |
213 | 213 | ||
214 | connect( mClient, SIGNAL( activated( int ) ), | 214 | connect( mClient, SIGNAL( activated( int ) ), |
215 | this, SLOT (client_changed( int ) ) ); | 215 | this, SLOT (client_changed( int ) ) ); |
216 | 216 | ||
217 | QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); | 217 | QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); |
218 | boxLayout->addWidget( lab, 1, 0 ); | 218 | boxLayout->addWidget( lab, 1, 0 ); |
219 | mChannel = new QLineEdit(mExternalAppGroupBox); | 219 | mChannel = new QLineEdit(mExternalAppGroupBox); |
220 | mChannel->setReadOnly(true); | 220 | mChannel->setReadOnly(true); |
221 | boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); | 221 | boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); |
222 | 222 | ||
223 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); | 223 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); |
224 | boxLayout->addWidget( lab, 3, 0 ); | 224 | boxLayout->addWidget( lab, 3, 0 ); |
225 | mMessage = new QLineEdit(mExternalAppGroupBox); | 225 | mMessage = new QLineEdit(mExternalAppGroupBox); |
226 | mMessage->setReadOnly(true); | 226 | mMessage->setReadOnly(true); |
227 | boxLayout->addWidget( mMessage , 4, 0); | 227 | boxLayout->addWidget( mMessage , 4, 0); |
228 | 228 | ||
229 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); | 229 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); |
230 | boxLayout->addWidget( lab, 3, 1 ); | 230 | boxLayout->addWidget( lab, 3, 1 ); |
231 | mParameters = new QLineEdit(mExternalAppGroupBox); | 231 | mParameters = new QLineEdit(mExternalAppGroupBox); |
232 | mParameters->setReadOnly(true); | 232 | mParameters->setReadOnly(true); |
233 | boxLayout->addWidget( mParameters, 4, 1 ); | 233 | boxLayout->addWidget( mParameters, 4, 1 ); |
234 | 234 | ||
235 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); | 235 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); |
236 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); | 236 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); |
237 | 237 | ||
238 | 238 | ||
239 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); | 239 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); |
240 | boxLayout->addWidget( lab, 6, 0 ); | 240 | boxLayout->addWidget( lab, 6, 0 ); |
241 | mMessage2 = new QLineEdit(mExternalAppGroupBox); | 241 | mMessage2 = new QLineEdit(mExternalAppGroupBox); |