
/*

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

#include "gsiQtGui.h"
#include "gsiDeclQAbstractSlider_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QAbstractSlider_EventAdaptor

QAbstractSlider_EventAdaptor::QAbstractSlider_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(actionTriggered(int)), this, SLOT(actionTriggered(int)));
  connect (host, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(customContextMenuRequested(const QPoint &)));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
  connect (host, SIGNAL(rangeChanged(int, int)), this, SLOT(rangeChanged(int, int)));
  connect (host, SIGNAL(sliderMoved(int)), this, SLOT(sliderMoved(int)));
  connect (host, SIGNAL(sliderPressed()), this, SLOT(sliderPressed()));
  connect (host, SIGNAL(sliderReleased()), this, SLOT(sliderReleased()));
  connect (host, SIGNAL(valueChanged(int)), this, SLOT(valueChanged(int)));
}

//  Event QAbstractSlider::actionTriggered(int action)
void QAbstractSlider_EventAdaptor::actionTriggered(int action) {
BEGIN_PROTECTED
  actionTriggered_e_767(action);
END_PROTECTED
}

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

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

//  Event QAbstractSlider::rangeChanged(int min, int max)
void QAbstractSlider_EventAdaptor::rangeChanged(int min, int max) {
BEGIN_PROTECTED
  rangeChanged_e_1426(min, max);
END_PROTECTED
}

//  Event QAbstractSlider::sliderMoved(int position)
void QAbstractSlider_EventAdaptor::sliderMoved(int position) {
BEGIN_PROTECTED
  sliderMoved_e_767(position);
END_PROTECTED
}

//  Event QAbstractSlider::sliderPressed()
void QAbstractSlider_EventAdaptor::sliderPressed() {
BEGIN_PROTECTED
  sliderPressed_e_0();
END_PROTECTED
}

//  Event QAbstractSlider::sliderReleased()
void QAbstractSlider_EventAdaptor::sliderReleased() {
BEGIN_PROTECTED
  sliderReleased_e_0();
END_PROTECTED
}

//  Event QAbstractSlider::valueChanged(int value)
void QAbstractSlider_EventAdaptor::valueChanged(int value) {
BEGIN_PROTECTED
  valueChanged_e_767(value);
END_PROTECTED
}
