
/*

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

#include "gsiQtGui.h"
#include "gsiDeclQUndoGroup_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QUndoGroup_EventAdaptor

QUndoGroup_EventAdaptor::QUndoGroup_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(activeStackChanged(QUndoStack *)), this, SLOT(activeStackChanged(QUndoStack *)));
  connect (host, SIGNAL(canRedoChanged(bool)), this, SLOT(canRedoChanged(bool)));
  connect (host, SIGNAL(canUndoChanged(bool)), this, SLOT(canUndoChanged(bool)));
  connect (host, SIGNAL(cleanChanged(bool)), this, SLOT(cleanChanged(bool)));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
  connect (host, SIGNAL(indexChanged(int)), this, SLOT(indexChanged(int)));
  connect (host, SIGNAL(redoTextChanged(const QString &)), this, SLOT(redoTextChanged(const QString &)));
  connect (host, SIGNAL(undoTextChanged(const QString &)), this, SLOT(undoTextChanged(const QString &)));
}

//  Event QUndoGroup::activeStackChanged(QUndoStack *stack)
void QUndoGroup_EventAdaptor::activeStackChanged(QUndoStack *stack) {
BEGIN_PROTECTED
  activeStackChanged_e_1611(stack);
END_PROTECTED
}

//  Event QUndoGroup::canRedoChanged(bool canRedo)
void QUndoGroup_EventAdaptor::canRedoChanged(bool canRedo) {
BEGIN_PROTECTED
  canRedoChanged_e_864(canRedo);
END_PROTECTED
}

//  Event QUndoGroup::canUndoChanged(bool canUndo)
void QUndoGroup_EventAdaptor::canUndoChanged(bool canUndo) {
BEGIN_PROTECTED
  canUndoChanged_e_864(canUndo);
END_PROTECTED
}

//  Event QUndoGroup::cleanChanged(bool clean)
void QUndoGroup_EventAdaptor::cleanChanged(bool clean) {
BEGIN_PROTECTED
  cleanChanged_e_864(clean);
END_PROTECTED
}

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

//  Event QUndoGroup::indexChanged(int idx)
void QUndoGroup_EventAdaptor::indexChanged(int idx) {
BEGIN_PROTECTED
  indexChanged_e_767(idx);
END_PROTECTED
}

//  Event QUndoGroup::redoTextChanged(const QString &redoText)
void QUndoGroup_EventAdaptor::redoTextChanged(const QString &redoText) {
BEGIN_PROTECTED
  redoTextChanged_e_2025(redoText);
END_PROTECTED
}

//  Event QUndoGroup::undoTextChanged(const QString &undoText)
void QUndoGroup_EventAdaptor::undoTextChanged(const QString &undoText) {
BEGIN_PROTECTED
  undoTextChanged_e_2025(undoText);
END_PROTECTED
}
