author | drw <drw> | 2004-02-25 16:32:24 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-25 16:32:24 (UTC) |
commit | bea97f98bfb31994425908e7ce982b2450696706 (patch) (side-by-side diff) | |
tree | 2f2bc2f55d4656b7c63a06cdce6bc35346d9388f /core/pim/todo/taskeditoralarms.h | |
parent | f84a46fce6c1b7702ec1eaebd40e363b67253649 (diff) | |
download | opie-bea97f98bfb31994425908e7ce982b2450696706.zip opie-bea97f98bfb31994425908e7ce982b2450696706.tar.gz opie-bea97f98bfb31994425908e7ce982b2450696706.tar.bz2 |
Todo: libopie->libopie2
Diffstat (limited to 'core/pim/todo/taskeditoralarms.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/taskeditoralarms.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoralarms.h b/core/pim/todo/taskeditoralarms.h index 0aa52cc..2379b0c 100644 --- a/core/pim/todo/taskeditoralarms.h +++ b/core/pim/todo/taskeditoralarms.h @@ -8,65 +8,68 @@ .="- .-=="i, .._ License as published by the Free Software - . .-<_> .<> Foundation; either version 2 of the License, ._= =} : or (at your option) any later version. .%`+i> _;_. .i_,=:_. -<s. This program is distributed in the hope that + . -:. = it will be useful, but WITHOUT ANY WARRANTY; : .. .:, . . . without even the implied warranty of =_ + =;=|` MERCHANTABILITY or FITNESS FOR A _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU ..}^=.= = ; Library General Public License for more ++= -. .` .: details. : = ...= . :.=- -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = General Public License along with -- :-=` this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef TASKEDITORALARMS_H #define TASKEDITORALARMS_H +#include <opie2/opimtodo.h> + #include <qwidget.h> class QListView; class QListViewItem; -class OTodo; + +using namespace Opie; class AlarmItem; class DateBookMonth; class TaskEditorAlarms : public QWidget { Q_OBJECT public: enum Type { Alarm = 0, Reminders }; TaskEditorAlarms( QWidget* parent = 0, int type = Alarm, const char* name = 0, WFlags fl = 0 ); ~TaskEditorAlarms(); - void load( const OTodo& ); - void save( OTodo& ); + void load( const OPimTodo& ); + void save( OPimTodo& ); private: QPopupMenu* popup( int column ); void inlineSetDate( AlarmItem*, const QPoint& p ); void inlineSetTime( AlarmItem*); void inlineSetType( AlarmItem*, const QPoint& p ); QListView* lstAlarms; QPopupMenu* m_date; QPopupMenu* m_time; QPopupMenu* m_type; DateBookMonth* m_dbMonth; protected slots: void slotNew(); void slotEdit(); void slotDelete(); void inlineEdit( QListViewItem*, const QPoint& p, int ); }; #endif // TASKEDITORALARMS_H |