summaryrefslogtreecommitdiffstats
path: root/kommander/widget/kmdrmainwindow.cpp
blob: cfe79d0cbcaf8e3f6316ce925cea1ed77f08f46f (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
30
31
32
33
34
35
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"