diff options
author | deva <deva> | 2010-06-10 07:03:06 +0000 |
---|---|---|
committer | deva <deva> | 2010-06-10 07:03:06 +0000 |
commit | 198b0d886817f2c5bc97cfd11857d4b314dffae3 (patch) | |
tree | 4fc2d51de46ab69b9e67149abf0ab6a332032f27 /client/resumewidget.h | |
parent | 730eb796bbce6f124be9194f1565b7dda1daddf1 (diff) |
Add transaction support on database pr. pracro session. Makes it possible to discard all edited macros.
Diffstat (limited to 'client/resumewidget.h')
-rw-r--r-- | client/resumewidget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/resumewidget.h b/client/resumewidget.h index fe8beb1..22f4d58 100644 --- a/client/resumewidget.h +++ b/client/resumewidget.h @@ -36,7 +36,13 @@ Q_OBJECT public: ResumeWidget(bool compact); - void setText(QString text); + typedef enum { + NEW, + OLD, + DIRTY + } state_t; + + void setText(QString text, state_t state); public slots: void showFull(const QString &); |