
/*

  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/gsiDeclQMainWindow_EventAdaptor.cc
*  @brief Event adaptor implementations for QMainWindow
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#include "gsiQtGui.h"
#include "gsiDeclQMainWindow_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QMainWindow_EventAdaptor

QMainWindow_EventAdaptor::QMainWindow_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(customContextMenuRequested(const QPoint &)));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
  connect (host, SIGNAL(iconSizeChanged(const QSize &)), this, SLOT(iconSizeChanged(const QSize &)));
  connect (host, SIGNAL(toolButtonStyleChanged(Qt::ToolButtonStyle)), this, SLOT(toolButtonStyleChanged(Qt::ToolButtonStyle)));
}

//  Event QMainWindow::customContextMenuRequested(const QPoint &pos)
void QMainWindow_EventAdaptor::customContextMenuRequested(const QPoint &pos) {
BEGIN_PROTECTED
  customContextMenuRequested_e_1916(pos);
END_PROTECTED
}

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

//  Event QMainWindow::iconSizeChanged(const QSize &iconSize)
void QMainWindow_EventAdaptor::iconSizeChanged(const QSize &iconSize) {
BEGIN_PROTECTED
  iconSizeChanged_e_1805(iconSize);
END_PROTECTED
}

//  Event QMainWindow::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)
void QMainWindow_EventAdaptor::toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) {
BEGIN_PROTECTED
  toolButtonStyleChanged_e_2328(qt_gsi::CppToQtAdaptor<Qt::ToolButtonStyle>(toolButtonStyle));
END_PROTECTED
}
