-rw-r--r-- | core/pim/todo/quickedit.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/core/pim/todo/quickedit.cpp b/core/pim/todo/quickedit.cpp new file mode 100644 index 0000000..edcd48a --- a/dev/null +++ b/core/pim/todo/quickedit.cpp | |||
@@ -0,0 +1,22 @@ | |||
1 | #include "mainwindow.h" | ||
2 | #include "quickedit.h" | ||
3 | |||
4 | using namespace Todo; | ||
5 | |||
6 | // not so interesting part base Implementation | ||
7 | QuickEdit::QuickEdit(MainWindow* main ) | ||
8 | : m_main( main ) { | ||
9 | m_sig = new QSignal(); | ||
10 | } | ||
11 | QuickEdit::~QuickEdit() { | ||
12 | delete m_sig; | ||
13 | } | ||
14 | QSignal* QuickEdit::signal() { | ||
15 | return m_sig; | ||
16 | } | ||
17 | MainWindow* QuickEdit::mainWindow() { | ||
18 | return m_main; | ||
19 | } | ||
20 | void QuickEdit::commit() { | ||
21 | m_sig->activate(); | ||
22 | } | ||