From a56d2e78ce3265b66b1443a7707cf54114da7f69 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 10 Oct 2009 20:12:58 +0000 Subject: 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 --- src/panels/information/commentwidget_p.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/panels/information/commentwidget_p.h') 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 * * Copyright (C) 2009 by Peter Penz * * * * This program is free software; you can redistribute it and/or modify * @@ -20,8 +21,11 @@ #ifndef COMMENT_WIDGET #define COMMENT_WIDGET +#include #include +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 -- cgit v1.3.1