summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.h
Side-by-side diff
Diffstat (limited to 'core/pim/todo/tableview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/tableview.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/pim/todo/tableview.h b/core/pim/todo/tableview.h
index 721b40b..1fa21b2 100644
--- a/core/pim/todo/tableview.h
+++ b/core/pim/todo/tableview.h
@@ -33,50 +33,49 @@
#include <qmap.h>
#include "tableitems.h"
#include "todoview.h"
class QTimer;
namespace Todo {
class CheckItem;
class DueTextItem;
class TableView : public QTable, public TodoView {
Q_OBJECT
public:
TableView( MainWindow*, QWidget* parent );
~TableView();
void updateFromTable( const OTodo&, CheckItem* = 0 );
OTodo find(int uid);
QString type()const;
int current();
QString currentRepresentation();
void showOverDue( bool );
- void setTodos( OTodoAccess::List::Iterator it,
- OTodoAccess::List::Iterator end );
+ void updateView();
void setTodo( int uid, const OTodo& );
void addEvent( const OTodo& event );
void replaceEvent( const OTodo& );
void removeEvent( int uid );
void setShowCompleted( bool );
void setShowDeadline( bool );
void setShowCategory(const QString& =QString::null );
void clear();
void newDay();
QArray<int> completed();
QWidget* widget();
void sortColumn(int, bool, bool );
private:
/* reimplented for internal reasons */
void viewportPaintEvent( QPaintEvent* );
inline void insertTodo( const OTodo&, int row );
CheckItem* checkItem( int row );
DueTextItem* dueItem( int row );
QTimer *m_menuTimer;
QMap<int, CheckItem*> m_cache;
bool m_enablePaint:1;
private slots: