
/*

  KLayout Layout Viewer
  Copyright (C) 2006-2016 Matthias Koefferlein

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/

/**
*  @file generated/gsiDeclQApplication_EventAdaptor.cc
*  @brief Event adaptor implementations for QApplication
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#include "gsiQtGui.h"
#include "gsiDeclQApplication_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QApplication_EventAdaptor

QApplication_EventAdaptor::QApplication_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(aboutToQuit()), this, SLOT(aboutToQuit()));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
  connect (host, SIGNAL(focusChanged(QWidget *, QWidget *)), this, SLOT(focusChanged(QWidget *, QWidget *)));
  connect (host, SIGNAL(fontDatabaseChanged()), this, SLOT(fontDatabaseChanged()));
  connect (host, SIGNAL(lastWindowClosed()), this, SLOT(lastWindowClosed()));
  connect (host, SIGNAL(unixSignal(int)), this, SLOT(unixSignal(int)));
}

//  Event QApplication::aboutToQuit()
void QApplication_EventAdaptor::aboutToQuit() {
BEGIN_PROTECTED
  aboutToQuit_e_0();
END_PROTECTED
}

//  Event QApplication::destroyed(QObject *arg1)
void QApplication_EventAdaptor::destroyed(QObject *arg1) {
BEGIN_PROTECTED
  destroyed_e_1302(arg1);
END_PROTECTED
}

//  Event QApplication::focusChanged(QWidget *old, QWidget *now)
void QApplication_EventAdaptor::focusChanged(QWidget *old, QWidget *now) {
BEGIN_PROTECTED
  focusChanged_e_2522(old, now);
END_PROTECTED
}

//  Event QApplication::fontDatabaseChanged()
void QApplication_EventAdaptor::fontDatabaseChanged() {
BEGIN_PROTECTED
  fontDatabaseChanged_e_0();
END_PROTECTED
}

//  Event QApplication::lastWindowClosed()
void QApplication_EventAdaptor::lastWindowClosed() {
BEGIN_PROTECTED
  lastWindowClosed_e_0();
END_PROTECTED
}

//  Event QApplication::unixSignal(int arg1)
void QApplication_EventAdaptor::unixSignal(int arg1) {
BEGIN_PROTECTED
  unixSignal_e_767(arg1);
END_PROTECTED
}
