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 | 68 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 8 | ||||
-rw-r--r-- | libkcal/incidence.cpp | 4 | ||||
-rw-r--r-- | libkcal/incidence.h | 1 | ||||
-rw-r--r-- | version | 2 |
8 files changed, 206 insertions, 289 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 @@ -1,279 +1,41 @@ 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: 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 http://www.pi-sync.net/html/changelog.html diff --git a/changelog.txt b/changelog.txt index 99be167..45e0322 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,10 +1,146 @@ 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! + ********** VERSION 2.0.20 ************ Two small fixes in OM/Pi. Better resizing of the new datenavigator in KO/Pi. 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 @@ -1,9 +1,9 @@ Summary: A collection of PIM programs Name: KDE-Pim-Pi -Version: 2.0.28 +Version: 2.1.0 Release: SuSE_9.2 Copyright:GPL Group: Productivity/Pim Source:http://sourceforge.net/projects/kdepimpi/ URL:http://sourceforge.net/projects/kdepimpi/ Packager: zautrix diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp index f39b5e1..c8c2f28 100644 --- a/korganizer/koeventviewer.cpp +++ b/korganizer/koeventviewer.cpp @@ -275,12 +275,13 @@ void KOEventViewer::setColorMode( int m ) } void KOEventViewer::appendEvent(Event *event, int mode ) { mMailSubject = ""; mCurrentIncidence = event; bool shortDate = KOPrefs::instance()->mShortDateInViewer; + bool wideScreen = ( QApplication::desktop()->width() >= 640 ); topLevelWidget()->setCaption(i18n("Event Viewer")); if ( mode == 0 ) { addTag("h2",deTag(event->summary())); } else { if ( mColorMode == 1 ) { @@ -328,79 +329,88 @@ void KOEventViewer::appendEvent(Event *event, int mode ) .arg(event->dtEndTimeStr())); mText.append(i18n("<p><b>On:</b> %1</p> ") .arg(event->dtStartDateStr( shortDate ))); } } 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(); } if (event->recurrence()->doesRecur()) { QString recurText = event->recurrence()->recurrenceText(); addTag("p","<em>" + i18n("This is a %1 recurring event.").arg(recurText ) + "</em>"); bool ok; QDate start = QDate::currentDate(); QDateTime next; next = event->getNextOccurence( QDateTime::currentDateTime() , &ok ); if ( ok ) { + 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 ); } else { bool last; QDate nextd; nextd = event->recurrence()->getPreviousDate( QDate::currentDate() , &last ); if ( last ) { + 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 )); } } + } } else { mMailSubject += i18n(" - " )+event->dtStartStr( true ); } if (event->isAlarmEnabled()) { Alarm *alarm =event->alarms().first() ; QDateTime t = alarm->time(); 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("p",s); } - addTag("b",i18n("Access: ")); - mText.append(event->secrecyStr()+"<br>"); - - + addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); formatCategories(event); formatReadOnly(event); formatAttendees(event); if ( KOPrefs::instance()->mEVshowCreated ) { -#ifdef DESKTOP_VERSION + if(wideScreen ){ addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#else + }else{ addTag("p",i18n("<b>Created: ") +" </b>"); addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#endif + } + } if ( KOPrefs::instance()->mEVshowChanged ) { -#ifdef DESKTOP_VERSION + if(wideScreen ){ addTag("p",i18n("<b>Last modified: ") +" </b>" + KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); -#else + }else{ addTag("p",i18n("<b>Last modified: ") +" </b>"); addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); -#endif + } } if ( KOPrefs::instance()->mEVshowDetails ) { if (!event->description().isEmpty()) { addTag("p",i18n("<b>Details: </b>")); addTag("p",deTag(event->description())); @@ -414,12 +424,13 @@ void KOEventViewer::appendEvent(Event *event, int mode ) void KOEventViewer::appendTodo(Todo *event, int mode ) { mMailSubject = ""; mCurrentIncidence = event; topLevelWidget()->setCaption(i18n("Todo Viewer")); bool shortDate = KOPrefs::instance()->mShortDateInViewer; + bool wideScreen = ( QApplication::desktop()->width() >= 640 ); if (mode == 0 ) addTag("h2",deTag(event->summary())); else { if ( mColorMode == 1 ) { mText +="<font color=\"#00A000\">"; } @@ -467,53 +478,55 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) } if (event->hasDueDate()) { mText.append(i18n("<p><b>Due on:</b> %1</p>").arg(event->dtDueStr(KOPrefs::instance()->mShortDateInViewer))); mMailSubject += i18n(" - " )+event->dtDueStr( true ); } 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(); } mText.append(i18n("<p><b>Priority:</b> %2</p>") .arg(QString::number(event->priority()))); if (event->isAlarmEnabled()) { Alarm *alarm =event->alarms().first() ; QDateTime t = alarm->time(); 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("p",s); + } } - addTag("b",i18n("Access: ")); - mText.append(event->secrecyStr()+"<br>"); + addTag("p","<b>"+i18n("Access: ") + "</b>" + event->secrecyStr()); formatCategories(event); formatReadOnly(event); formatAttendees(event); if ( KOPrefs::instance()->mEVshowCreated ) { -#ifdef DESKTOP_VERSION + if(wideScreen ){ + addTag("p",i18n("<b>Created: ") +" </b>"+KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#else + + } else { addTag("p",i18n("<b>Created: ") +" </b>"); addTag("p", KGlobal::locale()->formatDateTime( event->created(), shortDate )); -#endif - + } } if ( KOPrefs::instance()->mEVshowChanged ) { -#ifdef DESKTOP_VERSION + if(wideScreen ){ addTag("p",i18n("<b>Last modified: ") +" </b>" +KGlobal::locale()->formatDateTime( event->lastModified(), shortDate ) ); -#else + + } else { addTag("p",i18n("<b>Last modified: ") +" </b>"); addTag("p", KGlobal::locale()->formatDateTime( event->lastModified(), shortDate )); -#endif - + } } if ( event->relatedTo() ) { addTag("b",i18n("Parent todo:<br>")); mText.append(deTag(event->relatedTo()->summary())+" [" +QString::number(event->relatedTo()->priority()) + "/" + QString::number(((Todo*)event->relatedTo())->percentComplete())+"%] <br>"); } QPtrList<Incidence> Relations = event->relations(); @@ -535,17 +548,16 @@ void KOEventViewer::appendTodo(Todo *event, int mode ) } void KOEventViewer::formatCategories(Incidence *event) { if (!event->categoriesStr().isEmpty()) { 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()); } } void KOEventViewer::formatAttendees(Incidence *event) { QPtrList<Attendee> attendees = event->attendees(); if (attendees.count()) { diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 0a608dc..25be63a 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -462,12 +462,15 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : } connect (mPercentageCompletedPopupMenu, SIGNAL (activated (int)), SLOT (setNewPercentage (int))); mItemPopupMenu = new QPopupMenu(this); + mItemPopupMenu->insertItem( i18n("Start/Stop todo..."), this, + SLOT (toggleRunningItem())); + mItemPopupMenu->insertSeparator(); mItemPopupMenu->insertItem(i18n("Show..."), this, SLOT (showTodo())); mItemPopupMenu->insertItem(i18n("Edit..."), this, SLOT (editTodo())); mItemPopupMenu->insertItem( i18n("Delete"), this, SLOT (deleteTodo())); @@ -477,17 +480,16 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : SLOT (moveTodo())); mItemPopupMenu->insertItem( i18n("Beam..."), this, SLOT (beamTodo())); mItemPopupMenu->insertItem( i18n("Toggle Cancel"), this, SLOT (cancelTodo())); 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, SLOT (newSubTodo())); mItemPopupMenu->insertItem(i18n("Unparent Todo"), this, SLOT (unparentTodo()),0,21); mItemPopupMenu->insertItem(i18n("Reparent Todo"), this, SLOT (reparentTodo()),0,22); diff --git a/libkcal/incidence.cpp b/libkcal/incidence.cpp index 78fa24f..9c35b1d 100644 --- a/libkcal/incidence.cpp +++ b/libkcal/incidence.cpp @@ -377,12 +377,16 @@ QStringList Incidence::categories() const } QString Incidence::categoriesStr() { return mCategories.join(","); } +QString Incidence::categoriesStrWithSpace() +{ + return mCategories.join(", "); +} void Incidence::setRelatedToUid(const QString &relatedToUid) { if (mReadOnly) return; mRelatedToUid = relatedToUid; } diff --git a/libkcal/incidence.h b/libkcal/incidence.h index 60070a2..327e7dd 100644 --- a/libkcal/incidence.h +++ b/libkcal/incidence.h @@ -155,12 +155,13 @@ class Incidence : public IncidenceBase /** set event's categories based on a comma delimited string */ void setCategories(const QString &catStr); /** return categories in a list */ QStringList categories() const; /** return categories as a comma separated string */ QString categoriesStr(); + QString categoriesStrWithSpace(); /** point at some other event to which the event relates. This function should * only be used when constructing a calendar before the related Event * exists. */ void setRelatedToUid(const QString &); /** what event does this one relate to? This function should @@ -1 +1 @@ -version = "2.0.28"; +version = "2.1.0"; |