
/*

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

#include "gsiQtGui.h"
#include "gsiDeclQButtonGroup_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QButtonGroup_EventAdaptor

QButtonGroup_EventAdaptor::QButtonGroup_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(buttonClicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *)));
  connect (host, SIGNAL(buttonClicked(int)), this, SLOT(buttonClicked(int)));
  connect (host, SIGNAL(buttonPressed(QAbstractButton *)), this, SLOT(buttonPressed(QAbstractButton *)));
  connect (host, SIGNAL(buttonPressed(int)), this, SLOT(buttonPressed(int)));
  connect (host, SIGNAL(buttonReleased(QAbstractButton *)), this, SLOT(buttonReleased(QAbstractButton *)));
  connect (host, SIGNAL(buttonReleased(int)), this, SLOT(buttonReleased(int)));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
}

//  Event QButtonGroup::buttonClicked(QAbstractButton *arg1)
void QButtonGroup_EventAdaptor::buttonClicked(QAbstractButton *arg1) {
BEGIN_PROTECTED
  buttonClicked_e_2159(arg1);
END_PROTECTED
}

//  Event QButtonGroup::buttonClicked(int arg1)
void QButtonGroup_EventAdaptor::buttonClicked(int arg1) {
BEGIN_PROTECTED
  buttonClicked_e_767(arg1);
END_PROTECTED
}

//  Event QButtonGroup::buttonPressed(QAbstractButton *arg1)
void QButtonGroup_EventAdaptor::buttonPressed(QAbstractButton *arg1) {
BEGIN_PROTECTED
  buttonPressed_e_2159(arg1);
END_PROTECTED
}

//  Event QButtonGroup::buttonPressed(int arg1)
void QButtonGroup_EventAdaptor::buttonPressed(int arg1) {
BEGIN_PROTECTED
  buttonPressed_e_767(arg1);
END_PROTECTED
}

//  Event QButtonGroup::buttonReleased(QAbstractButton *arg1)
void QButtonGroup_EventAdaptor::buttonReleased(QAbstractButton *arg1) {
BEGIN_PROTECTED
  buttonReleased_e_2159(arg1);
END_PROTECTED
}

//  Event QButtonGroup::buttonReleased(int arg1)
void QButtonGroup_EventAdaptor::buttonReleased(int arg1) {
BEGIN_PROTECTED
  buttonReleased_e_767(arg1);
END_PROTECTED
}

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