summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r--Swift/QtUI/ChatList/QtChatListWindowFactory.cpp22
-rw-r--r--Swift/QtUI/ChatList/QtChatListWindowFactory.h20
2 files changed, 0 insertions, 42 deletions
diff --git a/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp b/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp
deleted file mode 100644
index 0e9d324..0000000
--- a/Swift/QtUI/ChatList/QtChatListWindowFactory.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2010 Kevin Smith
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#include "Swift/QtUI/ChatList/QtChatListWindowFactory.h"
-
-#include "Swift/QtUI/QtMainWindowFactory.h"
-#include "Swift/QtUI/QtMainWindow.h"
-
-namespace Swift {
-
-QtChatListWindowFactory::QtChatListWindowFactory(QtMainWindowFactory* mainWindowFactory) {
- mainWindowFactory_ = mainWindowFactory;
-}
-
-ChatListWindow* QtChatListWindowFactory::createWindow(UIEventStream* /*uiEventStream*/) {
- return static_cast<QtMainWindow*>(mainWindowFactory_->getLastCreatedWindow())->getChatListWindow();
-}
-
-}
diff --git a/Swift/QtUI/ChatList/QtChatListWindowFactory.h b/Swift/QtUI/ChatList/QtChatListWindowFactory.h
deleted file mode 100644
index 604ce2e..0000000
--- a/Swift/QtUI/ChatList/QtChatListWindowFactory.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2010 Kevin Smith
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#pragma once
-
-#include "Swift/Controllers/UIInterfaces/ChatListWindowFactory.h"
-
-namespace Swift {
- class QtMainWindowFactory;
- class QtChatListWindowFactory : public ChatListWindowFactory{
- public:
- QtChatListWindowFactory(QtMainWindowFactory* mainWindowFactory);
- ChatListWindow* createWindow(UIEventStream* uiEventStream);
- private:
- QtMainWindowFactory* mainWindowFactory_;
- };
-}