-rw-r--r-- | core/pim/todo/mainwindow.h | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h deleted file mode 100644 index 7e8445c..0000000 --- a/core/pim/todo/mainwindow.h +++ b/dev/null | |||
@@ -1,97 +0,0 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2002 Holger 'zecke' Freyther <freyther@kde.org> | ||
3 | ** Copyright (C) 2002 by Stefan Eilers (se, eilers.stefan@epost.de) | ||
4 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
5 | ** | ||
6 | ** This file is part of Qtopia and Opi Environment. | ||
7 | ** | ||
8 | ** This file may be distributed and/or modified under the terms of the | ||
9 | ** GNU General Public License version 2 as published by the Free Software | ||
10 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
11 | ** packaging of this file. | ||
12 | ** | ||
13 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
14 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
15 | ** | ||
16 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
17 | ** | ||
18 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
19 | ** not clear to you. | ||
20 | ** | ||
21 | **********************************************************************/ | ||
22 | |||
23 | #ifndef MAINWINDOW_H | ||
24 | #define MAINWINDOW_H | ||
25 | |||
26 | #include <qmainwindow.h> | ||
27 | |||
28 | class TodoTable; | ||
29 | class QAction; | ||
30 | class QPopupMenu; | ||
31 | class Ir; | ||
32 | class OFontMenu; | ||
33 | class TodoLabel; | ||
34 | class ToDoDB; | ||
35 | class QWidgetStack; | ||
36 | class ToDoEvent; | ||
37 | |||
38 | class TodoWindow : public QMainWindow | ||
39 | { | ||
40 | Q_OBJECT | ||
41 | |||
42 | public: | ||
43 | TodoWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | ||
44 | ~TodoWindow(); | ||
45 | |||
46 | public slots: | ||
47 | void flush(); | ||
48 | void reload(); | ||
49 | |||
50 | protected slots: | ||
51 | void slotNew(); | ||
52 | void slotDelete(); | ||
53 | void slotEdit(); | ||
54 | void slotShowPopup( const QPoint & ); | ||
55 | void showCompleted( bool ); | ||
56 | |||
57 | void showDeadline( bool ); | ||
58 | |||
59 | void slotShowDetails(const ToDoEvent &event ); | ||
60 | void slotShowDetails(); | ||
61 | |||
62 | void currentEntryChanged( int r, int c ); | ||
63 | void setCategory( int ); | ||
64 | void slotFind(); | ||
65 | void setDocument( const QString & ); | ||
66 | void slotBeam(); | ||
67 | void beamDone( Ir * ); | ||
68 | void slotDeleteAll(); | ||
69 | void slotDuplicate(); | ||
70 | |||
71 | protected: | ||
72 | void closeEvent( QCloseEvent *e ); | ||
73 | |||
74 | private: | ||
75 | void populateCategories(); | ||
76 | //inline void switchToTable(); // move back to the normal view | ||
77 | |||
78 | private: | ||
79 | TodoTable *table; | ||
80 | TodoLabel *mView; | ||
81 | QAction *editAction, | ||
82 | *viewAction, | ||
83 | *deleteAction, | ||
84 | *findAction, | ||
85 | *completedAction, | ||
86 | *showdeadlineAction, | ||
87 | *deleteAllAction, | ||
88 | *duplicateAction; | ||
89 | QPopupMenu *contextMenu, *catMenu; | ||
90 | QWidgetStack *mStack; | ||
91 | |||
92 | bool syncing; | ||
93 | }; | ||
94 | |||
95 | #endif | ||
96 | |||
97 | |||