From e25c5384f3f3025be64ed26d244c59afc5862711 Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 23 Apr 2002 12:45:20 +0000 Subject: Patch from Stefan Eilers for overview merged by hand --- (limited to 'core/pim/todo/mainwindow.h') 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,5 +1,6 @@ /********************************************************************** - Copyright (C) 2002 Holger 'zecke' Freyther +** Copyright (C) 2002 Holger 'zecke' Freyther +** 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. @@ -29,6 +30,10 @@ class QAction; class QPopupMenu; class Ir; class OFontMenu; +class TodoLabel; +class ToDoDB; +class QWidgetStack; +class ToDoEvent; class TodoWindow : public QMainWindow { @@ -49,9 +54,11 @@ protected slots: 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(); @@ -66,9 +73,11 @@ protected: private: void populateCategories(); + //inline void switchToTable(); // move back to the normal view private: TodoTable *table; + TodoLabel *mView; QAction *editAction, *deleteAction, *findAction, @@ -77,6 +86,7 @@ private: *deleteAllAction, *duplicateAction; QPopupMenu *contextMenu, *catMenu; + QWidgetStack *mStack; bool syncing; }; -- cgit v0.9.0.2