-rw-r--r-- | core/pim/todo/mainwindow.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h index b9172e1..f62ec6e 100644 --- a/core/pim/todo/mainwindow.h +++ b/core/pim/todo/mainwindow.h @@ -1,6 +1,7 @@ /********************************************************************** - Copyright (C) 2002 Holger 'zecke' Freyther <freyther@kde.org> +** Copyright (C) 2002 Holger 'zecke' Freyther <freyther@kde.org> +** Copyright (C) 2002 by Stefan Eilers (se, eilers.stefan@epost.de) ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** ** This file is part of Qtopia and Opi Environment. ** @@ -28,8 +29,12 @@ class TodoTable; class QAction; class QPopupMenu; class Ir; class OFontMenu; +class TodoLabel; +class ToDoDB; +class QWidgetStack; +class ToDoEvent; class TodoWindow : public QMainWindow { Q_OBJECT @@ -48,11 +53,13 @@ protected slots: void slotEdit(); void slotShowPopup( const QPoint & ); void showCompleted( bool ); - /* added 20.01.2k2 by se */ void showDeadline( bool ); + void slotShowDetails(const ToDoEvent &event ); + void slotShowDetails(); + void currentEntryChanged( int r, int c ); void setCategory( int ); void slotFind(); void setDocument( const QString & ); @@ -65,19 +72,22 @@ protected: void closeEvent( QCloseEvent *e ); private: void populateCategories(); + //inline void switchToTable(); // move back to the normal view private: TodoTable *table; + TodoLabel *mView; QAction *editAction, *deleteAction, *findAction, *completedAction, *showdeadlineAction, *deleteAllAction, *duplicateAction; QPopupMenu *contextMenu, *catMenu; + QWidgetStack *mStack; bool syncing; }; |