17 files changed, 13 insertions, 6 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index 6721d5f..30b4168 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt | |||
@@ -740,19 +740,19 @@ | |||
740 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | 740 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, |
741 | { "Received %1 bytes","%1 Bytes erhalten" }, | 741 | { "Received %1 bytes","%1 Bytes erhalten" }, |
742 | { "Writing file to disk...","Speichere Datei..." }, | 742 | { "Writing file to disk...","Speichere Datei..." }, |
743 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | 743 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, |
744 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, | 744 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, |
745 | { "Synchronize!","Synchronisiere!" }, | 745 | { "Synchronize!","Synchronisiere!" }, |
746 | { "High clock skew!","Großer Uhrzeitunterschied!" }, | 746 | { "High clock skew!","Großer Uhrzeitunterschied!" }, |
747 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | 747 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, |
748 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, | 748 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, |
749 | { "Change search field enable jump bar","Ändere Suchfeld um Jumpbar anzuzeigen" }, | 749 | { "Change search field enable jump bar","Ändere Suchfeld um Jumpbar anzuzeigen" }, |
750 | { "Search with '*' prefix (wildcard)","Suche mit '*' Prefix (Wildcard)" }, | 750 | { "Search with '*' prefix (wildcard)","Suche mit '*' Prefix (Wildcard)" }, |
751 | { "Shrink searchfield in portrait view","Verkleinere Suchfeld im Portraitmodus" }, | 751 | { "Shrink searchfield in portrait view","Verkleinere Suchfeld im Portraitmodus" }, |
752 | { "","" }, | 752 | { "Edit new contact","Bearbeite neuen Kontakt" }, |
753 | { "","" }, | 753 | { "Edit ","Bearbeite " }, |
754 | { "","" }, | 754 | { "","" }, |
755 | { "","" }, | 755 | { "","" }, |
756 | { "","" }, | 756 | { "","" }, |
757 | { "","" }, | 757 | { "","" }, |
758 | { "","" }, \ No newline at end of file | 758 | { "","" }, \ No newline at end of file |
diff --git a/bin/kdepim/kaddressbook/icons16/ic_family.png b/bin/kdepim/kaddressbook/icons16/ic_family.png new file mode 100644 index 0000000..6b0dec6 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_family.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons16/ic_female.png b/bin/kdepim/kaddressbook/icons16/ic_female.png new file mode 100644 index 0000000..c427605 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_female.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons16/ic_kids.png b/bin/kdepim/kaddressbook/icons16/ic_kids.png new file mode 100644 index 0000000..fdbdabc --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_kids.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons16/ic_male.png b/bin/kdepim/kaddressbook/icons16/ic_male.png new file mode 100644 index 0000000..f22eaab --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_male.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons16/ic_penguin.png b/bin/kdepim/kaddressbook/icons16/ic_penguin.png new file mode 100644 index 0000000..a78da37 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons16/ic_penguin.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons16/package_toys.png b/bin/kdepim/kaddressbook/icons16/package_toys.png deleted file mode 100644 index eea4fc7..0000000 --- a/bin/kdepim/kaddressbook/icons16/package_toys.png +++ b/dev/null | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/ic_family.png b/bin/kdepim/kaddressbook/icons22/ic_family.png new file mode 100644 index 0000000..6b0dec6 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_family.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/ic_female.png b/bin/kdepim/kaddressbook/icons22/ic_female.png new file mode 100644 index 0000000..c427605 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_female.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/ic_kids.png b/bin/kdepim/kaddressbook/icons22/ic_kids.png new file mode 100644 index 0000000..fdbdabc --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_kids.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/ic_male.png b/bin/kdepim/kaddressbook/icons22/ic_male.png new file mode 100644 index 0000000..f22eaab --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_male.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/ic_penguin.png b/bin/kdepim/kaddressbook/icons22/ic_penguin.png new file mode 100644 index 0000000..a78da37 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/ic_penguin.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/package_toys.png b/bin/kdepim/kaddressbook/icons22/package_toys.png deleted file mode 100644 index eea4fc7..0000000 --- a/bin/kdepim/kaddressbook/icons22/package_toys.png +++ b/dev/null | |||
Binary files differ | |||
diff --git a/kabc/addresseeview.cpp b/kabc/addresseeview.cpp index e85991e..8f104e0 100644 --- a/kabc/addresseeview.cpp +++ b/kabc/addresseeview.cpp | |||
@@ -243,34 +243,40 @@ void AddresseeView::setAddressee( const KABC::Addressee& mAddressee ) | |||
243 | "</tr>"; | 243 | "</tr>"; |
244 | } | 244 | } |
245 | mText = ""; | 245 | mText = ""; |
246 | QString picString = ""; | 246 | QString picString = ""; |
247 | KABC::Picture picture = mAddressee.photo(); | 247 | KABC::Picture picture = mAddressee.photo(); |
248 | bool picAvailintern = false; | 248 | bool picAvailintern = false; |
249 | bool picAvailUrl = false; | 249 | bool picAvailUrl = false; |
250 | if (! picture.undefined() ) { | 250 | if (! picture.undefined() ) { |
251 | picAvailintern = (picture.isIntern() && !picture.data().isNull()); | 251 | picAvailintern = (picture.isIntern() && !picture.data().isNull()); |
252 | picAvailUrl = !picture.isIntern() && QFile::exists(picture.url() ); | 252 | picAvailUrl = !picture.isIntern() && QFile::exists(picture.url() ); |
253 | } | 253 | } |
254 | if ( picAvailUrl || picAvailintern || QApplication::desktop()->width() > 320 ) { | 254 | if ( picAvailUrl || picAvailintern || QApplication::desktop()->width() > 320 ) { |
255 | picString = "<img src=\"myimage\" width=\"50\" height=\"70\">"; | ||
255 | if ( picAvailintern ) { | 256 | if ( picAvailintern ) { |
256 | QMimeSourceFactory::defaultFactory()->setImage( "myimage", picture.data() ); | 257 | QMimeSourceFactory::defaultFactory()->setImage( "myimage", picture.data() ); |
257 | } else { | 258 | } else { |
258 | if ( picAvailUrl ) { | 259 | if ( picAvailUrl ) { |
259 | QMimeSourceFactory::defaultFactory()->setPixmap( "myimage", QPixmap( picture.url() )); | 260 | QMimeSourceFactory::defaultFactory()->setPixmap( "myimage", QPixmap( picture.url() )); |
260 | } else { | 261 | } else { |
261 | QMimeSourceFactory::defaultFactory()->setPixmap( "myimage", KGlobal::iconLoader()->loadIcon( "package_toys", KIcon::Desktop, 128 ) ); | 262 | static bool setDefaultImage = false; |
263 | if ( !setDefaultImage ) { | ||
264 | qDebug("Setting default pixmap "); | ||
265 | QMimeSourceFactory::defaultFactory()->setPixmap( "defaultPenguin", KGlobal::iconLoader()->loadIcon( "package_toys", KIcon::Desktop, 128 ) ); | ||
266 | setDefaultImage = true; | ||
267 | } | ||
268 | picString = "<img src=\"defaultPenguin\" width=\"64\" height=\"64\">"; | ||
262 | } | 269 | } |
263 | } | 270 | } |
264 | picString = "<img src=\"myimage\" width=\"50\" height=\"70\">"; | ||
265 | mText = QString::fromLatin1( | 271 | mText = QString::fromLatin1( |
266 | "<html>" | 272 | "<html>" |
267 | "<body text=\"%1\" bgcolor=\"%2\">" // text and background color | 273 | "<body text=\"%1\" bgcolor=\"%2\">" // text and background color |
268 | "<table>" | 274 | "<table>" |
269 | "<tr>" | 275 | "<tr>" |
270 | "<td rowspan=\"3\" align=\"right\" valign=\"top\">" | 276 | "<td rowspan=\"3\" align=\"right\" valign=\"top\">" |
271 | "%3" | 277 | "%3" |
272 | "</td>" | 278 | "</td>" |
273 | "<td align=\"left\"><font size=\"+2\"><b>%4</b></font></td>" // name | 279 | "<td align=\"left\"><font size=\"+2\"><b>%4</b></font></td>" // name |
274 | "</tr>" | 280 | "</tr>" |
275 | "%5" // role | 281 | "%5" // role |
276 | "%6" // organization | 282 | "%6" // organization |
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp index a84fc61..b5a60f2 100644 --- a/kaddressbook/addresseeeditordialog.cpp +++ b/kaddressbook/addresseeeditordialog.cpp | |||
@@ -58,25 +58,25 @@ AddresseeEditorDialog::AddresseeEditorDialog( KABCore *core, QWidget *parent, | |||
58 | 58 | ||
59 | AddresseeEditorDialog::~AddresseeEditorDialog() | 59 | AddresseeEditorDialog::~AddresseeEditorDialog() |
60 | { | 60 | { |
61 | //emit editorDestroyed( mEditorWidget->addressee().uid() ); | 61 | //emit editorDestroyed( mEditorWidget->addressee().uid() ); |
62 | } | 62 | } |
63 | 63 | ||
64 | void AddresseeEditorDialog::setAddressee( const KABC::Addressee &addr ) | 64 | void AddresseeEditorDialog::setAddressee( const KABC::Addressee &addr ) |
65 | { | 65 | { |
66 | enableButton( KDialogBase::Apply, false ); | 66 | enableButton( KDialogBase::Apply, false ); |
67 | 67 | ||
68 | mEditorWidget->setAddressee( addr ); | 68 | mEditorWidget->setAddressee( addr ); |
69 | 69 | ||
70 | this->setCaption("Edit " + addr.formattedName()); | 70 | this->setCaption(i18n ("Edit ") + addr.formattedName()); |
71 | } | 71 | } |
72 | 72 | ||
73 | KABC::Addressee AddresseeEditorDialog::addressee() | 73 | KABC::Addressee AddresseeEditorDialog::addressee() |
74 | { | 74 | { |
75 | return mEditorWidget->addressee(); | 75 | return mEditorWidget->addressee(); |
76 | } | 76 | } |
77 | 77 | ||
78 | bool AddresseeEditorDialog::dirty() | 78 | bool AddresseeEditorDialog::dirty() |
79 | { | 79 | { |
80 | return mEditorWidget->dirty(); | 80 | return mEditorWidget->dirty(); |
81 | } | 81 | } |
82 | 82 | ||
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3f9b546..e1a490d 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1251,24 +1251,25 @@ void KABCore::newContact() | |||
1251 | if ( res ) | 1251 | if ( res ) |
1252 | kresResources.append( res ); | 1252 | kresResources.append( res ); |
1253 | } | 1253 | } |
1254 | } | 1254 | } |
1255 | 1255 | ||
1256 | KRES::Resource *res = KRES::SelectDialog::getResource( kresResources, this ); | 1256 | KRES::Resource *res = KRES::SelectDialog::getResource( kresResources, this ); |
1257 | resource = static_cast<KABC::Resource*>( res ); | 1257 | resource = static_cast<KABC::Resource*>( res ); |
1258 | 1258 | ||
1259 | if ( resource ) { | 1259 | if ( resource ) { |
1260 | KABC::Addressee addr; | 1260 | KABC::Addressee addr; |
1261 | addr.setResource( resource ); | 1261 | addr.setResource( resource ); |
1262 | mEditorDialog->setAddressee( addr ); | 1262 | mEditorDialog->setAddressee( addr ); |
1263 | mEditorDialog->setCaption( i18n("Edit new contact")); | ||
1263 | KApplication::execDialog ( mEditorDialog ); | 1264 | KApplication::execDialog ( mEditorDialog ); |
1264 | 1265 | ||
1265 | } else | 1266 | } else |
1266 | return; | 1267 | return; |
1267 | 1268 | ||
1268 | // mEditorDict.insert( dialog->addressee().uid(), dialog ); | 1269 | // mEditorDict.insert( dialog->addressee().uid(), dialog ); |
1269 | 1270 | ||
1270 | 1271 | ||
1271 | } | 1272 | } |
1272 | 1273 | ||
1273 | void KABCore::addEmail( QString aStr ) | 1274 | void KABCore::addEmail( QString aStr ) |
1274 | { | 1275 | { |
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index 8752636..53cd011 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -251,25 +251,25 @@ void KOViewManager::showNextView() | |||
251 | if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;} | 251 | if ( KOPrefs::instance()->mShowIconDay1 ) { showDayView() ;return ;} |
252 | 252 | ||
253 | if ( KOPrefs::instance()->mShowIconDay5 ) { showWorkWeekView() ;return ;} | 253 | if ( KOPrefs::instance()->mShowIconDay5 ) { showWorkWeekView() ;return ;} |
254 | 254 | ||
255 | if ( KOPrefs::instance()->mShowIconDay7 ) { showWeekView();return ;} | 255 | if ( KOPrefs::instance()->mShowIconDay7 ) { showWeekView();return ;} |
256 | 256 | ||
257 | if ( KOPrefs::instance()->mShowIconDay6 ) { showMonthViewWeek();return ;} | 257 | if ( KOPrefs::instance()->mShowIconDay6 ) { showMonthViewWeek();return ;} |
258 | 258 | ||
259 | if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;} | 259 | if ( KOPrefs::instance()->mShowIconMonth ) { showMonthView();return ;} |
260 | 260 | ||
261 | if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;} | 261 | if ( KOPrefs::instance()->mShowIconList ) { showListView() ;return ;} |
262 | 262 | ||
263 | if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} | 263 | //if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;return ;} |
264 | 264 | ||
265 | 265 | ||
266 | 266 | ||
267 | } | 267 | } |
268 | void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) | 268 | void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) |
269 | { | 269 | { |
270 | 270 | ||
271 | //mFlagShowNextxDays = false; | 271 | //mFlagShowNextxDays = false; |
272 | //if(view == mCurrentView) return; | 272 | //if(view == mCurrentView) return; |
273 | if ( view == 0 ) { | 273 | if ( view == 0 ) { |
274 | view = mCurrentView; | 274 | view = mCurrentView; |
275 | if ( view == 0 ) | 275 | if ( view == 0 ) |