-rw-r--r-- | core/pim/todo/tableview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp index d980a24..5bbf880 100644 --- a/core/pim/todo/tableview.cpp +++ b/core/pim/todo/tableview.cpp @@ -38,5 +38,5 @@ #include <qpe/resource.h> -#include <opie/orecur.h> +#include <opie2/opimrecurrence.h> #include "mainwindow.h" @@ -185,5 +185,5 @@ int TableView::prev() { } QString TableView::currentRepresentation() { - OTodo to = sorted()[currentRow()]; + OPimTodo to = sorted()[currentRow()]; return to.summary().isEmpty() ? to.description().left(20) : to.summary() ; } @@ -205,5 +205,5 @@ void TableView::updateView( ) { todoWindow()->setReadAhead( 4 ); sort(); - OTodoAccess::List::Iterator it, end; + OPimTodoAccess::List::Iterator it, end; it = sorted().begin(); end = sorted().end(); @@ -228,5 +228,5 @@ void TableView::updateView( ) { // int el = time.elapsed(); } -void TableView::setTodo( int, const OTodo&) { +void TableView::setTodo( int, const OPimTodo&) { sort(); @@ -234,5 +234,5 @@ void TableView::setTodo( int, const OTodo&) { repaint(); } -void TableView::addEvent( const OTodo&) { +void TableView::addEvent( const OPimTodo&) { /* fix problems of not showing the 'Haken' */ @@ -243,5 +243,5 @@ void TableView::addEvent( const OTodo&) { * and then replace the complete row */ -void TableView::replaceEvent( const OTodo& ev) { +void TableView::replaceEvent( const OPimTodo& ev) { addEvent( ev ); } @@ -389,5 +389,5 @@ void TableView::paintCell(QPainter* p, int row, int col, const QRect& cr, bool p->save(); - OTodo task = sorted()[row]; + OPimTodo task = sorted()[row]; // TODO - give user option for grid or bars? @@ -498,5 +498,5 @@ void TableView::setCellContentFromEditor(int row, int col ) { if ( wid->inherits("QComboBox") ) { int pri = ((QComboBox*)wid)->currentItem() + 1; - OTodo todo = sorted()[row]; + OPimTodo todo = sorted()[row]; if ( todo.priority() != pri ) { todo.setPriority( pri ); @@ -509,5 +509,5 @@ void TableView::setCellContentFromEditor(int row, int col ) { if ( wid->inherits("QLineEdit") ) { QString text = ((QLineEdit*)wid)->text(); - OTodo todo = sorted()[row]; + OPimTodo todo = sorted()[row]; if ( todo.summary() != text ) { todo.setSummary( text ); |