diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-10 16:49:49 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-10 16:49:49 (GMT) |
commit | 7214d768dca85a6d43892169d5008898249dce73 (patch) | |
tree | 0f8b2820c9cb58f058263c78306987d934fec526 /UI/Qt/QtSwift.cpp | |
parent | fd89da91d12b270d56f60544cad6f1ddc809af28 (diff) | |
download | swift-contrib-7214d768dca85a6d43892169d5008898249dce73.zip swift-contrib-7214d768dca85a6d43892169d5008898249dce73.tar.bz2 |
Moved UI/Qt -> Swift/QtUI.
Diffstat (limited to 'UI/Qt/QtSwift.cpp')
-rw-r--r-- | UI/Qt/QtSwift.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/UI/Qt/QtSwift.cpp b/UI/Qt/QtSwift.cpp deleted file mode 100644 index e7d4152..0000000 --- a/UI/Qt/QtSwift.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include "QtSwift.h" - -#include "QtLoginWindowFactory.h" -#include "QtChatWindowFactory.h" -#include "QtMainWindowFactory.h" -#include "QtTreeWidgetFactory.h" - -#include <boost/bind.hpp> - -#include "Swiften/Application/Application.h" -#include "Swiften/Application/Platform/PlatformApplication.h" -#include "Swiften/Base/String.h" -#include "Swiften/Elements/Presence.h" -#include "Swiften/Client/Client.h" -#include "Swiften/Controllers/ChatController.h" -#include "Swiften/Controllers/MainController.h" - -namespace Swift{ - -QtSwift::QtSwift() : - treeWidgetFactory_(new QtTreeWidgetFactory()), - chatWindowFactory_(new QtChatWindowFactory(treeWidgetFactory_)), - rosterWindowFactory_(new QtMainWindowFactory(treeWidgetFactory_)), - loginWindowFactory_(new QtLoginWindowFactory()) { - QCoreApplication::setApplicationName("Swift"); - QCoreApplication::setOrganizationName("Swift"); - QCoreApplication::setOrganizationDomain("swift.im"); - settings_ = new QtSettingsProvider(); - application_ = new PlatformApplication("Swift"); - mainController_ = new MainController(chatWindowFactory_, rosterWindowFactory_, loginWindowFactory_, treeWidgetFactory_, settings_, application_); -} - -QtSwift::~QtSwift() { - delete chatWindowFactory_; - delete rosterWindowFactory_; - delete loginWindowFactory_; - delete treeWidgetFactory_; - delete mainController_; - delete settings_; - delete application_; -} - -} |