diff options
| author | Peter Penz <[email protected]> | 2009-10-10 20:12:58 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-10-10 20:12:58 +0000 |
| commit | a56d2e78ce3265b66b1443a7707cf54114da7f69 (patch) | |
| tree | 19271ad659c1e97d332f28b55191604d9051d6b2 /src/panels/information/commentwidget_p.h | |
| parent | eaeee9f7d68d120b1982f24e73d8183db3418261 (diff) | |
Reactivate reading of the meta data for the rating, comments and tags. All expensive operations are done in a separate thread to assure that the Dolphin UI never gets blocked.
svn path=/trunk/KDE/kdebase/apps/; revision=1033696
Diffstat (limited to 'src/panels/information/commentwidget_p.h')
| -rw-r--r-- | src/panels/information/commentwidget_p.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/panels/information/commentwidget_p.h b/src/panels/information/commentwidget_p.h index b3768b131..67bced044 100644 --- a/src/panels/information/commentwidget_p.h +++ b/src/panels/information/commentwidget_p.h @@ -1,4 +1,5 @@ /*************************************************************************** + * Copyright (C) 2008 by Sebastian Trueg <[email protected]> * * Copyright (C) 2009 by Peter Penz <[email protected]> * * * * This program is free software; you can redistribute it and/or modify * @@ -20,8 +21,11 @@ #ifndef COMMENT_WIDGET #define COMMENT_WIDGET +#include <QString> #include <QWidget> +class QLabel; + class CommentWidget : public QWidget { Q_OBJECT @@ -29,6 +33,16 @@ class CommentWidget : public QWidget public: CommentWidget(QWidget* parent); virtual ~CommentWidget(); + + void setText(const QString& comment); + QString text() const; + +private slots: + void slotLinkActivated(const QString& link); + +private: + QLabel* m_label; + QString m_comment; }; #endif |
