summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-24 23:30:30 (UTC)
committer zautrix <zautrix>2005-06-24 23:30:30 (UTC)
commit184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8 (patch) (unidiff)
tree96074dff5dddd80afa2773f0bf573e0155f73293
parent3dbc82b2711811450b77b85a5fd85744a61d0a2c (diff)
downloadkdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.zip
kdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.tar.gz
kdepimpi-184833db0d1bcb63e7d4bd5945ccdc0e6b92f7b8.tar.bz2
sec fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt3
-rw-r--r--bin/kdepim/pwmanager/germantranslation.txt6
-rw-r--r--pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp27
3 files changed, 22 insertions, 14 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt
index 2aac9ff..7478ffd 100644
--- a/bin/kdepim/WhatsNew.txt
+++ b/bin/kdepim/WhatsNew.txt
@@ -5,6 +5,9 @@ Info about the changes in new versions of KDE-Pim/Pi
5KO/Pi: 5KO/Pi:
6Fixed some problems of the new search options in the search dialog. 6Fixed some problems of the new search options in the search dialog.
7 7
8PwM/Pi:
9Added "sec" to the timeout config settings to make it clear the timeout values are seconds.
10
8********** VERSION 2.1.8 ************ 11********** VERSION 2.1.8 ************
9 12
10KO/Pi: 13KO/Pi:
diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt
index 255f2eb..d38eecf 100644
--- a/bin/kdepim/pwmanager/germantranslation.txt
+++ b/bin/kdepim/pwmanager/germantranslation.txt
@@ -283,8 +283,8 @@
283{ "Tiger (192 bit)","Tiger (192 bit)" }, 283{ "Tiger (192 bit)","Tiger (192 bit)" },
284{ "Permissions:","Zugriffsrechte:" }, 284{ "Permissions:","Zugriffsrechte:" },
285{ "Make backup before saving","Mache Backup vor dem Speichern" }, 285{ "Make backup before saving","Mache Backup vor dem Speichern" },
286{ "Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:","Passwort Timeout\n(Timeout um das Passwort\nim Speicher zu halten,\nso dass es nicht noch mal\neingegeben werden muß.)\n[Setze auf 0 zum deaktivieren]:" }, 286{ "<b>Password timeout</b> (timeout to hold password in memory,so you don't have to re-enter it,if you already have entered it) [set to 0 to disable]:","<b>Passwort Timeout</b> (Timeout um das Passwort im Speicher zu halten,so dass es nicht noch mal eingegeben werden muß.) [Setze auf 0 zum deaktivieren]:" },
287{ "Auto-lock timeout\n(auto lock document after this\namount of seconds)\n[set to 0 to disable]:","(Total-)Sperr-Timeout\n(Sperre Dokument total nach\ndieser Anzahl Sekunden)\n[Setze auf 0 zum deaktivieren]:" }, 287{ "<b>Auto-lock timeout</b> (auto lock document after this\namount of seconds) [set to 0 to disable]:","<b>(Total-)Sperr-Timeout</b> (Sperre Dokument total nach dieser Anzahl Sekunden) [Setze auf 0 zum deaktivieren]:" },
288{ "deep-lock on autolock","Sperre total beim Sperr-Timeout" }, 288{ "deep-lock on autolock","Sperre total beim Sperr-Timeout" },
289{ "open deeplocked","Öffne total gesperrt" }, 289{ "open deeplocked","Öffne total gesperrt" },
290{ "Favourite browser:","Bevorzugter Browser:" }, 290{ "Favourite browser:","Bevorzugter Browser:" },
@@ -369,7 +369,7 @@
369{ "Choose action","Wähle Aktion" }, 369{ "Choose action","Wähle Aktion" },
370{ "&Configure PwM/Pi...","Konfiguriere PwM/Pi..." }, 370{ "&Configure PwM/Pi...","Konfiguriere PwM/Pi..." },
371{ "Global Settings...","Globale Einstellungen..." }, 371{ "Global Settings...","Globale Einstellungen..." },
372{ "","" }, 372{ " sec"," Sek" },
373{ "","" }, 373{ "","" },
374{ "","" }, 374{ "","" },
375{ "","" }, 375{ "","" },
diff --git a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
index c1ca536..2c5189c 100644
--- a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
+++ b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
@@ -158,22 +158,27 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
158 158
159 i = 0; 159 i = 0;
160 pwTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "pwTimeoutSpinBox" ); 160 pwTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "pwTimeoutSpinBox" );
161 QLabel* timeoutLabel = new QLabel(pwTimeoutSpinBox, i18n("Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:"), timeoutPage); 161 QLabel* timeoutLabel = new QLabel(pwTimeoutSpinBox, i18n("<b>Password timeout</b> (timeout to hold password in memory,so you don't have to re-enter it,if you already have entered it) [set to 0 to disable]:"), timeoutPage);
162 timeoutLayout->addMultiCellWidget(timeoutLabel,i, i, 0 ,0); 162 timeoutLayout->addMultiCellWidget(timeoutLabel, i, i, 0 ,1);
163 timeoutLayout->addWidget(pwTimeoutSpinBox,i,1);
164 ++i; 163 ++i;
165 164 timeoutLayout->addMultiCellWidget(pwTimeoutSpinBox,i,i,0,1);
165 ++i;
166 pwTimeoutSpinBox->setSuffix ( i18n(" sec") );
166 lockTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "lockTimeoutSpinBox" ); 167 lockTimeoutSpinBox = new QSpinBox( 0,600,10,timeoutPage, "lockTimeoutSpinBox" );
167 QLabel* lockTimeoutLabel = new QLabel(lockTimeoutSpinBox, i18n("Auto-lock timeout\n(auto lock document after this\namount of seconds)\n[set to 0 to disable]:"), timeoutPage); 168 QLabel* lockTimeoutLabel = new QLabel(lockTimeoutSpinBox, i18n("<b>Auto-lock timeout</b> (auto lock document after this\namount of seconds) [set to 0 to disable]:"), timeoutPage);
168 timeoutLayout->addMultiCellWidget(lockTimeoutLabel,i, i, 0 ,0); 169 timeoutLayout->addMultiCellWidget(lockTimeoutLabel,i, i, 0 ,1);
169 timeoutLayout->addWidget(lockTimeoutSpinBox,i,1); 170 ++i;
171 timeoutLayout->addMultiCellWidget(lockTimeoutSpinBox,i,i,0,1);
172 lockTimeoutSpinBox->setSuffix ( i18n(" sec") );
170 ++i; 173 ++i;
171 174
172 sb = addWidBool(i18n("deep-lock on autolock"), 175 sb = addWidBool(i18n("deep-lock on autolock"),
173 &(prefs->mAutoDeeplock),timeoutPage); 176 &(prefs->mAutoDeeplock),timeoutPage);
174 timeoutLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1); 177 timeoutLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1);
175 ++i; 178 ++i;
176 179 sb = addWidBool(i18n("Open document with passwords unlocked"),&(prefs->mUnlockOnOpen),timeoutPage);
180 timeoutLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1);
181 ++i;
177 182
178 // Autostart page 183 // Autostart page
179 ////////////////////////////////////////////////////// 184 //////////////////////////////////////////////////////
@@ -214,7 +219,7 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
214 externalappLayout->addWidget(xtermLineEdit,i,1); 219 externalappLayout->addWidget(xtermLineEdit,i,1);
215 ++i; 220 ++i;
216 221
217 222#if 0
218 // miscelaneous page 223 // miscelaneous page
219 ////////////////////////////////////////////////////// 224 //////////////////////////////////////////////////////
220 QWidget *miscPage = new QWidget( this ); 225 QWidget *miscPage = new QWidget( this );
@@ -252,14 +257,14 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
252 miscLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1); 257 miscLayout->addMultiCellWidget(sb->checkBox(), i,i,0,1);
253 ++i; 258 ++i;
254 */ 259 */
255 260#endif
256 261
257 tabWidget->addTab( windowStylePage, i18n( "Look && feel" ) ); 262 tabWidget->addTab( windowStylePage, i18n( "Look && feel" ) );
258 tabWidget->addTab( filePage, i18n( "File" ) ); 263 tabWidget->addTab( filePage, i18n( "File" ) );
259 tabWidget->addTab( timeoutPage, i18n( "Timeout" ) ); 264 tabWidget->addTab( timeoutPage, i18n( "Timeout" ) );
260 tabWidget->addTab( autostartPage, i18n( "Autostart" ) ); 265 tabWidget->addTab( autostartPage, i18n( "Autostart" ) );
261 tabWidget->addTab( externalappPage, i18n( "External apps" ) ); 266 tabWidget->addTab( externalappPage, i18n( "External apps" ) );
262 tabWidget->addTab( miscPage, i18n( "Miscellaneous" ) ); 267 //tabWidget->addTab( miscPage, i18n( "Miscellaneous" ) );
263 268
264 269
265 connect( permissionLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( modified() ) ); 270 connect( permissionLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( modified() ) );