summaryrefslogtreecommitdiffstats
path: root/kommander/widget/kmdrmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widget/kmdrmainwindow.cpp')
-rw-r--r--kommander/widget/kmdrmainwindow.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/kommander/widget/kmdrmainwindow.cpp b/kommander/widget/kmdrmainwindow.cpp
new file mode 100644
index 00000000..cfe79d0c
--- /dev/null
+++ b/kommander/widget/kmdrmainwindow.cpp
@@ -0,0 +1,36 @@
+//
+// C++ Implementation: KmdrMainWindow
+//
+// Description:
+//
+//
+// Author: Andras Mantia <amantia@kdewebdev.org>, (C) 2008
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+#include "kmdrmainwindow.h"
+
+#include <qtimer.h>
+
+KmdrMainWindow::KmdrMainWindow(QWidget *parent, const char *name, WFlags f)
+ : KMainWindow(parent, name, f)
+{
+ QTimer::singleShot(10, this, SIGNAL(initialize()));
+}
+
+
+KmdrMainWindow::~KmdrMainWindow()
+{
+}
+
+bool KmdrMainWindow::queryClose()
+{
+ bool quit = KMainWindow::queryClose();
+ if (quit)
+ emit destroy();
+ return quit;
+}
+
+
+#include "kmdrmainwindow.moc"