summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-08-04 04:08:59 (UTC)
committer zautrix <zautrix>2005-08-04 04:08:59 (UTC)
commit7c639808d3d78e323857e0a110237e6d77bf04c8 (patch) (side-by-side diff)
tree793083edac43e84821257aed8782c29dfb88632f
parentbfa3d79c4172c4a8efebb1f2801e152a3a706dca (diff)
downloadkdepimpi-7c639808d3d78e323857e0a110237e6d77bf04c8.zip
kdepimpi-7c639808d3d78e323857e0a110237e6d77bf04c8.tar.gz
kdepimpi-7c639808d3d78e323857e0a110237e6d77bf04c8.tar.bz2
fixxx
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/calendarview.cpp36
1 files changed, 25 insertions, 11 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index 7566b22..d51187a 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -910,4 +910,5 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( root1 );
- root1->setSummary( "Project_1");
+ root1->setSummary( "Project1");
root1->setPriority( 1 );
+ root1->setCategories( QString( "Cat_Pro1") );
root1->setDescription( "This is a test description of a root Project" );
@@ -916,3 +917,3 @@ void CalendarView::checkAlarms()
QDateTime start = QDateTime ( QDate( 2004,11,1), QTime ( 7,30,0) );
- QDateTime end = QDateTime ( QDate( 2005,8,1), QTime ( 0,0,0) );
+ QDateTime end = QDateTime ( QDate( 2005,8,5), QTime ( 0,0,0) );
@@ -920,6 +921,7 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_1");
+ nt->setSummary( "Planning Project1");
nt->setPriority( 1 );
- nt->setDescription( "This is a test description of Planning_Project_1" );
+ nt->setDescription( "This is a test description of Planning Project1" );
nt->setPercentComplete( 20 );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Plan_Pro1") );
@@ -931,3 +933,3 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_1: Lutz");
+ nt->setSummary( "Planning Project1: Lutz");
nt->setPriority( 1 );
@@ -935,2 +937,3 @@ void CalendarView::checkAlarms()
nt->setPercentComplete( 20 );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Plan_Pro1,Cat_Work_Lutz") );
Todo * workLutz11 = nt;
@@ -940,3 +943,3 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_1: Norbert");
+ nt->setSummary( "Planning Project1: Norbert");
nt->setPriority( 1 );
@@ -944,2 +947,3 @@ void CalendarView::checkAlarms()
nt->setPercentComplete( 20 );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Plan_Pro1,Cat_Work_Norbert") );
Todo * workNorbert11 = nt;
@@ -952,2 +956,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This is a test description of Work Project_1" );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Work_Pro1") );
nt->setPercentComplete( 20 );
@@ -963,2 +968,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Work_Pro1,Cat_Work_Lutz") );
nt->setPercentComplete( 20 );
@@ -972,2 +978,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro1,Cat_Work_Pro1,Cat_Work_Norbert") );
nt->setPercentComplete( 20 );
@@ -993,3 +1000,3 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( root1 );
- root1->setSummary( "Project_2");
+ root1->setSummary( "Project2");
root1->setPriority( 1 );
@@ -997,5 +1004,6 @@ void CalendarView::checkAlarms()
root1->setPercentComplete( 20 );
+ root1->setCategories( QString( "Cat_Pro2") );
updateView();
QDateTime start = QDateTime ( QDate( 2004,11,1), QTime ( 7,30,0) );
- QDateTime end = QDateTime ( QDate( 2005,8,1), QTime ( 0,0,0) );
+ QDateTime end = QDateTime ( QDate( 2005,8,5), QTime ( 0,0,0) );
int secLenRunning = 7200;
@@ -1006,5 +1014,6 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_2");
+ nt->setSummary( "Planning Project2");
nt->setPriority( 1 );
nt->setDescription( "This is a test description of Planning_Project_2" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Plan_Pro2") );
nt->setPercentComplete( 20 );
@@ -1017,5 +1026,6 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_2: Lutz");
+ nt->setSummary( "Planning Project2: Lutz");
nt->setPriority( 1 );
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Plan_Pro2,Cat_Work_Lutz") );
nt->setPercentComplete( 20 );
@@ -1026,5 +1036,6 @@ void CalendarView::checkAlarms()
mCalendar->addTodo( nt );
- nt->setSummary( "Planning_Project_2: Norbert");
+ nt->setSummary( "Planning Project2: Norbert");
nt->setPriority( 1 );
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Plan_Pro2,Cat_Work_Norbert") );
nt->setPercentComplete( 20 );
@@ -1038,2 +1049,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This is a test description of Work Project_2" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Work_Pro2") );
nt->setPercentComplete( 20 );
@@ -1049,2 +1061,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Work_Pro2,Cat_Work_Lutz") );
nt->setPercentComplete( 20 );
@@ -1058,2 +1071,3 @@ void CalendarView::checkAlarms()
nt->setDescription( "This todo counts the actual work of a person on a project" );
+ nt->setCategories( QString( "Cat_Pro2,Cat_Work_Pro2,Cat_Work_Norbert") );
nt->setPercentComplete( 20 );