
/*

  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 gsiDeclQMovie_Enums.h 
*
*  DO NOT EDIT THIS FILE. 
*  This file has been created automatically
*/

#ifndef _HDR_gsiDeclQMovie_Enums
#define _HDR_gsiDeclQMovie_Enums

#include <QtCore/QFlags>

namespace qt_gsi
{

//  Wrapper class for QFlags<enum QImageReader::ImageReaderError>
class QImageReader_ImageReaderError_Enums : public QFlags<enum QImageReader::ImageReaderError> {
public:
  QImageReader_ImageReaderError_Enums () : m_flags () { }
  QImageReader_ImageReaderError_Enums (enum QImageReader::ImageReaderError v) : m_flags (v) { }
  QImageReader_ImageReaderError_Enums (const QFlags<enum QImageReader::ImageReaderError> &v) : m_flags (v) { }
  QFlags<enum QImageReader::ImageReaderError> flags () const { return m_flags; }
private:
  QFlags<QImageReader::ImageReaderError> m_flags;
};

//  Wrapper class for enum QImageReader::ImageReaderError
class QImageReader_ImageReaderError_Enum : public QImageReader_ImageReaderError_Enums {
public:
  QImageReader_ImageReaderError_Enum () { }
  QImageReader_ImageReaderError_Enum (enum QImageReader::ImageReaderError v) : QImageReader_ImageReaderError_Enums (v) { }
  enum QImageReader::ImageReaderError value () const { return (enum QImageReader::ImageReaderError) flags ().operator int (); }
};

//  Converter for QFlags<enum QImageReader::ImageReaderError>
template <>
struct Converter<QFlags<enum QImageReader::ImageReaderError> >
{
public:
  typedef QFlags<enum QImageReader::ImageReaderError> source_type;
  typedef QImageReader_ImageReaderError_Enums target_type;
  static source_type toq (const target_type &c) { return c.flags (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Converter for enum QImageReader::ImageReaderError
template <>
struct Converter<enum QImageReader::ImageReaderError>
{
public:
  typedef enum QImageReader::ImageReaderError source_type;
  typedef QImageReader_ImageReaderError_Enum target_type;
  static source_type toq (const target_type &c) { return c.value (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Wrapper class for QFlags<enum QMovie::CacheMode>
class QMovie_CacheMode_Enums : public QFlags<enum QMovie::CacheMode> {
public:
  QMovie_CacheMode_Enums () : m_flags () { }
  QMovie_CacheMode_Enums (enum QMovie::CacheMode v) : m_flags (v) { }
  QMovie_CacheMode_Enums (const QFlags<enum QMovie::CacheMode> &v) : m_flags (v) { }
  QFlags<enum QMovie::CacheMode> flags () const { return m_flags; }
private:
  QFlags<QMovie::CacheMode> m_flags;
};

//  Wrapper class for enum QMovie::CacheMode
class QMovie_CacheMode_Enum : public QMovie_CacheMode_Enums {
public:
  QMovie_CacheMode_Enum () { }
  QMovie_CacheMode_Enum (enum QMovie::CacheMode v) : QMovie_CacheMode_Enums (v) { }
  enum QMovie::CacheMode value () const { return (enum QMovie::CacheMode) flags ().operator int (); }
};

//  Converter for QFlags<enum QMovie::CacheMode>
template <>
struct Converter<QFlags<enum QMovie::CacheMode> >
{
public:
  typedef QFlags<enum QMovie::CacheMode> source_type;
  typedef QMovie_CacheMode_Enums target_type;
  static source_type toq (const target_type &c) { return c.flags (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Converter for enum QMovie::CacheMode
template <>
struct Converter<enum QMovie::CacheMode>
{
public:
  typedef enum QMovie::CacheMode source_type;
  typedef QMovie_CacheMode_Enum target_type;
  static source_type toq (const target_type &c) { return c.value (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Wrapper class for QFlags<enum QMovie::MovieState>
class QMovie_MovieState_Enums : public QFlags<enum QMovie::MovieState> {
public:
  QMovie_MovieState_Enums () : m_flags () { }
  QMovie_MovieState_Enums (enum QMovie::MovieState v) : m_flags (v) { }
  QMovie_MovieState_Enums (const QFlags<enum QMovie::MovieState> &v) : m_flags (v) { }
  QFlags<enum QMovie::MovieState> flags () const { return m_flags; }
private:
  QFlags<QMovie::MovieState> m_flags;
};

//  Wrapper class for enum QMovie::MovieState
class QMovie_MovieState_Enum : public QMovie_MovieState_Enums {
public:
  QMovie_MovieState_Enum () { }
  QMovie_MovieState_Enum (enum QMovie::MovieState v) : QMovie_MovieState_Enums (v) { }
  enum QMovie::MovieState value () const { return (enum QMovie::MovieState) flags ().operator int (); }
};

//  Converter for QFlags<enum QMovie::MovieState>
template <>
struct Converter<QFlags<enum QMovie::MovieState> >
{
public:
  typedef QFlags<enum QMovie::MovieState> source_type;
  typedef QMovie_MovieState_Enums target_type;
  static source_type toq (const target_type &c) { return c.flags (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Converter for enum QMovie::MovieState
template <>
struct Converter<enum QMovie::MovieState>
{
public:
  typedef enum QMovie::MovieState source_type;
  typedef QMovie_MovieState_Enum target_type;
  static source_type toq (const target_type &c) { return c.value (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Wrapper class for QFlags<enum Qt::ConnectionType>
class Qt_ConnectionType_Enums : public QFlags<enum Qt::ConnectionType> {
public:
  Qt_ConnectionType_Enums () : m_flags () { }
  Qt_ConnectionType_Enums (enum Qt::ConnectionType v) : m_flags (v) { }
  Qt_ConnectionType_Enums (const QFlags<enum Qt::ConnectionType> &v) : m_flags (v) { }
  QFlags<enum Qt::ConnectionType> flags () const { return m_flags; }
private:
  QFlags<Qt::ConnectionType> m_flags;
};

//  Wrapper class for enum Qt::ConnectionType
class Qt_ConnectionType_Enum : public Qt_ConnectionType_Enums {
public:
  Qt_ConnectionType_Enum () { }
  Qt_ConnectionType_Enum (enum Qt::ConnectionType v) : Qt_ConnectionType_Enums (v) { }
  enum Qt::ConnectionType value () const { return (enum Qt::ConnectionType) flags ().operator int (); }
};

//  Converter for QFlags<enum Qt::ConnectionType>
template <>
struct Converter<QFlags<enum Qt::ConnectionType> >
{
public:
  typedef QFlags<enum Qt::ConnectionType> source_type;
  typedef Qt_ConnectionType_Enums target_type;
  static source_type toq (const target_type &c) { return c.flags (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

//  Converter for enum Qt::ConnectionType
template <>
struct Converter<enum Qt::ConnectionType>
{
public:
  typedef enum Qt::ConnectionType source_type;
  typedef Qt_ConnectionType_Enum target_type;
  static source_type toq (const target_type &c) { return c.value (); }
  static target_type toc (const source_type &qc) { return target_type (qc); }
};

}

#endif
