-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 @@ -/********************************************************************** -** 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. -** -** This file may be distributed and/or modified under the terms of the -** GNU General Public License version 2 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the -** packaging of this file. -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -** See http://www.trolltech.com/gpl/ for GPL licensing information. -** -** Contact info@trolltech.com if any conditions of this licensing are -** not clear to you. -** -**********************************************************************/ - -#ifndef MAINWINDOW_H -#define MAINWINDOW_H - -#include <qmainwindow.h> - -class TodoTable; -class QAction; -class QPopupMenu; -class Ir; -class OFontMenu; -class TodoLabel; -class ToDoDB; -class QWidgetStack; -class ToDoEvent; - -class TodoWindow : public QMainWindow -{ - Q_OBJECT - -public: - TodoWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); - ~TodoWindow(); - -public slots: - void flush(); - void reload(); - -protected slots: - void slotNew(); - void slotDelete(); - void slotEdit(); - void slotShowPopup( const QPoint & ); - void showCompleted( bool ); - - 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 & ); - void slotBeam(); - void beamDone( Ir * ); - void slotDeleteAll(); - void slotDuplicate(); - -protected: - void closeEvent( QCloseEvent *e ); - -private: - void populateCategories(); - //inline void switchToTable(); // move back to the normal view - -private: - TodoTable *table; - TodoLabel *mView; - QAction *editAction, - *viewAction, - *deleteAction, - *findAction, - *completedAction, - *showdeadlineAction, - *deleteAllAction, - *duplicateAction; - QPopupMenu *contextMenu, *catMenu; - QWidgetStack *mStack; - - bool syncing; -}; - -#endif - - |