diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-17 10:33:48 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-17 16:09:00 (GMT) |
commit | ce54856995e6efe067276ed2f1a8c67decbc5abf (patch) | |
tree | 9eefceaa7c908daf649ccf8fb67716324cdb11fe /Swift/QtUI/EventViewer | |
parent | 0f69400cf4572a970cf602a2c5b90ffc38a4b3b0 (diff) | |
download | swift-contrib-ce54856995e6efe067276ed2f1a8c67decbc5abf.zip swift-contrib-ce54856995e6efe067276ed2f1a8c67decbc5abf.tar.bz2 |
Fixed IPv6 network test.
Diffstat (limited to 'Swift/QtUI/EventViewer')
-rw-r--r-- | Swift/QtUI/EventViewer/QtEventWindowFactory.cpp | 22 | ||||
-rw-r--r-- | Swift/QtUI/EventViewer/QtEventWindowFactory.h | 22 |
2 files changed, 0 insertions, 44 deletions
diff --git a/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp b/Swift/QtUI/EventViewer/QtEventWindowFactory.cpp deleted file mode 100644 index 45f6da0..0000000 --- a/Swift/QtUI/EventViewer/QtEventWindowFactory.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/EventViewer/QtEventWindowFactory.h" - -#include "Swift/QtUI/QtMainWindowFactory.h" -#include "Swift/QtUI/QtMainWindow.h" - -namespace Swift { - -QtEventWindowFactory::QtEventWindowFactory(QtMainWindowFactory* mainWindowFactory) { - mainWindowFactory_ = mainWindowFactory; -} - -EventWindow* QtEventWindowFactory::createEventWindow() { - return static_cast<QtMainWindow*>(mainWindowFactory_->getLastCreatedWindow())->getEventWindow(); -} - -} diff --git a/Swift/QtUI/EventViewer/QtEventWindowFactory.h b/Swift/QtUI/EventViewer/QtEventWindowFactory.h deleted file mode 100644 index af64a58..0000000 --- a/Swift/QtUI/EventViewer/QtEventWindowFactory.h +++ /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. - */ - -#pragma once - -#include "Swift/Controllers/UIInterfaces/EventWindowFactory.h" - -namespace Swift { - class QtMainWindowFactory; - class QtEventWindowFactory : public EventWindowFactory { - public: - QtEventWindowFactory(QtMainWindowFactory* mainWindowFactory); - virtual EventWindow* createEventWindow(); - private: - QtMainWindowFactory* mainWindowFactory_; - }; -} - - |