-rw-r--r-- | core/pim/todo/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index 02e2449..b04a958 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h | |||
@@ -109,24 +109,25 @@ private slots: | |||
109 | void receiveFile( const QString& filename ); | 109 | void receiveFile( const QString& filename ); |
110 | void connectBase( ViewBase* ); | 110 | void connectBase( ViewBase* ); |
111 | void initUI(); | 111 | void initUI(); |
112 | void initActions(); | 112 | void initActions(); |
113 | void initConfig(); | 113 | void initConfig(); |
114 | void initViews(); | 114 | void initViews(); |
115 | void initEditor(); | 115 | void initEditor(); |
116 | void initShow(); | 116 | void initShow(); |
117 | void initTemplate(); | 117 | void initTemplate(); |
118 | void raiseCurrentView(); | 118 | void raiseCurrentView(); |
119 | ViewBase* currentView(); | 119 | ViewBase* currentView(); |
120 | ViewBase* m_curView; | 120 | ViewBase* m_curView; |
121 | bool m_showing : 1; // used to see if we show a todo in the cases we shouldn't change the table | ||
121 | QuickEditBase* m_curQuick; | 122 | QuickEditBase* m_curQuick; |
122 | Editor* m_curEdit; | 123 | Editor* m_curEdit; |
123 | TodoShow* currentShow(); | 124 | TodoShow* currentShow(); |
124 | TodoShow* m_curShow; | 125 | TodoShow* m_curShow; |
125 | TemplateEditor* currentTemplateEditor(); | 126 | TemplateEditor* currentTemplateEditor(); |
126 | TemplateEditor* m_curTempEd; | 127 | TemplateEditor* m_curTempEd; |
127 | 128 | ||
128 | QMenuBar* m_bar; | 129 | QMenuBar* m_bar; |
129 | QToolBar* m_tool; | 130 | QToolBar* m_tool; |
130 | QAction* m_editAction, | 131 | QAction* m_editAction, |
131 | *m_deleteAction, | 132 | *m_deleteAction, |
132 | *m_findAction, | 133 | *m_findAction, |
@@ -158,42 +159,45 @@ private slots: | |||
158 | 159 | ||
159 | private slots: | 160 | private slots: |
160 | void slotShow(int); | 161 | void slotShow(int); |
161 | void slotEdit(int); | 162 | void slotEdit(int); |
162 | void slotUpdate3( QWidget* ); | 163 | void slotUpdate3( QWidget* ); |
163 | void slotComplete( int uid ); | 164 | void slotComplete( int uid ); |
164 | void slotComplete( const OTodo& ev ); | 165 | void slotComplete( const OTodo& ev ); |
165 | void slotNewFromTemplate(int id ); | 166 | void slotNewFromTemplate(int id ); |
166 | void slotNew(); | 167 | void slotNew(); |
167 | void slotDuplicate(); | 168 | void slotDuplicate(); |
168 | 169 | ||
169 | void slotDelete(); | 170 | void slotDelete(); |
171 | void slotDelete(int uid ); | ||
170 | void slotDeleteAll(); | 172 | void slotDeleteAll(); |
171 | void slotDeleteCompleted(); | 173 | void slotDeleteCompleted(); |
172 | 174 | ||
173 | void slotEdit(); | 175 | void slotEdit(); |
174 | void slotFind(); | 176 | void slotFind(); |
175 | 177 | ||
176 | void setCategory( int ); | 178 | void setCategory( int ); |
177 | 179 | ||
178 | void slotShowDeadLine( bool ); | 180 | void slotShowDeadLine( bool ); |
179 | void slotShowCompleted( bool ); | 181 | void slotShowCompleted( bool ); |
180 | void slotShowQuickTask( bool ); | 182 | void slotShowQuickTask( bool ); |
181 | 183 | ||
182 | void setDocument( const QString& ); | 184 | void setDocument( const QString& ); |
183 | 185 | ||
184 | 186 | ||
185 | void slotBeam(); | 187 | void slotBeam(); |
186 | void beamDone( Ir* ); | 188 | void beamDone( Ir* ); |
187 | void slotShowDetails(); | 189 | void slotShowDetails(); |
190 | void slotShowNext(); | ||
191 | void slotShowPrev(); | ||
188 | void slotShowDue( bool ); | 192 | void slotShowDue( bool ); |
189 | void slotReturnFromView(); // for TodoShow... | 193 | void slotReturnFromView(); // for TodoShow... |
190 | /* reimplementation from opimmainwindow */ | 194 | /* reimplementation from opimmainwindow */ |
191 | protected slots: | 195 | protected slots: |
192 | void flush(); | 196 | void flush(); |
193 | void reload(); | 197 | void reload(); |
194 | int create(); | 198 | int create(); |
195 | bool remove( int uid ); | 199 | bool remove( int uid ); |
196 | void beam(int uid); | 200 | void beam(int uid); |
197 | void show( int uid ); | 201 | void show( int uid ); |
198 | void edit( int uid ); | 202 | void edit( int uid ); |
199 | void add( const OPimRecord& ); | 203 | void add( const OPimRecord& ); |