X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Ftopicwidget.h;h=c28a2eb43c627da99edcf47058952337a52e59ca;hp=d6c1ab9c850884e03bd5f0f6d47bc144a7087f5b;hb=e5ef65b239e9a128a5cf86e6eef9bce1fd098448;hpb=9fd4619e9aca7d53d7c5df156a0b25956a1bf682 diff --git a/src/qtui/topicwidget.h b/src/qtui/topicwidget.h index d6c1ab9c..c28a2eb4 100644 --- a/src/qtui/topicwidget.h +++ b/src/qtui/topicwidget.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005/06 by The Quassel Team * + * Copyright (C) 2005/06 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -27,11 +27,14 @@ class TopicWidget : public QWidget { Q_OBJECT + Q_PROPERTY(QString topic READ topic WRITE setTopic STORED false) public: TopicWidget(QWidget *parent = 0); virtual ~TopicWidget(); + QString topic() const; + void setTopic(const QString &newtopic); private: Ui::TopicWidget ui;