summaryrefslogtreecommitdiffstats
blob: 7553d0650b71f91b095e894fcab3dbb9474c14bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "QtXMLConsoleWidget.h"

#include <QCloseEvent>

namespace Swift {
QtXMLConsoleWidget::QtXMLConsoleWidget() {

}

void QtXMLConsoleWidget::showEvent(QShowEvent* event) {
	emit windowOpening();
	QWidget::showEvent(event);
}

void QtXMLConsoleWidget::show() {
	QWidget::show();
	emit windowOpening();
}

void QtXMLConsoleWidget::activate() {
	emit wantsToActivate();
}

void QtXMLConsoleWidget::closeEvent(QCloseEvent* event) {
	emit windowClosing();
	event->accept();
}

}