summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/main.cpp4
-rw-r--r--core/pim/todo/mainwindow.cpp19
-rw-r--r--core/pim/todo/opie-todo.control2
-rw-r--r--core/pim/todo/otaskeditor.cpp4
-rw-r--r--core/pim/todo/tableview.cpp34
-rw-r--r--core/pim/todo/templatedialog.cpp10
-rw-r--r--core/pim/todo/todoeditor.cpp5
-rw-r--r--core/pim/todo/todomanager.cpp7
-rw-r--r--core/pim/todo/todotemplatemanager.cpp7
-rw-r--r--core/pim/todo/todoview.cpp6
10 files changed, 56 insertions, 42 deletions
diff --git a/core/pim/todo/main.cpp b/core/pim/todo/main.cpp
index 7763169..d070ff8 100644
--- a/core/pim/todo/main.cpp
+++ b/core/pim/todo/main.cpp
@@ -22,3 +22,3 @@
22 22
23 23#include <opie2/odebug.h>
24 24
@@ -39,3 +39,3 @@ int main( int argc, char **argv )
39 int t = time.elapsed(); 39 int t = time.elapsed();
40 qWarning("QTime %d", t/1000 ); 40 Opie::Core::owarn << "QTime " << t/1000 << oendl;
41 mw.setCaption( QObject::tr("Opie Todolist")); 41 mw.setCaption( QObject::tr("Opie Todolist"));
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index f0642c4..d552928 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -30,2 +30,3 @@
30 30
31#include <opie2/odebug.h>
31#include <opie2/opimrecurrence.h> 32#include <opie2/opimrecurrence.h>
@@ -297,3 +298,3 @@ QPopupMenu* MainWindow::contextMenu( int , bool recur ) {
297QPopupMenu* MainWindow::options() { 298QPopupMenu* MainWindow::options() {
298 qWarning("Options"); 299 Opie::Core::owarn << "Options" << oendl;
299 return m_options; 300 return m_options;
@@ -316,3 +317,3 @@ OPimTodoAccess::List MainWindow::sorted( bool asc, int sortOrder ) {
316 317
317 qWarning(" Category %d %s", cat, m_curCat.latin1() ); 318 Opie::Core::owarn << " Category " << cat << " " << m_curCat << oendl;
318 319
@@ -375,3 +376,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) {
375 if ( m_todoMgr.saveAll() ){ 376 if ( m_todoMgr.saveAll() ){
376 qWarning("saved"); 377 Opie::Core::owarn << "saved" << oendl;
377 quit = true; 378 quit = true;
@@ -538,3 +539,3 @@ void MainWindow::setCategory( int c) {
538 539
539 qWarning("Iterating over cats %d", c ); 540 Opie::Core::owarn << "Iterating over cats " << c << oendl;
540 for ( unsigned int i = 1; i < m_catMenu->count(); i++ ) 541 for ( unsigned int i = 1; i < m_catMenu->count(); i++ )
@@ -682,3 +683,3 @@ void MainWindow::slotShow( int uid ) {
682 if ( uid == 0 ) return; 683 if ( uid == 0 ) return;
683 qWarning("slotShow"); 684 Opie::Core::owarn << "slotShow" << oendl;
684 currentShow()->slotShow( event( uid ) ); 685 currentShow()->slotShow( event( uid ) );
@@ -741,3 +742,3 @@ void MainWindow::setReadAhead( uint count ) {
741void MainWindow::slotQuickEntered() { 742void MainWindow::slotQuickEntered() {
742 qWarning("entered"); 743 Opie::Core::owarn << "entered" << oendl;
743 OPimTodo todo = quickEditor()->todo(); 744 OPimTodo todo = quickEditor()->todo();
@@ -788,3 +789,3 @@ void MainWindow::slotComplete( const OPimTodo& todo ) {
788 int dayDiff = to.dueDate().daysTo( date ); 789 int dayDiff = to.dueDate().daysTo( date );
789 qWarning("day diff is %d", dayDiff ); 790 Opie::Core::owarn << "day diff is " << dayDiff << oendl;
790 QDate inval; 791 QDate inval;
@@ -951,3 +952,3 @@ namespace {
951 for ( it = als.begin(); it != als.end(); ++it ) { 952 for ( it = als.begin(); it != als.end(); ++it ) {
952 qWarning("Adding alarm for %s", (*it).dateTime().toString().latin1() ); 953 Opie::Core::owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl;
953 AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); 954 AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );
@@ -959,3 +960,3 @@ namespace {
959 for ( it = als.begin(); it != als.end(); ++it ) { 960 for ( it = als.begin(); it != als.end(); ++it ) {
960 qWarning("Removinf alarm for %s", (*it).dateTime().toString().latin1() ); 961 Opie::Core::owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl;
961 AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid ); 962 AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );
diff --git a/core/pim/todo/opie-todo.control b/core/pim/todo/opie-todo.control
index 47c2b67..3a65c04 100644
--- a/core/pim/todo/opie-todo.control
+++ b/core/pim/todo/opie-todo.control
@@ -6,3 +6,3 @@ Maintainer: Holger 'zecke' Freyther <zecke@handhelds.org>
6Architecture: arm 6Architecture: arm
7Depends: task-opie-minimal, libopiecore2, libopieui2, libopiepim2, opie-pics, libopiedb2 7Depends: task-opie-minimal, libopiecore2, libopieui2, libopiepim2, opie-pics
8Description: Todo list manager 8Description: Todo list manager
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp
index a8349c1..55a3dd5 100644
--- a/core/pim/todo/otaskeditor.cpp
+++ b/core/pim/todo/otaskeditor.cpp
@@ -2,2 +2,4 @@
2 2
3#include <opie2/odebug.h>
4
3#include "taskeditoroverview.h" 5#include "taskeditoroverview.h"
@@ -35,3 +37,3 @@ void OTaskEditor::init( const OPimTodo& to ) {
35OPimTodo OTaskEditor::todo()const{ 37OPimTodo OTaskEditor::todo()const{
36 qWarning("saving!"); 38 Opie::Core::owarn << "saving!" << oendl;
37 OPimTodo to ( m_todo ); 39 OPimTodo to ( m_todo );
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index 0d298f4..0b1c579 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -31,6 +31,4 @@
31 31
32#include <qcombobox.h> 32#include <opie2/odebug.h>
33#include <qlineedit.h> 33#include <opie2/opimrecurrence.h>
34#include <qtimer.h>
35#include <qpopupmenu.h>
36 34
@@ -39,3 +37,6 @@
39 37
40#include <opie2/opimrecurrence.h> 38#include <qcombobox.h>
39#include <qlineedit.h>
40#include <qtimer.h>
41#include <qpopupmenu.h>
41 42
@@ -196,3 +197,3 @@ void TableView::showOverDue( bool ) {
196void TableView::updateView( ) { 197void TableView::updateView( ) {
197 qWarning("update view"); 198 Opie::Core::owarn << "update view" << oendl;
198 m_row = false; 199 m_row = false;
@@ -210,3 +211,3 @@ void TableView::updateView( ) {
210 211
211 qWarning("setTodos"); 212 Opie::Core::owarn << "setTodos" << oendl;
212 QTime time; 213 QTime time;
@@ -256,3 +257,3 @@ void TableView::removeEvent( int ) {
256void TableView::setShowCompleted( bool b) { 257void TableView::setShowCompleted( bool b) {
257 qWarning("Show Completed %d" , b ); 258 Opie::Core::owarn << "Show Completed " << b << oendl;
258 updateView(); 259 updateView();
@@ -260,3 +261,3 @@ void TableView::setShowCompleted( bool b) {
260void TableView::setShowDeadline( bool b ) { 261void TableView::setShowDeadline( bool b ) {
261 qWarning( "Show DeadLine %d" , b ); 262 Opie::Core::owarn << "Show Deadline " << b << oendl;
262 if ( b ) 263 if ( b )
@@ -283,3 +284,3 @@ void TableView::setShowDeadline( bool b ) {
283void TableView::setShowCategory( const QString& str) { 284void TableView::setShowCategory( const QString& str) {
284 qWarning("setShowCategory"); 285 Opie::Core::owarn << "setShowCategory" << oendl;
285 if ( str != m_oleCat || m_first ) 286 if ( str != m_oleCat || m_first )
@@ -348,3 +349,4 @@ void TableView::slotPressed(int row, int col, int,
348 349
349 qWarning("pressed row %d col %d x:%d+y:%d", row,col,point.x(),point.y() ); 350 Opie::Core::owarn << "pressed row " << row << " col " << col << " x:" << point.x()
351 << "+y:" << point.y() << oendl;
350 m_prevP = point; 352 m_prevP = point;
@@ -355,3 +357,3 @@ void TableView::slotPressed(int row, int col, int,
355void TableView::slotValueChanged( int, int ) { 357void TableView::slotValueChanged( int, int ) {
356 qWarning("Value Changed"); 358 Opie::Core::owarn << "Value Changed" << oendl;
357} 359}
@@ -371,3 +373,3 @@ QWidget* TableView::widget() {
371void TableView::sortColumn( int col, bool asc, bool ) { 373void TableView::sortColumn( int col, bool asc, bool ) {
372 qWarning("bool %d", asc ); 374 Opie::Core::owarn << "bool " << asc << oendl;
373 setSortOrder( col ); 375 setSortOrder( col );
@@ -494,3 +496,3 @@ QWidget* TableView::createEditor(int row, int col, bool )const {
494void TableView::setCellContentFromEditor(int row, int col ) { 496void TableView::setCellContentFromEditor(int row, int col ) {
495 qWarning("set cell content from editor"); 497 Opie::Core::owarn << "set cell content from editor" << oendl;
496 if ( col == 1 ) { 498 if ( col == 1 ) {
@@ -530,3 +532,3 @@ void TableView::slotPriority() {
530void TableView::timerEvent( QTimerEvent* ) { 532void TableView::timerEvent( QTimerEvent* ) {
531// qWarning("sorted %d", sorted().count() ); 533// Opie::Core::owarn << "sorted " << sorted().count() << oendl;
532 if (sorted().count() == 0 ) 534 if (sorted().count() == 0 )
@@ -578,3 +580,3 @@ void TableView::contentsMouseReleaseEvent( QMouseEvent* e) {
578 int colNew = columnAt(e->x() ); 580 int colNew = columnAt(e->x() );
579 qWarning("colNew: %d colOld: %d", colNew, colOld ); 581 Opie::Core::owarn << "colNew: " << colNew << " colOld: " << colOld << oendl;
580 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 8dfbd0b..32327a6 100644
--- a/core/pim/todo/templatedialog.cpp
+++ b/core/pim/todo/templatedialog.cpp
@@ -1 +1,3 @@
1#include <opie2/odebug.h>
2
1#include <qpushbutton.h> 3#include <qpushbutton.h>
@@ -51,12 +53,12 @@ QLineEdit* TemplateDialog::edit() {
51void TemplateDialog::slotAdd() { 53void TemplateDialog::slotAdd() {
52 qWarning("Not Implemented here"); 54 Opie::Core::owarn << "Not Implemented here" << oendl;
53} 55}
54void TemplateDialog::slotRemove() { 56void TemplateDialog::slotRemove() {
55 qWarning("Not Implemented here"); 57 Opie::Core::owarn << "Not Implemented here" << oendl;
56} 58}
57void TemplateDialog::slotEdit() { 59void TemplateDialog::slotEdit() {
58 qWarning("Not Implemented here"); 60 Opie::Core::owarn << "Not Implemented here" << oendl;
59} 61}
60void TemplateDialog::slotReturn() { 62void TemplateDialog::slotReturn() {
61 qWarning("Not Implemented here"); 63 Opie::Core::owarn << "Not Implemented here" << oendl;
62} 64}
diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp
index 4b5ecb1..7857d52 100644
--- a/core/pim/todo/todoeditor.cpp
+++ b/core/pim/todo/todoeditor.cpp
@@ -1 +1,2 @@
1#include <opie2/odebug.h>
1 2
@@ -32,4 +33,4 @@ OPimTodo Editor::newTodo( int cur,
32 OPimTodo ev = e->todo(); 33 OPimTodo ev = e->todo();
33 qWarning("Todo uid"); 34 Opie::Core::owarn << "Todo uid" << oendl;
34 qWarning("Todo %s %d %d", ev.summary().latin1(), ev.progress(), ev.isCompleted() ); 35 Opie::Core::owarn << "Todo " << ev.summary() << " " << ev.progress() << " " << ev.isCompleted() << oendl;
35 ev.setUid(1); 36 ev.setUid(1);
diff --git a/core/pim/todo/todomanager.cpp b/core/pim/todo/todomanager.cpp
index 21e1d0c..7826747 100644
--- a/core/pim/todo/todomanager.cpp
+++ b/core/pim/todo/todomanager.cpp
@@ -27,2 +27,5 @@
27*/ 27*/
28
29#include <opie2/odebug.h>
30
28#include <qpe/categoryselect.h> 31#include <qpe/categoryselect.h>
@@ -39,3 +42,3 @@ TodoManager::TodoManager( QObject *obj )
39 int el = time.elapsed(); 42 int el = time.elapsed();
40 qWarning("QTimer for loading %d", el/1000 ); 43 Opie::Core::owarn << "QTimer for loading " << el/1000 << oendl;
41} 44}
@@ -48,3 +51,3 @@ OPimTodo TodoManager::event(int uid ) {
48void TodoManager::updateList() { 51void TodoManager::updateList() {
49 qWarning("update list"); 52 Opie::Core::owarn << "update lists" << oendl;
50 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 eeac51b..0b20d5a 100644
--- a/core/pim/todo/todotemplatemanager.cpp
+++ b/core/pim/todo/todotemplatemanager.cpp
@@ -1 +1,2 @@
1#include <opie2/odebug.h>
1#include <opie2/otodoaccess.h> 2#include <opie2/otodoaccess.h>
@@ -37,3 +38,3 @@ void TemplateManager::load() {
37void TemplateManager::save() { 38void TemplateManager::save() {
38 qWarning("Saving!!!!"); 39 Opie::Core::owarn << "Saving!!!!" << oendl;
39 Config conf("todolist_templates"); 40 Config conf("todolist_templates");
@@ -51,3 +52,3 @@ void TemplateManager::save() {
51 conf.setGroup( QString::number( ev.uid() ) ); 52 conf.setGroup( QString::number( ev.uid() ) );
52 qWarning("Name" + it.key() ); 53 Opie::Core::owarn << "Name " << it.key() << oendl;
53 conf.writeEntry("Name", it.key() ); 54 conf.writeEntry("Name", it.key() );
@@ -59,3 +60,3 @@ void TemplateManager::addEvent( const QString& str,
59 const OPimTodo& ev) { 60 const OPimTodo& ev) {
60 qWarning("AddEvent"+ str ); 61 Opie::Core::owarn << "AddEvent " << str << oendl;
61 OPimTodo todo = ev; 62 OPimTodo todo = ev;
diff --git a/core/pim/todo/todoview.cpp b/core/pim/todo/todoview.cpp
index d99cf77..03e1060 100644
--- a/core/pim/todo/todoview.cpp
+++ b/core/pim/todo/todoview.cpp
@@ -2,2 +2,4 @@
2 2
3#include <opie2/odebug.h>
4
3#include "todoview.h" 5#include "todoview.h"
@@ -33,3 +35,3 @@ void TodoView::sort() {
33 m_sort = todoWindow()->sorted(m_asc,m_sortOrder ); 35 m_sort = todoWindow()->sorted(m_asc,m_sortOrder );
34 qWarning("m_sort.count() = %d", m_sort.count() ); 36 Opie::Core::owarn << "m_sort.count() = " << m_sort.count() << oendl;
35} 37}
@@ -42,3 +44,3 @@ void TodoView::setSortOrder( int order ) {
42void TodoView::setAscending( bool b ) { 44void TodoView::setAscending( bool b ) {
43 qWarning("setAscending %d", b ); 45 Opie::Core::owarn << "setAscending " << b << oendl;
44 m_asc = b; 46 m_asc = b;