diff options
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 |
