author | zautrix <zautrix> | 2005-04-17 16:49:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-17 16:49:25 (UTC) |
commit | 70b45fe97813c4fd336b7ca8fdedab13f9c2e039 (patch) (side-by-side diff) | |
tree | 37e89cf6cc411af8c646003fcfb0d5975f38272c | |
parent | 02dc5d8173393d2069951a5f847db5bdf69137f6 (diff) | |
download | kdepimpi-70b45fe97813c4fd336b7ca8fdedab13f9c2e039.zip kdepimpi-70b45fe97813c4fd336b7ca8fdedab13f9c2e039.tar.gz kdepimpi-70b45fe97813c4fd336b7ca8fdedab13f9c2e039.tar.bz2 |
fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 274 | ||||
-rw-r--r-- | changelog.txt | 136 | ||||
-rw-r--r-- | desktop/rpm/kdepim_rpm | 2 | ||||
-rw-r--r-- | korganizer/koeventviewer.cpp | 112 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 10 | ||||
-rw-r--r-- | libkcal/incidence.cpp | 4 | ||||
-rw-r--r-- | libkcal/incidence.h | 1 | ||||
-rw-r--r-- | version | 2 |
8 files changed, 229 insertions, 312 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 03895fd..ef0bd8b 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -2,254 +2,13 @@ Info about the changes in new versions of KDE-Pim/Pi -********** VERSION 2.0.28 ************ +********** VERSION 2.1.0 ************ -KO/Pi: -Fixed two problems in KO/Pi timetracking. -Added context menu to month view for creating new events/todos. -Fixed some other small bugs. +Stable release 2.1.0! +Summary of changes/fixes compared to version 2.0.6: -********** VERSION 2.0.27 ************ +Many bugs of version 2.0.6 fixed. +Most of them were small bugs, but some of them were important. +It is recommended to use version 2.1.0 and not version 2.0.6. -More bugfixes. -Added possibility to clone in KO/Pi a todo with all its subtodos. -Added config option for alternate background in list views. - -Added a timetracker funtionality in KO/Pi for todos in the todo view. -If a todo is set to started and then to stopped it is saving information about the runtime in -<yourhome>/kdepim/apps/timetrackerdir. -To read, display, print this information an external program is needed which will be developed. -It will display the data in a Gantt timetable view with one row for each todo. -It will have many possibilities sorting the data after category, parent todos, attendees, ... and for creating/printing status reports/summaries. -Merging of data from different computers/users will be quite easy because every run is stored in a single file. - -********** VERSION 2.0.26 ************ - -Added two more fields to the KA/Pi view config: -A "Mobile (home)" and a "Mobile (work)" field. -Fixed utf8 import (e.g. for Japaneese text) in KA/Pi. - -Some alarm applet enhancements, e.g. sound stops automatically if value of suspend spinbox changes. -And again fixed some more small bugs. - -********** VERSION 2.0.25 ************ - -And again fixed some bugs. - -********** VERSION 2.0.24 ************ - -Fixed again a lot of small bugs. -Some performance optimizations in date navigator. -Month view displays now multi days events on top of each cell, such that it is more likely that all multi days items of one event are in the same row. - -********** VERSION 2.0.23 ************ - -Fixed again a lot of small and strange bugs, e.g. the missing toolbar of KA/Pi after a new installation. -Fixed the (agenda) layout of KO/Pi on 5500er. -Some usebility enhancements (e.g. reselection the current item of the todo view after some changes). - -********** VERSION 2.0.22 ************ - -KO/Pi: -Fix for creating events/todos via the abgenda context menu. -Added option to split toolbar to 3 toolbars. -(Toolbar moving s disabled for this option due to a bug in Qt somewhere). -Added option to show one small filter-view-toolbar. -Added a print option to the desktop version: -Now you can print out the view of the "Event Viewer". -That means you can print all data of one particular event/todo. -Added scaling options to printout of Event Viewer and What'sNext View. -Fixed some problems in the month view in "week start sunday" mode. -KA/Pi: -Added two more config options. -Fixed resizing problem of address request dialog when orientation was switched. -Cleaned up the menu structure. -Fixed some more problems. - -Fixed the annoying problem that scrolling continued after the key was released in KO/Pi Monthview and the KA/Pi views. - -And, this is a really cool option (Ben did suggest it): -Now KO/Pi and KA/Pi can be run from a USB stick: -All data is read from and written to the stick. -You can enable this in the global configure option TAB with: -Save using LOCAL storage. -Just put KDE-Pim/Pi on a memory stick and you can access all your PIM data on every computer with Windows XP. It will work with the ME and Linux versions as well. I will put a memory stick version for teh next stable release online. - -********** VERSION 2.0.21 ************ - -Fixed another SMTP problem in OM/Pi. -Some small changed in the new datenavigator in KO/Pi. -Changed default setting for new filter in KA/Pi to "exclude categories". -Changed the default font size for 640x480 display . -Changed popup menu behaviour in agenda and list view. -Fixed some layout problems of the date label size in the month view. -Made month view update faster. -Made first datenavigator repainting faster. -Changed the title of the event/todo edit dialogs. -Timelabels in agenga changed from 22:00 to 22 oo. ( the oo higher, of course). -Many small usebility fixes in KO/Pi. -Pressing the "Calendar" button on the Z switches now to the next view in KO/Pi. -The set of possible "next views" are the views you have toolbar buttons for. - -Made alarm sound working on Linux. - -KO/Pi alarm applet changed: -Made buttons in alarm dialog much bigger. -Made setting of timer more user friendly by showing the actual timer fire time and making the buttons in the timer settings much bigger. -The goal was it to make it possible to use a finger tip ( and not the stylus ) on the touchscreen to adjust the settings. - -And because this version is realeased at Easter, I added an Easter-egg: -With a new undocumented command you can get a message box about the next alarm. -Good luck to find it! - - - -********** VERSION 2.0.20 ************ - -Two small fixes in OM/Pi. - -Better resizing of the new datenavigator in KO/Pi. - -********** VERSION 2.0.19 ************ -KO/Pi: -Enhancements and bugfixes in the new datenavigator. -Bugfix in this changelog: -The datenavigator was changed in version 2.0.18, not the datepicker. - -********** VERSION 2.0.18 ************ -KO/Pi: -Fixed some minor problems. -Cleaned up the KO/Pi config dialog. -Fixed problem moving events in aganda view. -Made datepicker scaleable, i.e. if the datenavigator shows now a -datenavigator matrix depending on its size. -Birthdays are now displayed green in the datenavigator. -What'sThis Help in datenavigator shows all events of the day. - -OM/Pi: -Updated the backend mail library to the latest version. -Please backup your mail before using this version. - -********** VERSION 2.0.17 ************ - -KO/Pi: -Tooltips in month view were not sorted. Fixed. -Daylabel in agenda view ( for display of one day ) was too short. Fixed. -Conflict display dialog for syncing was not on top of other windows. Fixed. -Fixed some minor problems. - -Fixed an endless loop when importing vcs file with RESOURCES entry. - -********** VERSION 2.0.16 ************ -OM/Pi: -Fixed the SMTP account setting the option. -Fixed something in mail sending. - -KO/Pi: -Added possibility to export selected events/todos as vcal file. - -********** VERSION 2.0.15 ************ - -PwM/Pi: -Added keyboard shorcuts for -- toggling summary view (space bar) -- delete item (delete + backspace key) -- add new item ( i + n key) -Fixed length of info in the title. - -KO/Pi-KA/Pi: -Changed "ME" menu bar entry to an icon. - -KO/Pi: -Fixed two minor bugs in displaying todos. -If in month view a cell is selected, the key shortcut "d" shows now that date. -Added complete info for a todo in month view as an icon left of the text. -Fixed problems of displaying data when "<" or ">" are used in summary/location/description. -Fixed problem of search dialog size when switching displays. -Cancel key now closes date picker. -Rearranged KO/Pi file menu structure. - -OM/Pi: -Added to the SMTP account setting the option -"No secure connection". -You have to configure your SMTP accounts again, sorry. - -KA/Pi: -Added support for importing quoted-printable. -Support was added by Peter P.. Thanks, Peter! - - -********** VERSION 2.0.14 ************ - -Made Passwordmanager PwM/Pi more userfriendly: -Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. -Fixed bug in KO/Pi todo printing. -Made Qtopia calendar import possible on desktop . - -********** VERSION 2.0.13 ************ - -Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. - -In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". - -OM/Pi: -Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. -Added missing German translation. -Added warning if path is specified in local folder settings of account config. - -********** VERSION 2.0.12 ************ - -KO/Pi: -Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. -Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. -Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. - -Fixed problem in pi-sync mode when wrong password was sent. - -OM/Pi: -Fixed a crash when displaying mails with "Show mail as html" was checked in the config. -Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. - -********** VERSION 2.0.11 ************ - -Fixed some problems in pi-sync mode -(e.g. details of events were not synced properly) - -********** VERSION 2.0.10 ************ - -KO/Pi: -In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. -This is fixed. -Changed the search dialog a bit to make it more user friendly. -(E.g.: Removed message box about "no items found" and set key focus to search line edit after search). - -Added config option to hide the week number in KO/Pi toolbar. - -********** VERSION 2.0.9 ************ - -Made month view icons for multiday events a bit nicer. -Some minor fixes in KO/Pi -(e.g. go to today did not work for new week view properly). - - -********** VERSION 2.0.8 ************ - -Fixed a problem in dependency info in the ipk files for the Zaurus. - -Added icon for the stealth new week view and made navigation more user friendly in monthview by adding a prev/next week button to the navigator bar. - -Added a "go today" button to the datepicker. - -Added "created" and "last modified" to event/todo viewer (and What'sThis viewer) -and made it configureable to show these values. - -Fixed a problem for events (from external iCal files) that do have a duration but no end date. - - -********** VERSION 2.0.7 ************ - -Added global application font settings -(for all KDE-Pim/Pi apps) to the general settings. - -Fixed a problem in OM/Pi when trying to login to some IMAP servers -(like the IMAP server of Apple: mail.mac.com ) +Important changes: @@ -257,18 +16,21 @@ Added recurring todos to KO/Pi. +Added global application font settings (for all KDE-Pim/Pi apps) to the general settings. + +Made Passwordmanager PwM/Pi more userfriendly: Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. -********** VERSION 2.0.6 ************ +Datenavigator can now display many months. Very useful on the desktop. -Stable release 2.0.6! +KO/Pi alarm applet changed: Made buttons in alarm dialog much bigger and other usebility enhancements. -Some bugfixes in the pi-sync mode. -Added German translation for pi-sync mode. +Made alarm sound working on Linux desktop. -KO/Pi: -Made the todolist using alternate background. +Made KO/Pi and KA/Pi running from a memory stick. Please read storage HowTo for details. -Other minor fixes in KO/Pi. +Added timetracking feature in KO/Pi todo view. Please read timetraker HowTo for details. +Many other usebility enhancements. +Special thanks to Ben for his suggestions! You can find the complete changelog -from version 1.7.7 to 2.0.5 +from version 1.7.7 to 2.1.0 in the source package or on diff --git a/changelog.txt b/changelog.txt index 99be167..45e0322 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,4 +2,140 @@ Info about the changes in new versions of KDE-Pim/Pi +********** VERSION 2.1.0 ************ + +Stable release 2.1.0! + +Summary of changes/fixes compared to version 2.0.6: + +Many bugs of version 2.0.6 fixed. +Most of them were small bugs, but some of them were important. +It is recommended to use version 2.1.0 and not version 2.0.6. + +Important changes: + +Added recurring todos to KO/Pi. + +Added global application font settings (for all KDE-Pim/Pi apps) to the general settings. + +Made Passwordmanager PwM/Pi more userfriendly: Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. + +Datenavigator can now display many months. Very useful on the desktop. + +KO/Pi alarm applet changed: Made buttons in alarm dialog much bigger and other usebility enhancements. + +Made alarm sound working on Linux desktop. + +Made KO/Pi and KA/Pi running from a memory stick. Please read storage HowTo for details. + +Added timetracking feature in KO/Pi todo view. Please read timetraker HowTo for details. + +Many other usebility enhancements. +Special thanks to Ben for his suggestions! + +You can find the complete changelog +from version 1.7.7 to 2.1.0 +in the source package or on + +http://www.pi-sync.net/html/changelog.html + +********** VERSION 2.0.28 ************ + +KO/Pi: +Fixed two problems in KO/Pi timetracking. +Added context menu to month view for creating new events/todos. +Fixed some other small bugs. + + +********** VERSION 2.0.27 ************ + +More bugfixes. +Added possibility to clone in KO/Pi a todo with all its subtodos. +Added config option for alternate background in list views. + +Added a timetracker funtionality in KO/Pi for todos in the todo view. +If a todo is set to started and then to stopped it is saving information about the runtime in +<yourhome>/kdepim/apps/timetrackerdir. +To read, display, print this information an external program is needed which will be developed. +It will display the data in a Gantt timetable view with one row for each todo. +It will have many possibilities sorting the data after category, parent todos, attendees, ... and for creating/printing status reports/summaries. +Merging of data from different computers/users will be quite easy because every run is stored in a single file. + +********** VERSION 2.0.26 ************ + +Added two more fields to the KA/Pi view config: +A "Mobile (home)" and a "Mobile (work)" field. +Fixed utf8 import (e.g. for Japaneese text) in KA/Pi. + +Some alarm applet enhancements, e.g. sound stops automatically if value of suspend spinbox changes. +And again fixed some more small bugs. + +********** VERSION 2.0.25 ************ + +And again fixed some bugs. + +********** VERSION 2.0.24 ************ + +Fixed again a lot of small bugs. +Some performance optimizations in date navigator. +Month view displays now multi days events on top of each cell, such that it is more likely that all multi days items of one event are in the same row. + +********** VERSION 2.0.23 ************ + +Fixed again a lot of small and strange bugs, e.g. the missing toolbar of KA/Pi after a new installation. +Fixed the (agenda) layout of KO/Pi on 5500er. +Some usebility enhancements (e.g. reselection the current item of the todo view after some changes). + +********** VERSION 2.0.22 ************ + +KO/Pi: +Fix for creating events/todos via the abgenda context menu. +Added option to split toolbar to 3 toolbars. +(Toolbar moving s disabled for this option due to a bug in Qt somewhere). +Added option to show one small filter-view-toolbar. +Added a print option to the desktop version: +Now you can print out the view of the "Event Viewer". +That means you can print all data of one particular event/todo. +Added scaling options to printout of Event Viewer and What'sNext View. +Fixed some problems in the month view in "week start sunday" mode. +KA/Pi: +Added two more config options. +Fixed resizing problem of address request dialog when orientation was switched. +Cleaned up the menu structure. +Fixed some more problems. + +Fixed the annoying problem that scrolling continued after the key was released in KO/Pi Monthview and the KA/Pi views. + +And, this is a really cool option (Ben did suggest it): +Now KO/Pi and KA/Pi can be run from a USB stick: +All data is read from and written to the stick. +You can enable this in the global configure option TAB with: +Save using LOCAL storage. +Just put KDE-Pim/Pi on a memory stick and you can access all your PIM data on every computer with Windows XP. It will work with the ME and Linux versions as well. I will put a memory stick version for teh next stable release online. + ********** VERSION 2.0.21 ************ +Fixed another SMTP problem in OM/Pi. +Some small changed in the new datenavigator in KO/Pi. +Changed default setting for new filter in KA/Pi to "exclude categories". +Changed the default font size for 640x480 display . +Changed popup menu behaviour in agenda and list view. +Fixed some layout problems of the date label size in the month view. +Made month view update faster. +Made first datenavigator repainting faster. +Changed the title of the event/todo edit dialogs. +Timelabels in agenga changed from 22:00 to 22 oo. ( the oo higher, of course). +Many small usebility fixes in KO/Pi. +Pressing the "Calendar" button on the Z switches now to the next view in KO/Pi. +The set of possible "next views" are the views you have toolbar buttons for. + +Made alarm sound working on Linux. + +KO/Pi alarm applet changed: +Made buttons in alarm dialog much bigger. +Made setting of timer more user friendly by showing the actual timer fire time and making the buttons in the timer settings much bigger. +The goal was it to make it possible to use a finger tip ( and not the stylus ) on the touchscreen to adjust the settings. + +And because this version is realeased at Easter, I added an Easter-egg: +With a new undocumented command you can get a message box about the next alarm. +Good luck to find it! + diff --git a/desktop/rpm/kdepim_rpm b/desktop/rpm/kdepim_rpm index 3889b6f..3b6b52e 100644 --- a/desktop/rpm/kdepim_rpm +++ b/desktop/rpm/kdepim_rpm @@ -2,3 +2,3 @@ Summary: A collection of PIM programs Name: KDE-Pim-Pi -Version: 2.0.28 +Version: 2.1.0 Release: SuSE_9.2 diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index f39b5e1..c8c2f28 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp @@ -280,2 +280,3 @@ void KOEventViewer::appendEvent(Event *event, int mode ) bool shortDate = KOPrefs::instance()->mShortDateInViewer; + bool wideScreen = ( QApplication::desktop()->width() >= 640 ); topLevelWidget()->setCaption(i18n("Event Viewer")); @@ -333,4 +334,3 @@ void KOEventViewer::appendEvent(Event *event, int mode ) if (!event->location().isEmpty()) { - addTag("b",i18n("Location: ")); - mText.append(deTag(event->location())+"<br>"); + addTag("p","<b>"+i18n("Location: ")+"</b>"+ deTag(event->location() ) ); mMailSubject += i18n(" at ") + event->location(); @@ -346,4 +346,8 @@ void KOEventViewer::appendEvent(Event *event, int mode ) if ( ok ) { - addTag("p",i18n("<b>Next recurrence is on:</b>") ); - addTag("p", KGlobal::locale()->formatDate( next.date(), shortDate )); + if ( wideScreen ){ + addTag("p",i18n("<b>Next recurrence is on:</b>") +" " + KGlobal::locale()->formatDate( next.date(), shortDate ) ); + } else { + addTag("p",i18n("<b>Next recurrence is on:</b>") ); + addTag("p", KGlobal::locale()->formatDate( next.date(), shortDate )); + } mMailSubject += i18n(" - " )+ KGlobal::locale()->formatDateTime( next, true ); @@ -355,4 +359,8 @@ void KOEventViewer::appendEvent(Event *event, int mode ) if ( last ) { - addTag("p",i18n("<b>Last recurrence was on:</b>") ); - addTag("p", KGlobal::locale()->formatDate( nextd, shortDate )); + if ( wideScreen ){ + addTag("p",i18n("<b>Last recurrence was on:</b>") +" " + KGlobal::locale()->formatDate( nextd, shortDate )); + } else{ + addTag("p",i18n("<b>Last recurrence was on:</b>") ); + addTag("p", KGlobal::locale()->formatDate( nextd, shortDate )); + } } @@ -369,4 +377,8 @@ void KOEventViewer::appendEvent(Event *event, int mode ) QString s =i18n("( %1 before )").arg( alarm->offsetText() ); - addTag("p",i18n("<b>Alarm on: ") + s +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); + if(wideScreen ){ + addTag("p",i18n("<b>Alarm on: ") + s +" </b>"+ KGlobal::locale()->formatDateTime( t, shortDate )); + }else{ + addTag("p",i18n("<b>Alarm on: ") + s +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); + } //addTag("p",s); @@ -374,7 +386,4 @@ void KOEventViewer::appendEvent(Event *event, int mode ) - addTag("b",i18n("Access: ")); - mText.append(event->secrecyStr()+"<br>"); + addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); - - formatCategories(event); @@ -385,8 +394,9 @@ void KOEventViewer::appendEvent(Event *event, int mode ) if ( KOPrefs::instance()->mEVshowCreated ) { -#ifdef DESKTOP_VERSION - addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#else - addTag("p",i18n("<b>Created: ") +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#endif + if(wideScreen ){ + addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); + }else{ + addTag("p",i18n("<b>Created: ") +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); + } + @@ -394,8 +404,8 @@ void KOEventViewer::appendEvent(Event *event, int mode ) if ( KOPrefs::instance()->mEVshowChanged ) { -#ifdef DESKTOP_VERSION - addTag("p",i18n("<b>Last modified: ") +" </b>" + KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); -#else - addTag("p",i18n("<b>Last modified: ") +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); -#endif + if(wideScreen ){ + addTag("p",i18n("<b>Last modified: ") +" </b>" + KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); + }else{ + addTag("p",i18n("<b>Last modified: ") +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); + } @@ -419,2 +429,3 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) bool shortDate = KOPrefs::instance()->mShortDateInViewer; + bool wideScreen = ( QApplication::desktop()->width() >= 640 ); if (mode == 0 ) @@ -471,5 +482,4 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) } - if (!event->location().isEmpty()) { - addTag("b",i18n("Location: ")); - mText.append(deTag(event->location())+"<br>"); + if (!event->location().isEmpty()) { + addTag("p","<b>"+i18n("Location: ")+"</b>"+ deTag(event->location() ) ); mMailSubject += i18n(" at ") + event->location(); @@ -482,10 +492,12 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) QDateTime t = alarm->time(); - QString s =i18n("( %1 before )").arg( alarm->offsetText() ); - addTag("p",i18n("<b>Alarm on: ") + s +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); - //addTag("p",s); + QString s =i18n("( %1 before )").arg( alarm->offsetText() ); + if ( wideScreen ) { + addTag("p",i18n("<b>Alarm on: ") + s +" </b>"+ KGlobal::locale()->formatDateTime( t, shortDate )); + } else { + addTag("p",i18n("<b>Alarm on: ") + s +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( t, shortDate )); + } } - addTag("b",i18n("Access: ")); - mText.append(event->secrecyStr()+"<br>"); + addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); @@ -497,18 +509,19 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) if ( KOPrefs::instance()->mEVshowCreated ) { -#ifdef DESKTOP_VERSION - addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#else - addTag("p",i18n("<b>Created: ") +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#endif - + if(wideScreen ){ + + addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); + + } else { + addTag("p",i18n("<b>Created: ") +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); + } } if ( KOPrefs::instance()->mEVshowChanged ) { -#ifdef DESKTOP_VERSION - addTag("p",i18n("<b>Last modified: ") +" </b>" +KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); -#else - addTag("p",i18n("<b>Last modified: ") +" </b>"); - addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); -#endif - + if(wideScreen ){ + addTag("p",i18n("<b>Last modified: ") +" </b>" +KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); + + } else { + addTag("p",i18n("<b>Last modified: ") +" </b>"); + addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); + } } @@ -540,7 +553,6 @@ void KOEventViewer::formatCategories(Incidence *event) if (event->categories().count() == 1) { - addTag("h3",i18n("Category")); + addTag("p","<b>"+i18n("Category") + ":</b> " + event->categoriesStrWithSpace()); } else { - addTag("h3",i18n("Categories")); + addTag("p","<b>"+i18n("Categories")+":</b> " + event->categoriesStrWithSpace() ) ; } - addTag("p",event->categoriesStr()); } diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 0a608dc..25be63a 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -466,3 +466,6 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : - mItemPopupMenu = new QPopupMenu(this); + mItemPopupMenu = new QPopupMenu(this); + mItemPopupMenu->insertItem( i18n("Start/Stop todo..."), this, + SLOT (toggleRunningItem())); + mItemPopupMenu->insertSeparator(); mItemPopupMenu->insertItem(i18n("Show..."), this, @@ -482,7 +485,6 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : mItemPopupMenu->insertSeparator(); - - mItemPopupMenu->insertItem( i18n("Start/Stop todo..."), this, - SLOT (toggleRunningItem())); + /* mItemPopupMenu->insertItem( i18n("New Todo..."), this, SLOT (newTodo())); + */ mItemPopupMenu->insertItem(i18n("New Sub-Todo..."), this, diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 78fa24f..9c35b1d 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp @@ -382,2 +382,6 @@ QString Incidence::categoriesStr() } +QString Incidence::categoriesStrWithSpace() +{ + return mCategories.join(", "); +} diff --git a/libkcal/incidence.h b/libkcal/incidence.h index 60070a2..327e7dd 100644 --- a/libkcal/incidence.h +++ b/libkcal/incidence.h @@ -160,2 +160,3 @@ class Incidence : public IncidenceBase QString categoriesStr(); + QString categoriesStrWithSpace(); @@ -1 +1 @@ -version = "2.0.28"; +version = "2.1.0"; |