
/*

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

#ifndef _HDR_gsiDeclQTextDocument_EventAdaptor
#define _HDR_gsiDeclQTextDocument_EventAdaptor

#include "gsiDecl.h"
#include "gsiQtEvents.h"
#include "gsiQtGui.h"
#include "gsiDeclQTextDocument_Enums.h"

#include "layExceptions.h"

#include <QtCore/QObject>

// -----------------------------------------------------------------------
// class QTextDocument_EventAdaptor

class QTextDocument_EventAdaptor
  : public QObject, public qt_gsi::EventAdaptorBase, public gsi::ObjectBase
{
Q_OBJECT

public:
  QTextDocument_EventAdaptor (QObject *host);

public slots:
  void blockCountChanged(int);
  void contentsChange(int, int, int);
  void contentsChanged();
  void cursorPositionChanged(const QTextCursor &);
  void destroyed(QObject *);
  void documentLayoutChanged();
  void modificationChanged(bool);
  void redoAvailable(bool);
  void undoAvailable(bool);
  void undoCommandAdded();

public:
  gsi::event<int> blockCountChanged_e_767;
  gsi::event<int, int, int> contentsChange_e_2085;
  gsi::event<> contentsChanged_e_0;
  gsi::event<const QTextCursor &> cursorPositionChanged_e_2453;
  gsi::event<QObject *> destroyed_e_1302;
  gsi::event<> documentLayoutChanged_e_0;
  gsi::event<bool> modificationChanged_e_864;
  gsi::event<bool> redoAvailable_e_864;
  gsi::event<bool> undoAvailable_e_864;
  gsi::event<> undoCommandAdded_e_0;
};

#endif
