
/*

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

#ifndef _HDR_gsiDeclQFileDialog_EventAdaptor
#define _HDR_gsiDeclQFileDialog_EventAdaptor

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

#include "layExceptions.h"

#include <QtCore/QObject>

// -----------------------------------------------------------------------
// class QFileDialog_EventAdaptor

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

public:
  QFileDialog_EventAdaptor (QObject *host);

public slots:
  void accepted();
  void currentChanged(const QString &);
  void customContextMenuRequested(const QPoint &);
  void destroyed(QObject *);
  void directoryEntered(const QString &);
  void fileSelected(const QString &);
  void filesSelected(const QStringList &);
  void filterSelected(const QString &);
  void finished(int);
  void rejected();

public:
  gsi::event<> accepted_e_0;
  gsi::event<const QString &> currentChanged_e_2025;
  gsi::event<const QPoint &> customContextMenuRequested_e_1916;
  gsi::event<QObject *> destroyed_e_1302;
  gsi::event<const QString &> directoryEntered_e_2025;
  gsi::event<const QString &> fileSelected_e_2025;
  gsi::event<const qt_gsi::Converter<QStringList>::target_type &> filesSelected_e_2437;
  gsi::event<const QString &> filterSelected_e_2025;
  gsi::event<int> finished_e_767;
  gsi::event<> rejected_e_0;
};

#endif
