summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoshow.h
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoshow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoshow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/todo/todoshow.h b/core/pim/todo/todoshow.h
index 2babe93..1eeadf8 100644
--- a/core/pim/todo/todoshow.h
+++ b/core/pim/todo/todoshow.h
@@ -10,51 +10,53 @@
     ._= =}       : 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
  -_. . .   )=.  = Library 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 TODO_TODO_SHOW_H
#define TODO_TODO_SHOW_H
#include <qstring.h>
#include <qwidget.h>
-#include <opie/otodo.h>
+#include <opie2/opimtodo.h>
+
+using Opie::OPimTodo;
namespace Todo {
class MainWindow;
/**
* TodoShow is the baseclass of
* of all TodoShows.
* The first implementation is a QTextView
* implementation showing the Todo as richtext
*/
class TodoShow {
public:
TodoShow( MainWindow* win);
virtual ~TodoShow();
virtual QString type()const = 0;
- virtual void slotShow( const OTodo& ev ) = 0;
+ virtual void slotShow( const OPimTodo& ev ) = 0;
virtual QWidget* widget() = 0;
protected:
void escapeView();
void showNext();
void showPrev();
private:
MainWindow *m_win;
};
};
#endif