summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.h
Unidiff
Diffstat (limited to 'core/pim/todo/todoshow.h') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/todoshow.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/core/pim/todo/todoshow.h b/core/pim/todo/todoshow.h
new file mode 100644
index 0000000..198e9ae
--- a/dev/null
+++ b/core/pim/todo/todoshow.h
@@ -0,0 +1,53 @@
1/*
2               =. This file is part of the OPIE Project
3             .=l. Copyright (c) 2002 <>
4           .>+-=
5 _;:,     .>    :=|. This program is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This program is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.=       =       ; Library General Public License for more
18++=   -.     .`     .: details.
19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = Library General Public License along with
22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
28#ifndef TODO_TODO_SHOW_H
29#define TODO_TODO_SHOW_H
30
31#include <qstring.h>
32#include <qwidget.h>
33
34#include <opie/otodo.h>
35
36namespace Todo {
37 /**
38 * TodoShow is the baseclass of
39 * of all TodoShows.
40 * The first implementation is a QTextView
41 * implementation showing the Todo as richtext
42 */
43 class TodoShow {
44 public:
45 TodoShow();
46 virtual ~TodoShow();
47 virtual QString type()const = 0;
48 virtual void slotShow( const OTodo& ev ) = 0;
49 virtual QWidget* widget() = 0;
50 };
51};
52
53#endif