-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 @@ -39,3 +39,3 @@ -#include <opie/orecur.h> +#include <opie2/opimrecurrence.h> @@ -186,3 +186,3 @@ int TableView::prev() { QString TableView::currentRepresentation() { - OTodo to = sorted()[currentRow()]; + OPimTodo to = sorted()[currentRow()]; return to.summary().isEmpty() ? to.description().left(20) : to.summary() ; @@ -206,3 +206,3 @@ void TableView::updateView( ) { sort(); - OTodoAccess::List::Iterator it, end; + OPimTodoAccess::List::Iterator it, end; it = sorted().begin(); @@ -229,3 +229,3 @@ void TableView::updateView( ) { } -void TableView::setTodo( int, const OTodo&) { +void TableView::setTodo( int, const OPimTodo&) { sort(); @@ -235,3 +235,3 @@ void TableView::setTodo( int, const OTodo&) { } -void TableView::addEvent( const OTodo&) { +void TableView::addEvent( const OPimTodo&) { @@ -244,3 +244,3 @@ void TableView::addEvent( const OTodo&) { */ -void TableView::replaceEvent( const OTodo& ev) { +void TableView::replaceEvent( const OPimTodo& ev) { addEvent( ev ); @@ -390,3 +390,3 @@ void TableView::paintCell(QPainter* p, int row, int col, const QRect& cr, bool - OTodo task = sorted()[row]; + OPimTodo task = sorted()[row]; @@ -499,3 +499,3 @@ void TableView::setCellContentFromEditor(int row, int col ) { int pri = ((QComboBox*)wid)->currentItem() + 1; - OTodo todo = sorted()[row]; + OPimTodo todo = sorted()[row]; if ( todo.priority() != pri ) { @@ -510,3 +510,3 @@ void TableView::setCellContentFromEditor(int row, int col ) { QString text = ((QLineEdit*)wid)->text(); - OTodo todo = sorted()[row]; + OPimTodo todo = sorted()[row]; if ( todo.summary() != text ) { |