author | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
commit | ef1d97a243957180f5ffc3c3b055ffd8bf52e157 (patch) (unidiff) | |
tree | 57ebf97cfd0d324ffcecbfb0c9814745f73d54a5 /libkdepim | |
parent | 0850ade22908615389800c6ee973f5906154d980 (diff) | |
download | kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.zip kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.gz kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.bz2 |
many stribg fixes
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index d097078..6eaf2f2 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -116,17 +116,21 @@ void KDEPIMConfigWidget::setupStoreTab() | |||
116 | { | 116 | { |
117 | QVBox *storePage = new QVBox( this ); | 117 | QVBox *storePage = new QVBox( this ); |
118 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); | 118 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); |
119 | new QLabel( i18n("<b>Set new data storage dir:</b>"), storePage ); | 119 | new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); |
120 | mStoreUrl = new KURLRequester( storePage ); | 120 | mStoreUrl = new KURLRequester( storePage ); |
121 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); | 121 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); |
122 | new QLabel( i18n("Not existing dirs are created automatically"), storePage ); | 122 | new QLabel( i18n("New dirs are created automatically"), storePage ); |
123 | QHBox *bb = new QHBox( storePage ); | 123 | QHBox *bb = new QHBox( storePage ); |
124 | QPushButton * pb = new QPushButton ( i18n("Save settings"), bb ); | 124 | QPushButton * pb; |
125 | if ( QApplication::desktop()->width() < 640 ) | ||
126 | pb = new QPushButton ( i18n("Save"), bb ); | ||
127 | else | ||
128 | pb = new QPushButton ( i18n("Save settings"), bb ); | ||
125 | connect(pb, SIGNAL( clicked() ), this, SLOT ( saveStoreSettings() ) ); | 129 | connect(pb, SIGNAL( clicked() ), this, SLOT ( saveStoreSettings() ) ); |
126 | pb = new QPushButton ( i18n("Save standard"), bb ); | 130 | pb = new QPushButton ( i18n("Save standard"), bb ); |
127 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setStandardStore() ) ); | 131 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setStandardStore() ) ); |
128 | new QLabel( i18n("<b>New settings are used\nafter a restart</b>"), storePage ); | 132 | new QLabel( i18n("<b>New settings are used\nafter a restart</b>"), storePage ); |
129 | new QLabel( i18n("The settings of the storage\ndir is saved in the file\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); | 133 | new QLabel( i18n("Settings are stored in\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); |
130 | tabWidget->addTab( storePage, i18n( "Data storage path" ) ); | 134 | tabWidget->addTab( storePage, i18n( "Data storage path" ) ); |
131 | } | 135 | } |
132 | void KDEPIMConfigWidget::setStandardStore() | 136 | void KDEPIMConfigWidget::setStandardStore() |