summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtNameWidget.h')
-rw-r--r--Swift/QtUI/QtNameWidget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Swift/QtUI/QtNameWidget.h b/Swift/QtUI/QtNameWidget.h
index 0f00c41..460cc9a 100644
--- a/Swift/QtUI/QtNameWidget.h
+++ b/Swift/QtUI/QtNameWidget.h
@@ -1,4 +1,4 @@
/*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2014 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
@@ -21,4 +21,5 @@ namespace Swift {
void setNick(const QString& text);
void setJID(const QString& jid);
+ void setOnline(const bool isOnline);
signals:
@@ -32,5 +33,5 @@ namespace Swift {
enum Mode {
ShowNick,
- ShowJID,
+ ShowJID
};
@@ -40,4 +41,5 @@ namespace Swift {
QString jid;
QString nick;
+ bool isOnline_;
};
}