summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtXMLConsoleWidgetFactory.cpp')
-rw-r--r--Swift/QtUI/QtXMLConsoleWidgetFactory.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/Swift/QtUI/QtXMLConsoleWidgetFactory.cpp b/Swift/QtUI/QtXMLConsoleWidgetFactory.cpp
deleted file mode 100644
index e3f9e0a..0000000
--- a/Swift/QtUI/QtXMLConsoleWidgetFactory.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#include "QtXMLConsoleWidgetFactory.h"
-
-#include "QtXMLConsoleWidget.h"
-#include "QtChatTabs.h"
-
-namespace Swift {
-
-QtXMLConsoleWidgetFactory::QtXMLConsoleWidgetFactory(QtChatTabs* tabs) {
- tabs_ = tabs;
-}
-
-XMLConsoleWidget* QtXMLConsoleWidgetFactory::createXMLConsoleWidget() {
- QtXMLConsoleWidget* widget = new QtXMLConsoleWidget();
- tabs_->addTab(widget);
- if (!tabs_->isVisible()) {
- tabs_->show();
- }
- widget->show();
- return widget;
-}
-
-}