diff options
| author | Peter Penz <[email protected]> | 2009-06-21 08:16:03 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-06-21 08:16:03 +0000 |
| commit | 6e3e08e33ce46101542d2dadf2b363d0b823a647 (patch) | |
| tree | 069634917fd4180afc785961ee4563cf0c046f21 /src/panels/information/commentwidget.h | |
| parent | 356c81cbf872febaf0cccb7438ccecaec0788f77 (diff) | |
Simplify how Nepomuk comments can be edited by the user:
- don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget
- automatically save changes, no explicit confirmation required
svn path=/trunk/KDE/kdebase/apps/; revision=984592
Diffstat (limited to 'src/panels/information/commentwidget.h')
| -rw-r--r-- | src/panels/information/commentwidget.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/panels/information/commentwidget.h b/src/panels/information/commentwidget.h index 8c588518c..93460d703 100644 --- a/src/panels/information/commentwidget.h +++ b/src/panels/information/commentwidget.h @@ -28,17 +28,19 @@ class CommentWidget : public QWidget public: CommentWidget( QWidget* parent = 0 ); - ~CommentWidget(); + virtual ~CommentWidget(); void setComment( const QString& comment ); QString comment() const; + QString editorText() const; + + virtual bool eventFilter( QObject* watched, QEvent* event ); + Q_SIGNALS: void commentChanged( const QString& ); private: - bool eventFilter( QObject* watched, QEvent* event ); - class Private; Private* const d; |
