summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.h
Unidiff
Diffstat (limited to 'core/pim/todo/tableview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/tableview.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/core/pim/todo/tableview.h b/core/pim/todo/tableview.h
index 689c496..528ddc9 100644
--- a/core/pim/todo/tableview.h
+++ b/core/pim/todo/tableview.h
@@ -51,4 +51,6 @@ namespace Todo {
51 int current(); 51 int current();
52 QString currentRepresentation(); 52 QString currentRepresentation();
53 int next();
54 int prev();
53 55
54 void clear(); 56 void clear();
@@ -92,4 +94,20 @@ namespace Todo {
92 QWidget* createEditor(int row, int col, bool initFromCell )const; 94 QWidget* createEditor(int row, int col, bool initFromCell )const;
93 void setCellContentFromEditor( int row, int col ); 95 void setCellContentFromEditor( int row, int col );
96 /**
97 * for inline editing on single click and to work around some
98 * bug in qt2.3.5
99 */
100 struct EditorWidget {
101 EditorWidget();
102 void setCellWidget(QWidget*, int row, int col );
103 void releaseCellWidget();
104 QWidget* cellWidget()const;
105 int cellRow()const;
106 int cellCol()const;
107 private:
108 QWidget* m_wid;
109 int m_row, m_col;
110 };
111 EditorWidget m_editorWidget;
94 112
95private slots: 113private slots: