summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/EventViewer')
-rw-r--r--Swift/QtUI/EventViewer/QtEventWindowFactory.cpp22
-rw-r--r--Swift/QtUI/EventViewer/QtEventWindowFactory.h22
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_;
- };
-}
-
-