summaryrefslogtreecommitdiff
path: root/core/pim/todo/quickedit.h
Unidiff
Diffstat (limited to 'core/pim/todo/quickedit.h') (more/less context) (show 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 @@
1#ifndef OPIE_QUICK_EDIT_H 1#ifndef OPIE_QUICK_EDIT_H
2#define OPIE_QUICK_EDIT_H 2#define OPIE_QUICK_EDIT_H
3 3
4#include <qsignal.h> 4#include <qsignal.h>
5#include <qwidget.h> 5#include <qwidget.h>
6 6
7#include <opie/otodo.h> 7#include <opie2/opimtodo.h>
8
9using Opie::OPimTodo;
8 10
9namespace Todo{ 11namespace Todo{
10 class MainWindow; 12 class MainWindow;
11 struct QuickEditBase { 13 struct QuickEditBase {
12 virtual OTodo todo()const = 0l; 14 virtual OPimTodo todo()const = 0l;
13 virtual QSignal* signal() = 0l; 15 virtual QSignal* signal() = 0l;
14 virtual QWidget* widget() = 0l; 16 virtual QWidget* widget() = 0l;
15 }; 17 };
16 /* 18 /*
17 * this is my second try 19 * this is my second try
18 * of signal and slots with namespaces 20 * of signal and slots with namespaces
@@ -20,19 +22,19 @@ namespace Todo{
20 * I use a different approach now 22 * I use a different approach now
21 * I give a QSignal away 23 * I give a QSignal away
22 * and have a protected method called emit 24 * and have a protected method called emit
23 */ 25 */
24 /** 26 /**
25 * Quick edit is meant to quickly enter 27 * Quick edit is meant to quickly enter
26 * OTodos in a fast way 28 * OPimTodos in a fast way
27 */ 29 */
28 class QuickEdit : public QuickEditBase{ 30 class QuickEdit : public QuickEditBase{
29 public: 31 public:
30 QuickEdit(MainWindow* main ); 32 QuickEdit(MainWindow* main );
31 virtual ~QuickEdit(); 33 virtual ~QuickEdit();
32 //OTodo todo()const; 34 //OPimTodo todo()const;
33 QSignal* signal(); 35 QSignal* signal();
34 //QWidget* widget(); 36 //QWidget* widget();
35 protected: 37 protected:
36 MainWindow* mainWindow(); 38 MainWindow* mainWindow();
37 void commit(); 39 void commit();
38 private: 40 private: