summaryrefslogtreecommitdiff
path: root/core/pim/todo
Unidiff
Diffstat (limited to 'core/pim/todo') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp22
-rw-r--r--core/pim/todo/otaskeditor.cpp1
-rw-r--r--core/pim/todo/tableview.cpp20
-rw-r--r--core/pim/todo/templatedialog.cpp4
-rw-r--r--core/pim/todo/todoeditor.cpp2
-rw-r--r--core/pim/todo/todomanager.cpp4
-rw-r--r--core/pim/todo/todotemplatemanager.cpp3
-rw-r--r--core/pim/todo/todoview.cpp4
8 files changed, 26 insertions, 34 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index d552928..924fde1 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -61,3 +61,3 @@
61 61
62using namespace Opie::Core; 62using Opie::Core::OApplicationFactory;
63OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> ) 63OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> )
@@ -298,3 +298,3 @@ QPopupMenu* MainWindow::contextMenu( int , bool recur ) {
298QPopupMenu* MainWindow::options() { 298QPopupMenu* MainWindow::options() {
299 Opie::Core::owarn << "Options" << oendl; 299 owarn << "Options" << oendl;
300 return m_options; 300 return m_options;
@@ -317,3 +317,3 @@ OPimTodoAccess::List MainWindow::sorted( bool asc, int sortOrder ) {
317 317
318 Opie::Core::owarn << " Category " << cat << " " << m_curCat << oendl; 318 owarn << " Category " << cat << " " << m_curCat << oendl;
319 319
@@ -376,3 +376,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) {
376 if ( m_todoMgr.saveAll() ){ 376 if ( m_todoMgr.saveAll() ){
377 Opie::Core::owarn << "saved" << oendl; 377 owarn << "saved" << oendl;
378 quit = true; 378 quit = true;
@@ -539,3 +539,3 @@ void MainWindow::setCategory( int c) {
539 539
540 Opie::Core::owarn << "Iterating over cats " << c << oendl; 540 owarn << "Iterating over cats " << c << oendl;
541 for ( unsigned int i = 1; i < m_catMenu->count(); i++ ) 541 for ( unsigned int i = 1; i < m_catMenu->count(); i++ )
@@ -683,3 +683,5 @@ void MainWindow::slotShow( int uid ) {
683 if ( uid == 0 ) return; 683 if ( uid == 0 ) return;
684 Opie::Core::owarn << "slotShow" << oendl; 684
685
686 owarn << "slotShow" << oendl;
685 currentShow()->slotShow( event( uid ) ); 687 currentShow()->slotShow( event( uid ) );
@@ -742,3 +744,3 @@ void MainWindow::setReadAhead( uint count ) {
742void MainWindow::slotQuickEntered() { 744void MainWindow::slotQuickEntered() {
743 Opie::Core::owarn << "entered" << oendl; 745 owarn << "entered" << oendl;
744 OPimTodo todo = quickEditor()->todo(); 746 OPimTodo todo = quickEditor()->todo();
@@ -789,3 +791,3 @@ void MainWindow::slotComplete( const OPimTodo& todo ) {
789 int dayDiff = to.dueDate().daysTo( date ); 791 int dayDiff = to.dueDate().daysTo( date );
790 Opie::Core::owarn << "day diff is " << dayDiff << oendl; 792 owarn << "day diff is " << dayDiff << oendl;
791 QDate inval; 793 QDate inval;
@@ -952,3 +954,3 @@ namespace {
952 for ( it = als.begin(); it != als.end(); ++it ) { 954 for ( it = als.begin(); it != als.end(); ++it ) {
953 Opie::Core::owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl; 955 owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl;
954 AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); 956 AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );
@@ -960,3 +962,3 @@ namespace {
960 for ( it = als.begin(); it != als.end(); ++it ) { 962 for ( it = als.begin(); it != als.end(); ++it ) {
961 Opie::Core::owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl; 963 owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl;
962 AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); 964 AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp
index 55a3dd5..bbc177d 100644
--- a/core/pim/todo/otaskeditor.cpp
+++ b/core/pim/todo/otaskeditor.cpp
@@ -37,3 +37,2 @@ void OTaskEditor::init( const OPimTodo& to ) {
37OPimTodo OTaskEditor::todo()const{ 37OPimTodo OTaskEditor::todo()const{
38 Opie::Core::owarn << "saving!" << oendl;
39 OPimTodo to ( m_todo ); 38 OPimTodo to ( m_todo );
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index 0b1c579..b7458d8 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -197,3 +197,3 @@ void TableView::showOverDue( bool ) {
197void TableView::updateView( ) { 197void TableView::updateView( ) {
198 Opie::Core::owarn << "update view" << oendl; 198 owarn << "update view" << oendl;
199 m_row = false; 199 m_row = false;
@@ -211,3 +211,3 @@ void TableView::updateView( ) {
211 211
212 Opie::Core::owarn << "setTodos" << oendl; 212 owarn << "setTodos" << oendl;
213 QTime time; 213 QTime time;
@@ -257,3 +257,3 @@ void TableView::removeEvent( int ) {
257void TableView::setShowCompleted( bool b) { 257void TableView::setShowCompleted( bool b) {
258 Opie::Core::owarn << "Show Completed " << b << oendl; 258 owarn << "Show Completed " << b << oendl;
259 updateView(); 259 updateView();
@@ -261,3 +261,3 @@ void TableView::setShowCompleted( bool b) {
261void TableView::setShowDeadline( bool b ) { 261void TableView::setShowDeadline( bool b ) {
262 Opie::Core::owarn << "Show Deadline " << b << oendl; 262 owarn << "Show Deadline " << b << oendl;
263 if ( b ) 263 if ( b )
@@ -284,3 +284,3 @@ void TableView::setShowDeadline( bool b ) {
284void TableView::setShowCategory( const QString& str) { 284void TableView::setShowCategory( const QString& str) {
285 Opie::Core::owarn << "setShowCategory" << oendl; 285 owarn << "setShowCategory" << oendl;
286 if ( str != m_oleCat || m_first ) 286 if ( str != m_oleCat || m_first )
@@ -349,3 +349,3 @@ void TableView::slotPressed(int row, int col, int,
349 349
350 Opie::Core::owarn << "pressed row " << row << " col " << col << " x:" << point.x() 350 owarn << "pressed row " << row << " col " << col << " x:" << point.x()
351 << "+y:" << point.y() << oendl; 351 << "+y:" << point.y() << oendl;
@@ -357,3 +357,3 @@ void TableView::slotPressed(int row, int col, int,
357void TableView::slotValueChanged( int, int ) { 357void TableView::slotValueChanged( int, int ) {
358 Opie::Core::owarn << "Value Changed" << oendl; 358 owarn << "Value Changed" << oendl;
359} 359}
@@ -373,3 +373,3 @@ QWidget* TableView::widget() {
373void TableView::sortColumn( int col, bool asc, bool ) { 373void TableView::sortColumn( int col, bool asc, bool ) {
374 Opie::Core::owarn << "bool " << asc << oendl; 374 owarn << "bool " << asc << oendl;
375 setSortOrder( col ); 375 setSortOrder( col );
@@ -496,3 +496,3 @@ QWidget* TableView::createEditor(int row, int col, bool )const {
496void TableView::setCellContentFromEditor(int row, int col ) { 496void TableView::setCellContentFromEditor(int row, int col ) {
497 Opie::Core::owarn << "set cell content from editor" << oendl; 497 owarn << "set cell content from editor" << oendl;
498 if ( col == 1 ) { 498 if ( col == 1 ) {
@@ -580,3 +580,3 @@ void TableView::contentsMouseReleaseEvent( QMouseEvent* e) {
580 int colNew = columnAt(e->x() ); 580 int colNew = columnAt(e->x() );
581 Opie::Core::owarn << "colNew: " << colNew << " colOld: " << colOld << oendl; 581 owarn << "colNew: " << colNew << " colOld: " << colOld << oendl;
582 if ( row == rowAt( e->y() ) && row != -1 && 582 if ( row == rowAt( e->y() ) && row != -1 &&
diff --git a/core/pim/todo/templatedialog.cpp b/core/pim/todo/templatedialog.cpp
index 32327a6..8d72297 100644
--- a/core/pim/todo/templatedialog.cpp
+++ b/core/pim/todo/templatedialog.cpp
@@ -53,12 +53,8 @@ QLineEdit* TemplateDialog::edit() {
53void TemplateDialog::slotAdd() { 53void TemplateDialog::slotAdd() {
54 Opie::Core::owarn << "Not Implemented here" << oendl;
55} 54}
56void TemplateDialog::slotRemove() { 55void TemplateDialog::slotRemove() {
57 Opie::Core::owarn << "Not Implemented here" << oendl;
58} 56}
59void TemplateDialog::slotEdit() { 57void TemplateDialog::slotEdit() {
60 Opie::Core::owarn << "Not Implemented here" << oendl;
61} 58}
62void TemplateDialog::slotReturn() { 59void TemplateDialog::slotReturn() {
63 Opie::Core::owarn << "Not Implemented here" << oendl;
64} 60}
diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp
index 7857d52..a1c559d 100644
--- a/core/pim/todo/todoeditor.cpp
+++ b/core/pim/todo/todoeditor.cpp
@@ -33,4 +33,2 @@ OPimTodo Editor::newTodo( int cur,
33 OPimTodo ev = e->todo(); 33 OPimTodo ev = e->todo();
34 Opie::Core::owarn << "Todo uid" << oendl;
35 Opie::Core::owarn << "Todo " << ev.summary() << " " << ev.progress() << " " << ev.isCompleted() << oendl;
36 ev.setUid(1); 34 ev.setUid(1);
diff --git a/core/pim/todo/todomanager.cpp b/core/pim/todo/todomanager.cpp
index 7826747..c4b8fbc 100644
--- a/core/pim/todo/todomanager.cpp
+++ b/core/pim/todo/todomanager.cpp
@@ -42,3 +42,3 @@ TodoManager::TodoManager( QObject *obj )
42 int el = time.elapsed(); 42 int el = time.elapsed();
43 Opie::Core::owarn << "QTimer for loading " << el/1000 << oendl; 43 owarn << "QTimer for loading " << el/1000 << oendl;
44} 44}
@@ -51,3 +51,3 @@ OPimTodo TodoManager::event(int uid ) {
51void TodoManager::updateList() { 51void TodoManager::updateList() {
52 Opie::Core::owarn << "update lists" << oendl; 52 owarn << "update lists" << oendl;
53 m_list = m_db->allRecords(); 53 m_list = m_db->allRecords();
diff --git a/core/pim/todo/todotemplatemanager.cpp b/core/pim/todo/todotemplatemanager.cpp
index 0b20d5a..7690d37 100644
--- a/core/pim/todo/todotemplatemanager.cpp
+++ b/core/pim/todo/todotemplatemanager.cpp
@@ -38,3 +38,2 @@ void TemplateManager::load() {
38void TemplateManager::save() { 38void TemplateManager::save() {
39 Opie::Core::owarn << "Saving!!!!" << oendl;
40 Config conf("todolist_templates"); 39 Config conf("todolist_templates");
@@ -52,3 +51,2 @@ void TemplateManager::save() {
52 conf.setGroup( QString::number( ev.uid() ) ); 51 conf.setGroup( QString::number( ev.uid() ) );
53 Opie::Core::owarn << "Name " << it.key() << oendl;
54 conf.writeEntry("Name", it.key() ); 52 conf.writeEntry("Name", it.key() );
@@ -60,3 +58,2 @@ void TemplateManager::addEvent( const QString& str,
60 const OPimTodo& ev) { 58 const OPimTodo& ev) {
61 Opie::Core::owarn << "AddEvent " << str << oendl;
62 OPimTodo todo = ev; 59 OPimTodo todo = ev;
diff --git a/core/pim/todo/todoview.cpp b/core/pim/todo/todoview.cpp
index 03e1060..3d2c982 100644
--- a/core/pim/todo/todoview.cpp
+++ b/core/pim/todo/todoview.cpp
@@ -35,3 +35,3 @@ void TodoView::sort() {
35 m_sort = todoWindow()->sorted(m_asc,m_sortOrder ); 35 m_sort = todoWindow()->sorted(m_asc,m_sortOrder );
36 Opie::Core::owarn << "m_sort.count() = " << m_sort.count() << oendl; 36 owarn << "m_sort.count() = " << m_sort.count() << oendl;
37} 37}
@@ -44,3 +44,3 @@ void TodoView::setSortOrder( int order ) {
44void TodoView::setAscending( bool b ) { 44void TodoView::setAscending( bool b ) {
45 Opie::Core::owarn << "setAscending " << b << oendl; 45 owarn << "setAscending " << b << oendl;
46 m_asc = b; 46 m_asc = b;