summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-07-08 18:51:36 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-07-08 18:53:04 (GMT)
commit092d1572c2c8378ca9f48a6b2ecb57bc5f2c2161 (patch)
treeb19712e2e5703f132c899272012419455c354ccd
parent3f64b385d1a3afe0f88c64820c6fdb8a7eb395e2 (diff)
downloadswift-092d1572c2c8378ca9f48a6b2ecb57bc5f2c2161.zip
swift-092d1572c2c8378ca9f48a6b2ecb57bc5f2c2161.tar.bz2
Removing setJID again.
-rw-r--r--Swift/Controllers/UIInterfaces/ChatWindow.h2
-rw-r--r--Swift/Controllers/UnitTest/MockChatWindow.h1
-rw-r--r--Swift/QtUI/QtChatWindow.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/Swift/Controllers/UIInterfaces/ChatWindow.h b/Swift/Controllers/UIInterfaces/ChatWindow.h
index 946cd2c..f65328d 100644
--- a/Swift/Controllers/UIInterfaces/ChatWindow.h
+++ b/Swift/Controllers/UIInterfaces/ChatWindow.h
@@ -29,8 +29,6 @@ namespace Swift {
ChatWindow() {}
virtual ~ChatWindow() {};
- virtual void setJID(const JID& jid) = 0;
-
/** Add message to window.
* @return id of added message (for acks).
*/
diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h
index 6276b58..a5765fd 100644
--- a/Swift/Controllers/UnitTest/MockChatWindow.h
+++ b/Swift/Controllers/UnitTest/MockChatWindow.h
@@ -37,7 +37,6 @@ namespace Swift {
virtual void replaceMessage(const std::string&, const std::string&, const boost::posix_time::ptime&) {};
void setAckState(const std::string& /*id*/, AckState /*state*/) {};
virtual void flash() {};
- virtual void setJID(const JID& jid) {}
boost::signal<void ()> onClosed;
boost::signal<void ()> onAllMessagesRead;
diff --git a/Swift/QtUI/QtChatWindow.h b/Swift/QtUI/QtChatWindow.h
index feed75e..78d8f91 100644
--- a/Swift/QtUI/QtChatWindow.h
+++ b/Swift/QtUI/QtChatWindow.h
@@ -60,8 +60,6 @@ namespace Swift {
void flash();
QByteArray getSplitterState();
- void setJID(const JID& ) {}
-
public slots:
void handleChangeSplitterState(QByteArray state);
void handleFontResized(int fontSizeSteps);