-rw-r--r-- | core/pim/todo/tableview.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/todo/tableview.h b/core/pim/todo/tableview.h index 528ddc9..7f78255 100644 --- a/core/pim/todo/tableview.h +++ b/core/pim/todo/tableview.h | |||
@@ -47,41 +47,41 @@ namespace Todo { | |||
47 | ~TableView(); | 47 | ~TableView(); |
48 | 48 | ||
49 | 49 | ||
50 | QString type()const; | 50 | QString type()const; |
51 | int current(); | 51 | int current(); |
52 | QString currentRepresentation(); | 52 | QString currentRepresentation(); |
53 | int next(); | 53 | int next(); |
54 | int prev(); | 54 | int prev(); |
55 | 55 | ||
56 | void clear(); | 56 | void clear(); |
57 | void showOverDue( bool ); | 57 | void showOverDue( bool ); |
58 | void updateView(); | 58 | void updateView(); |
59 | void setTodo( int uid, const OTodo& ); | 59 | void setTodo( int uid, const OPimTodo& ); |
60 | void addEvent( const OTodo& event ); | 60 | void addEvent( const OPimTodo& event ); |
61 | void replaceEvent( const OTodo& ); | 61 | void replaceEvent( const OPimTodo& ); |
62 | void removeEvent( int uid ); | 62 | void removeEvent( int uid ); |
63 | void setShowCompleted( bool ); | 63 | void setShowCompleted( bool ); |
64 | void setShowDeadline( bool ); | 64 | void setShowDeadline( bool ); |
65 | 65 | ||
66 | void setShowCategory(const QString& =QString::null ); | 66 | void setShowCategory(const QString& =QString::null ); |
67 | void newDay(); | 67 | void newDay(); |
68 | QWidget* widget(); | 68 | QWidget* widget(); |
69 | void sortColumn(int, bool, bool ); | 69 | void sortColumn(int, bool, bool ); |
70 | 70 | ||
71 | /* | 71 | /* |
72 | * we do our drawing ourselves | 72 | * we do our drawing ourselves |
73 | * because we don't want to have | 73 | * because we don't want to have |
74 | * 40.000 QTableItems for 10.000 | 74 | * 40.000 QTableItems for 10.000 |
75 | * OTodos where we only show 10 at a time! | 75 | * OPimTodos where we only show 10 at a time! |
76 | */ | 76 | */ |
77 | void paintCell(QPainter* p, int row, int col, const QRect&, bool ); | 77 | void paintCell(QPainter* p, int row, int col, const QRect&, bool ); |
78 | private: | 78 | private: |
79 | /* reimplented for internal reasons */ | 79 | /* reimplented for internal reasons */ |
80 | void viewportPaintEvent( QPaintEvent* ); | 80 | void viewportPaintEvent( QPaintEvent* ); |
81 | QTimer *m_menuTimer; | 81 | QTimer *m_menuTimer; |
82 | bool m_enablePaint:1; | 82 | bool m_enablePaint:1; |
83 | QString m_oleCat; | 83 | QString m_oleCat; |
84 | bool m_first : 1; | 84 | bool m_first : 1; |
85 | 85 | ||
86 | QPixmap m_pic_completed; | 86 | QPixmap m_pic_completed; |
87 | QPixmap m_pic_priority[ 5 ]; | 87 | QPixmap m_pic_priority[ 5 ]; |