summaryrefslogtreecommitdiff
path: root/core/pim/todo/newtaskdlg.h
authordrw <drw>2005-01-30 00:32:33 (UTC)
committer drw <drw>2005-01-30 00:32:33 (UTC)
commit114c5c468032a08205b2d8b7da3966bff6d47875 (patch) (side-by-side diff)
treebbd79021246e747f7292eda140e424cf9d750ac5 /core/pim/todo/newtaskdlg.h
parent43f82d5c68e1d7a5b26f862c26a76253a85e7518 (diff)
downloadopie-114c5c468032a08205b2d8b7da3966bff6d47875.zip
opie-114c5c468032a08205b2d8b7da3966bff6d47875.tar.gz
opie-114c5c468032a08205b2d8b7da3966bff6d47875.tar.bz2
Convert Todo to use new OPimMainWindow functionality, plus some other code clean-ups
Diffstat (limited to 'core/pim/todo/newtaskdlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/newtaskdlg.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/core/pim/todo/newtaskdlg.h b/core/pim/todo/newtaskdlg.h
new file mode 100644
index 0000000..31398b3
--- a/dev/null
+++ b/core/pim/todo/newtaskdlg.h
@@ -0,0 +1,56 @@
+/*
+ =. This file is part of the OPIE Project
+ .=l. Copyright (c) 2002 <>
+ .>+-=
+_;:, .> :=|. This program is free software; you can
+.> <`_, > . <= redistribute it and/or modify it under
+:`=1 )Y*s>-.-- : the terms of the GNU General Public
+.="- .-=="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 NEWTASKDLG_H
+#define NEWTASKDLG_H
+
+#include <qdialog.h>
+
+#include <qstringlist.h>
+
+class QComboBox;
+class QRadioButton;
+
+class NewTaskDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ NewTaskDlg( const QStringList &templates, QWidget *parent = 0l );
+
+ QString tempSelected();
+
+private:
+ QRadioButton *m_useTemplate;
+ QComboBox *m_templateList;
+
+private slots:
+ void slotUseTemplate( bool on );
+};
+
+#endif