-rw-r--r-- | bin/kdepim/pwmanager/germantranslation.txt | 2 | ||||
-rw-r--r-- | kaddressbook/jumpbuttonbar.cpp | 3 | ||||
-rw-r--r-- | microkde/kutils/kcmultidialog.cpp | 6 | ||||
-rw-r--r-- | pwmanager/pwmanager/editcategory.cpp | 1 |
4 files changed, 8 insertions, 4 deletions
diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt index 5941c2a..a47b123 100644 --- a/bin/kdepim/pwmanager/germantranslation.txt +++ b/bin/kdepim/pwmanager/germantranslation.txt | |||
@@ -282,33 +282,33 @@ | |||
282 | { "Permissions:","Zugriffsrechte:" }, | 282 | { "Permissions:","Zugriffsrechte:" }, |
283 | { "Make backup before saving","Mache Backup vor dem Speichern" }, | 283 | { "Make backup before saving","Mache Backup vor dem Speichern" }, |
284 | { "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]:" }, | 284 | { "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]:" }, |
285 | { "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]:" }, | 285 | { "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]:" }, |
286 | { "deep-lock on autolock","Sperre total beim Sperr-Timeout" }, | 286 | { "deep-lock on autolock","Sperre total beim Sperr-Timeout" }, |
287 | { "open deeplocked","Öffne total gesperrt" }, | 287 | { "open deeplocked","Öffne total gesperrt" }, |
288 | { "Favourite browser:","Bevorzugter Browser:" }, | 288 | { "Favourite browser:","Bevorzugter Browser:" }, |
289 | { "Favourite x-terminal:","Bevorzugtes x-terminal:" }, | 289 | { "Favourite x-terminal:","Bevorzugtes x-terminal:" }, |
290 | { "Open document with passwords unlocked","Öffne Dokument mit Passwort ungesperrt" }, | 290 | { "Open document with passwords unlocked","Öffne Dokument mit Passwort ungesperrt" }, |
291 | { "Look && feel","Aussehen" }, | 291 | { "Look && feel","Aussehen" }, |
292 | { "File","Datei" }, | 292 | { "File","Datei" }, |
293 | { "Timeout","Timeout" }, | 293 | { "Timeout","Timeout" }, |
294 | { "Autostart","Autostart" }, | 294 | { "Autostart","Autostart" }, |
295 | { "External apps","Externe Applik." }, | 295 | { "External apps","Externe Applik." }, |
296 | { "Miscellaneous","Verschiedenes" }, | 296 | { "Miscellaneous","Verschiedenes" }, |
297 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 297 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
298 | { "edit category descriptions","Ändrere Kategoriebeschreibungen" }, | 298 | { "edit category descriptions","Ändere Label für Kategorie" }, |
299 | { "Close","Schließen" }, | 299 | { "Close","Schließen" }, |
300 | { "Category:","Category:" }, | 300 | { "Category:","Category:" }, |
301 | { "Text1 (Description):","Text1 (Beschreibung):" }, | 301 | { "Text1 (Description):","Text1 (Beschreibung):" }, |
302 | { "Text2 (Username):","Text2 (Benutzername):" }, | 302 | { "Text2 (Username):","Text2 (Benutzername):" }, |
303 | { "Text3 (Password):","Text3 (Passwort):" }, | 303 | { "Text3 (Password):","Text3 (Passwort):" }, |
304 | { "edit/add a password entry","Ändere/hinzufüge Passwort Eintrag" }, | 304 | { "edit/add a password entry","Ändere/hinzufüge Passwort Eintrag" }, |
305 | { "Description:","Beschreibung:" }, | 305 | { "Description:","Beschreibung:" }, |
306 | { "Username:","Benutzername:" }, | 306 | { "Username:","Benutzername:" }, |
307 | { "Password:","Passwort:" }, | 307 | { "Password:","Passwort:" }, |
308 | { "&Reveal","&Offen zeigen" }, | 308 | { "&Reveal","&Offen zeigen" }, |
309 | { "&Generate","&Generiere" }, | 309 | { "&Generate","&Generiere" }, |
310 | { "&Password","&Passwort" }, | 310 | { "&Password","&Passwort" }, |
311 | { "&Comments","Kommentare" }, | 311 | { "&Comments","Kommentare" }, |
312 | { "Launcher:","Launcher:" }, | 312 | { "Launcher:","Launcher:" }, |
313 | { "$d = Description","$d = Beschreibung" }, | 313 | { "$d = Description","$d = Beschreibung" }, |
314 | { "$n = Username","$n = Benutzername" }, | 314 | { "$n = Username","$n = Benutzername" }, |
diff --git a/kaddressbook/jumpbuttonbar.cpp b/kaddressbook/jumpbuttonbar.cpp index ee5b44e..184d516 100644 --- a/kaddressbook/jumpbuttonbar.cpp +++ b/kaddressbook/jumpbuttonbar.cpp | |||
@@ -112,33 +112,34 @@ void JumpButtonBar::recreateButtons() | |||
112 | mCharacters.clear(); | 112 | mCharacters.clear(); |
113 | 113 | ||
114 | QString character; | 114 | QString character; |
115 | 115 | ||
116 | KABC::AddressBook *ab = mCore->addressBook(); | 116 | KABC::AddressBook *ab = mCore->addressBook(); |
117 | KABC::AddressBook::Iterator it; | 117 | KABC::AddressBook::Iterator it; |
118 | KABC::Field *field = mCore->currentSearchField(); | 118 | KABC::Field *field = mCore->currentSearchField(); |
119 | if ( field ) { | 119 | if ( field ) { |
120 | setEnabled( true ); | 120 | setEnabled( true ); |
121 | } else { | 121 | } else { |
122 | setEnabled( false ); | 122 | setEnabled( false ); |
123 | return; | 123 | return; |
124 | } | 124 | } |
125 | for ( it = ab->begin(); it != ab->end(); ++it ) { | 125 | for ( it = ab->begin(); it != ab->end(); ++it ) { |
126 | if ( !field->value( *it ).isEmpty() ) | 126 | if ( !field->value( *it ).isEmpty() ) |
127 | character = field->value( *it )[ 0 ].lower(); | 127 | character = field->value( *it )[ 0 ].lower(); |
128 | if ( !character.isEmpty() && !mCharacters.contains( character ) ) | 128 | if ( character != "!" ) |
129 | if ( !character.isEmpty() && !mCharacters.contains( character ) ) | ||
129 | mCharacters.append( character ); | 130 | mCharacters.append( character ); |
130 | } | 131 | } |
131 | if ( mCharacters.count() == 0 ) { | 132 | if ( mCharacters.count() == 0 ) { |
132 | setEnabled( false ); | 133 | setEnabled( false ); |
133 | return; | 134 | return; |
134 | } | 135 | } |
135 | 136 | ||
136 | int maxRows = mCharacters.count() / 2; // we use 2 columns | 137 | int maxRows = mCharacters.count() / 2; // we use 2 columns |
137 | if ( mCharacters.count() % 2 ) | 138 | if ( mCharacters.count() % 2 ) |
138 | maxRows++; | 139 | maxRows++; |
139 | int fixwid = 20; | 140 | int fixwid = 20; |
140 | sortListLocaleAware( mCharacters ); | 141 | sortListLocaleAware( mCharacters ); |
141 | bool skip2 = false; | 142 | bool skip2 = false; |
142 | int skipcount = 0; | 143 | int skipcount = 0; |
143 | int maxHei = 25; | 144 | int maxHei = 25; |
144 | if ( QApplication::desktop()->width() < 480 && mCharacters.count() > 13) { | 145 | if ( QApplication::desktop()->width() < 480 && mCharacters.count() > 13) { |
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp index 248476f..4daa4ff 100644 --- a/microkde/kutils/kcmultidialog.cpp +++ b/microkde/kutils/kcmultidialog.cpp | |||
@@ -39,34 +39,36 @@ | |||
39 | 39 | ||
40 | KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const char *name, bool modal) | 40 | KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const char *name, bool modal) |
41 | : KDialogBase(IconList, i18n("Configure"), Default |Cancel | Apply | Ok, Ok, | 41 | : KDialogBase(IconList, i18n("Configure"), Default |Cancel | Apply | Ok, Ok, |
42 | parent, name, modal, true), d(0L) | 42 | parent, name, modal, true), d(0L) |
43 | { | 43 | { |
44 | enableButton(Apply, false); | 44 | enableButton(Apply, false); |
45 | //connect(this, SIGNAL(aboutToShowPage(QWidget *)), this, SLOT(slotAboutToShow(QWidget *))); | 45 | //connect(this, SIGNAL(aboutToShowPage(QWidget *)), this, SLOT(slotAboutToShow(QWidget *))); |
46 | 46 | ||
47 | connect( this, SIGNAL( defaultClicked() ), SLOT( slotDefault() ) ); | 47 | connect( this, SIGNAL( defaultClicked() ), SLOT( slotDefault() ) ); |
48 | 48 | ||
49 | _baseGroup = baseGroup; | 49 | _baseGroup = baseGroup; |
50 | mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::Tabbed ); | 50 | mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::Tabbed ); |
51 | setMainWidget(mMainWidget ); | 51 | setMainWidget(mMainWidget ); |
52 | #ifdef DESKTOP_VERSION | 52 | #ifdef DESKTOP_VERSION |
53 | resize(640,480); | 53 | resize(640,480); |
54 | #else | 54 | #else |
55 | resize(640,480); | 55 | //resize(640,480); |
56 | setMaximumSize( KMIN(KGlobal::getDesktopWidth()-5, 640), KMIN(KGlobal::getDesktopHeight()-20, 480)); | 56 | //setMaximumSize( KMIN(KGlobal::getDesktopWidth()-5, 640), KMIN(KGlobal::getDesktopHeight()-20, 480)); |
57 | resize(800,800); | ||
58 | setMaximumSize( 800, 800 ); | ||
57 | //showMaximized(); | 59 | //showMaximized(); |
58 | #endif | 60 | #endif |
59 | 61 | ||
60 | } | 62 | } |
61 | 63 | ||
62 | KCMultiDialog::~KCMultiDialog() | 64 | KCMultiDialog::~KCMultiDialog() |
63 | { | 65 | { |
64 | //US moduleDict.setAutoDelete(true); | 66 | //US moduleDict.setAutoDelete(true); |
65 | } | 67 | } |
66 | 68 | ||
67 | void KCMultiDialog::slotDefault() | 69 | void KCMultiDialog::slotDefault() |
68 | { | 70 | { |
69 | 71 | ||
70 | int curPageIndex = activePageIndex(); | 72 | int curPageIndex = activePageIndex(); |
71 | 73 | ||
72 | QPtrListIterator<KCModule> it(modules); | 74 | QPtrListIterator<KCModule> it(modules); |
diff --git a/pwmanager/pwmanager/editcategory.cpp b/pwmanager/pwmanager/editcategory.cpp index 4e55de8..4e2378c 100644 --- a/pwmanager/pwmanager/editcategory.cpp +++ b/pwmanager/pwmanager/editcategory.cpp | |||
@@ -132,32 +132,33 @@ void editCategoryWnd::slotApply() | |||
132 | 132 | ||
133 | catitem->desc_text = descLineEdit->text().latin1(); | 133 | catitem->desc_text = descLineEdit->text().latin1(); |
134 | catitem->name_text = usernameLineEdit->text().latin1(); | 134 | catitem->name_text = usernameLineEdit->text().latin1(); |
135 | catitem->pw_text = pwLineEdit->text().latin1(); | 135 | catitem->pw_text = pwLineEdit->text().latin1(); |
136 | enableButton( KDialogBase::Apply, false ); | 136 | enableButton( KDialogBase::Apply, false ); |
137 | return; | 137 | return; |
138 | } | 138 | } |
139 | 139 | ||
140 | BUG(); | 140 | BUG(); |
141 | 141 | ||
142 | } | 142 | } |
143 | 143 | ||
144 | void editCategoryWnd::cancel_slot() | 144 | void editCategoryWnd::cancel_slot() |
145 | { | 145 | { |
146 | QString cat = categoryComboBox->currentText(); | 146 | QString cat = categoryComboBox->currentText(); |
147 | categorySelected ( cat ); | 147 | categorySelected ( cat ); |
148 | reject(); | ||
148 | } | 149 | } |
149 | 150 | ||
150 | void editCategoryWnd::setCurrCategory(const QString &cat) | 151 | void editCategoryWnd::setCurrCategory(const QString &cat) |
151 | { | 152 | { |
152 | int i, count = categoryComboBox->count(); | 153 | int i, count = categoryComboBox->count(); |
153 | 154 | ||
154 | for (i = 0; i < count; ++i) { | 155 | for (i = 0; i < count; ++i) { |
155 | if (categoryComboBox->text(i) == cat) { | 156 | if (categoryComboBox->text(i) == cat) { |
156 | categoryComboBox->setCurrentItem(i); | 157 | categoryComboBox->setCurrentItem(i); |
157 | categorySelected ( cat ); | 158 | categorySelected ( cat ); |
158 | return; | 159 | return; |
159 | } | 160 | } |
160 | } | 161 | } |
161 | BUG(); | 162 | BUG(); |
162 | } | 163 | } |
163 | 164 | ||