
/*

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

#include "gsiQtGui.h"
#include "gsiDeclQLineEdit_EventAdaptor.h"

// -----------------------------------------------------------------------
// class QLineEdit_EventAdaptor

QLineEdit_EventAdaptor::QLineEdit_EventAdaptor (QObject *host)
  : QObject ()
{
  connect (host, SIGNAL(cursorPositionChanged(int, int)), this, SLOT(cursorPositionChanged(int, int)));
  connect (host, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(customContextMenuRequested(const QPoint &)));
  connect (host, SIGNAL(destroyed(QObject *)), this, SLOT(destroyed(QObject *)));
  connect (host, SIGNAL(editingFinished()), this, SLOT(editingFinished()));
  connect (host, SIGNAL(returnPressed()), this, SLOT(returnPressed()));
  connect (host, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
  connect (host, SIGNAL(textChanged(const QString &)), this, SLOT(textChanged(const QString &)));
  connect (host, SIGNAL(textEdited(const QString &)), this, SLOT(textEdited(const QString &)));
}

//  Event QLineEdit::cursorPositionChanged(int arg1, int arg2)
void QLineEdit_EventAdaptor::cursorPositionChanged(int arg1, int arg2) {
BEGIN_PROTECTED
  cursorPositionChanged_e_1426(arg1, arg2);
END_PROTECTED
}

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

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

//  Event QLineEdit::editingFinished()
void QLineEdit_EventAdaptor::editingFinished() {
BEGIN_PROTECTED
  editingFinished_e_0();
END_PROTECTED
}

//  Event QLineEdit::returnPressed()
void QLineEdit_EventAdaptor::returnPressed() {
BEGIN_PROTECTED
  returnPressed_e_0();
END_PROTECTED
}

//  Event QLineEdit::selectionChanged()
void QLineEdit_EventAdaptor::selectionChanged() {
BEGIN_PROTECTED
  selectionChanged_e_0();
END_PROTECTED
}

//  Event QLineEdit::textChanged(const QString &arg1)
void QLineEdit_EventAdaptor::textChanged(const QString &arg1) {
BEGIN_PROTECTED
  textChanged_e_2025(arg1);
END_PROTECTED
}

//  Event QLineEdit::textEdited(const QString &arg1)
void QLineEdit_EventAdaptor::textEdited(const QString &arg1) {
BEGIN_PROTECTED
  textEdited_e_2025(arg1);
END_PROTECTED
}
