author | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-08-01 14:22:29 (UTC) |
commit | 7d51872c86155fbbf27aeb8e49e7a336d909caac (patch) (unidiff) | |
tree | 55ecf3452d6711065e36c6bceab8ec52bd5525d8 /core/pim/todo/tableview.h | |
parent | 34991bac7d96b1c17601be6a5607819342571e0c (diff) | |
download | opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.zip opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.gz opie-7d51872c86155fbbf27aeb8e49e7a336d909caac.tar.bz2 |
Merging changes from BRANCH_1_0 to HEAD
-rw-r--r-- | core/pim/todo/tableview.h | 18 |
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 | ||
95 | private slots: | 113 | private slots: |