blob: d0f6c6963f1248060b48d95a2f918410da1210d7 (
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
|
#ifndef OPIE_QUICK_EDIT_IMPL_H
#define OPIE_QUICK_EDIT_IMPL_H
#include <qhbox.h>
#include "quickedit.h"
class QLineEdit;
class QLabel;
class QuickEditImpl : public QHBox, public Todo::QuickEdit {
Q_OBJECT
public:
QuickEditImpl( Todo::MainWindow* win , QWidget* parent);
~QuickEditImpl();
OTodo todo()const;
QWidget* widget();
QSize sizeHint()const;
private slots:
void slotEnter();
void slotPrio();
void slotMore();
private:
void reinit();
int m_state;
QLabel* m_lbl;
QLineEdit* m_edit;
QLabel* m_enter;
QLabel* m_more;
QPopupMenu* m_menu;
OTodo m_todo;
};
#endif
|