projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started to reorganize the Buffer{Model|View|Filter}. Mostly cleanup at the moment.
[quassel.git]
/
src
/
qtui
/
topicwidget.cpp
diff --git
a/src/qtui/topicwidget.cpp
b/src/qtui/topicwidget.cpp
index
a16807f
..
0d9cb25
100644
(file)
--- a/
src/qtui/topicwidget.cpp
+++ b/
src/qtui/topicwidget.cpp
@@
-26,7
+26,14
@@
TopicWidget::TopicWidget(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
: QWidget(parent)
{
ui.setupUi(this);
- ui.topicLineEdit->setText("+++ DUMMY TOPIC +++ DUMMY TOPIC +++");
+}
+
+QString TopicWidget::topic() const {
+ return ui.topicLineEdit->text();
+}
+
+void TopicWidget::setTopic(const QString &newtopic) {
+ ui.topicLineEdit->setText(newtopic);
}
TopicWidget::~TopicWidget() {
}
TopicWidget::~TopicWidget() {