Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

otaskeditor.h

Go to the documentation of this file.
00001 /*
00002                              This file is part of the Opie Project
00003 
00004                              Copyright (C) Opie Team <opie-devel@handhelds.org>
00005               =.
00006             .=l.
00007            .>+-=
00008  _;:,     .>    :=|.         This program is free software; you can
00009 .> <`_,   >  .   <=          redistribute it and/or  modify it under
00010 :`=1 )Y*s>-.--   :           the terms of the GNU Library General Public
00011 .="- .-=="i,     .._         License as published by the Free Software
00012  - .   .-<_>     .<>         Foundation; either version 2 of the License,
00013      ._= =}       :          or (at your option) any later version.
00014     .%`+i>       _;_.
00015     .i_,=:_.      -<s.       This program is distributed in the hope that
00016      +  .  -:.       =       it will be useful,  but WITHOUT ANY WARRANTY;
00017     : ..    .:,     . . .    without even the implied warranty of
00018     =_        +     =;=|`    MERCHANTABILITY or FITNESS FOR A
00019   _.=:.       :    :=>`:     PARTICULAR PURPOSE. See the GNU
00020 ..}^=.=       =       ;      Library General Public License for more
00021 ++=   -.     .`     .:       details.
00022 :     =  ...= . :.=-
00023  -.   .:....=;==+<;          You should have received a copy of the GNU
00024   -_. . .   )=.  =           Library General Public License along with
00025     --        :-=`           this library; see the file COPYING.LIB.
00026                              If not, write to the Free Software Foundation,
00027                              Inc., 59 Temple Place - Suite 330,
00028                              Boston, MA 02111-1307, USA.
00029 */
00030 
00031 #ifndef OPIE_TASK_EDITOR_H
00032 #define OPIE_TASK_EDITOR_H
00033 
00034 #include <qdialog.h>
00035 
00036 #include <opie2/opimtodo.h>
00037 #include <opie2/otabwidget.h>
00038 #include <opie2/opimrecurrencewidget.h>
00039 #include <opie2/opimrecurrencewidget.h>
00040 
00041 class TaskEditorOverView;
00042 class TaskEditorStatus;
00043 class TaskEditorAlarms;
00044 class QMultiLineEdit;
00045 
00046 class OTaskEditor : public QDialog {
00047     Q_OBJECT
00048 public:
00049     OTaskEditor(int cur);
00050     OTaskEditor( const Opie::OPimTodo& todo );
00051     ~OTaskEditor();
00052 
00053     /*
00054      * same as the c'tor but this gives us the
00055      * power to 'preload' the dialog
00056      */
00057     void init( int cur );
00058     void init( const Opie::OPimTodo& todo );
00059 
00060     Opie::OPimTodo todo()const;
00061 private:
00062     void load( const Opie::OPimTodo& );
00063     void init();
00064 
00065     Opie::Ui::OTabWidget         *m_tab;
00066     TaskEditorOverView *m_overView;
00067     TaskEditorStatus   *m_stat;
00068     TaskEditorAlarms   *m_alarm;
00069     TaskEditorAlarms   *m_remind;
00070     OPimRecurrenceWidget  *m_rec;
00071     Opie::OPimTodo              m_todo;
00072 };
00073 
00074 #endif

Generated on Sat Nov 5 16:15:55 2005 for OPIE by  doxygen 1.4.2