summaryrefslogtreecommitdiff
path: root/core/pim/todo/quickedit.h
Side-by-side diff
Diffstat (limited to 'core/pim/todo/quickedit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/quickedit.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/todo/quickedit.h b/core/pim/todo/quickedit.h
index 5fe74fe..0c0c204 100644
--- a/core/pim/todo/quickedit.h
+++ b/core/pim/todo/quickedit.h
@@ -1,18 +1,20 @@
#ifndef OPIE_QUICK_EDIT_H
#define OPIE_QUICK_EDIT_H
#include <qsignal.h>
#include <qwidget.h>
-#include <opie/otodo.h>
+#include <opie2/opimtodo.h>
+
+using Opie::OPimTodo;
namespace Todo{
class MainWindow;
struct QuickEditBase {
- virtual OTodo todo()const = 0l;
+ virtual OPimTodo todo()const = 0l;
virtual QSignal* signal() = 0l;
virtual QWidget* widget() = 0l;
};
/*
* this is my second try
* of signal and slots with namespaces
@@ -20,19 +22,19 @@ namespace Todo{
* I use a different approach now
* I give a QSignal away
* and have a protected method called emit
*/
/**
* Quick edit is meant to quickly enter
- * OTodos in a fast way
+ * OPimTodos in a fast way
*/
class QuickEdit : public QuickEditBase{
public:
QuickEdit(MainWindow* main );
virtual ~QuickEdit();
- //OTodo todo()const;
+ //OPimTodo todo()const;
QSignal* signal();
//QWidget* widget();
protected:
MainWindow* mainWindow();
void commit();
private: