blob: 215d8cb24f38d0f375015a6d302441d844259db0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef OPIE_TASK_EDITOR_ADVANCED_IMPL_H
#define OPIE_TASK_EDITOR_ADVANCED_IMPL_H
#include "taskeditoradvanced.h"
/**
* This is the implementation of the Opie Task Editor Advanced tab
* it features the State!
* MaintainerMode
* Description
*/
class QMultiLineEdit;
class OTodo;
class TaskEditorAdvancedImpl : public TaskEditorAdvanced {
Q_OBJECT
public:
TaskEditorAdvancedImpl( QWidget* parent = 0, const char* name = 0 );
~TaskEditorAdvancedImpl();
/*
* I could have a struct which returns a QWidget*
* load and save to a OTodo
* and use multiple inheretence with all other widgets
* and then simply iterate over the list of structs
* this way I could easily have plugins for the whole editor....
* but I do not do it -zecke
*/
void load( const OTodo& );
void save( OTodo& );
private:
void initUI();
QMultiLineEdit* m_edit;
};
#endif
|