summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.h
Unidiff
Diffstat (limited to 'core/pim/todo/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index 87a9133..86b9ac2 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -44,12 +44,13 @@ class QPopupMenu;
44class QMenuBar; 44class QMenuBar;
45class QToolBar; 45class QToolBar;
46class QAction; 46class QAction;
47class QWidgetStack; 47class QWidgetStack;
48class Ir; 48class Ir;
49class QVBox; 49class QVBox;
50class QLineEdit;
50 51
51namespace Todo { 52namespace Todo {
52 typedef TodoView View; 53 typedef TodoView View;
53 class TemplateManager; 54 class TemplateManager;
54 class Editor; 55 class Editor;
55 class TodoShow; 56 class TodoShow;
@@ -79,12 +80,13 @@ namespace Todo {
79 OTodo event(int uid ); 80 OTodo event(int uid );
80 81
81 bool isSyncing()const; 82 bool isSyncing()const;
82 bool showCompleted()const; 83 bool showCompleted()const;
83 bool showDeadline()const; 84 bool showDeadline()const;
84 bool showOverDue()const; 85 bool showOverDue()const;
86 bool showQuickTask()const;
85 QString currentCategory()const; 87 QString currentCategory()const;
86 int currentCatId(); 88 int currentCatId();
87 TemplateManager* templateManager(); 89 TemplateManager* templateManager();
88 QuickEditBase* quickEditor(); 90 QuickEditBase* quickEditor();
89 91
90 void updateTodo( const OTodo& ); 92 void updateTodo( const OTodo& );
@@ -128,12 +130,13 @@ private slots:
128 *m_completedAction, 130 *m_completedAction,
129 *m_showDeadLineAction, 131 *m_showDeadLineAction,
130 *m_deleteAllAction, 132 *m_deleteAllAction,
131 *m_deleteCompleteAction, 133 *m_deleteCompleteAction,
132 *m_duplicateAction, 134 *m_duplicateAction,
133 *m_showOverDueAction, 135 *m_showOverDueAction,
136 *m_showQuickTaskAction,
134 *m_effectiveAction; 137 *m_effectiveAction;
135 QWidgetStack *m_stack; 138 QWidgetStack *m_stack;
136 QPopupMenu* m_catMenu, 139 QPopupMenu* m_catMenu,
137 *m_edit, 140 *m_edit,
138 *m_options, 141 *m_options,
139 *m_template; 142 *m_template;
@@ -146,16 +149,16 @@ private slots:
146 QVBox* m_mainBox; 149 QVBox* m_mainBox;
147 150
148 bool m_syncing:1; 151 bool m_syncing:1;
149 bool m_deadline:1; 152 bool m_deadline:1;
150 bool m_completed:1; 153 bool m_completed:1;
151 bool m_overdue:1; 154 bool m_overdue:1;
155 bool m_quicktask:1;
152 TodoManager m_todoMgr; 156 TodoManager m_todoMgr;
153 QString m_curCat; 157 QString m_curCat;
154 QList<ViewBase> m_views; 158 QList<ViewBase> m_views;
155 QList<QuickEditBase> m_quickEdit;
156 uint m_counter; 159 uint m_counter;
157 TemplateManager* m_tempManager; 160 TemplateManager* m_tempManager;
158 161
159 162
160 private slots: 163 private slots:
161 void slotShow(int); 164 void slotShow(int);
@@ -175,12 +178,13 @@ private slots:
175 void slotFind(); 178 void slotFind();
176 179
177 void setCategory( int ); 180 void setCategory( int );
178 181
179 void slotShowDeadLine( bool ); 182 void slotShowDeadLine( bool );
180 void slotShowCompleted( bool ); 183 void slotShowCompleted( bool );
184 void slotShowQuickTask( bool );
181 185
182 void setDocument( const QString& ); 186 void setDocument( const QString& );
183 187
184 188
185 void slotBeam(); 189 void slotBeam();
186 void beamDone( Ir* ); 190 void beamDone( Ir* );