summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.h
authorzecke <zecke>2002-10-07 11:29:28 (UTC)
committer zecke <zecke>2002-10-07 11:29:28 (UTC)
commit772e75ae7934325172073a09f176fbbd9b64b4e0 (patch) (unidiff)
treebaa162c1d464baeb2f6e9844ae7afedc59f4ea9c /core/pim/todo/mainwindow.h
parentd9b425252bc2d3b0d9cb848f823d8eb254f38a26 (diff)
downloadopie-772e75ae7934325172073a09f176fbbd9b64b4e0.zip
opie-772e75ae7934325172073a09f176fbbd9b64b4e0.tar.gz
opie-772e75ae7934325172073a09f176fbbd9b64b4e0.tar.bz2
make place for the new todo
Diffstat (limited to 'core/pim/todo/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.h97
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
28class TodoTable;
29class QAction;
30class QPopupMenu;
31class Ir;
32class OFontMenu;
33class TodoLabel;
34class ToDoDB;
35class QWidgetStack;
36class ToDoEvent;
37
38class TodoWindow : public QMainWindow
39{
40 Q_OBJECT
41
42public:
43 TodoWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
44 ~TodoWindow();
45
46public slots:
47 void flush();
48 void reload();
49
50protected 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
71protected:
72 void closeEvent( QCloseEvent *e );
73
74private:
75 void populateCategories();
76 //inline void switchToTable(); // move back to the normal view
77
78private:
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