/****************************************************************************
** AQSColorDrag meta object code from reading C++ file 'AQSColorDrag_p.h'
**
** Created: do. 6. sep. 20:19:02 2020
**      by: The Qt MOC ($Id: moc_yacc.cpp 2051 2007-02-21 10:04:20Z chehrlic $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "../../../aqsobjects/AQSColorDrag_p.h"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.8. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *AQSColorDrag::className() const
{
    return "AQSColorDrag";
}

QMetaObject *AQSColorDrag::metaObj = 0;
static QMetaObjectCleanUp cleanUp_AQSColorDrag( "AQSColorDrag", &AQSColorDrag::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString AQSColorDrag::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSColorDrag", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString AQSColorDrag::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "AQSColorDrag", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* AQSColorDrag::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = AQSStoredDrag::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_varptr, "\x0a", QUParameter::In }
    };
    static const QUMethod slot_0 = {"setColor", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "AQSColor", QUParameter::In }
    };
    static const QUMethod slot_1 = {"setColor", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ 0, &static_QUType_bool, 0, QUParameter::Out },
	{ 0, &static_QUType_ptr, "QMimeSource", QUParameter::In }
    };
    static const QUMethod slot_2 = {"canDecode", 2, param_slot_2 };
    static const QMetaData slot_tbl[] = {
	{ "setColor(QColor*)", &slot_0, QMetaData::Public },
	{ "setColor(AQSColor*)", &slot_1, QMetaData::Public },
	{ "canDecode(QMimeSource*)", &slot_2, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"AQSColorDrag", parentObject,
	slot_tbl, 3,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_AQSColorDrag.setMetaObject( metaObj );
    return metaObj;
}

void* AQSColorDrag::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "AQSColorDrag" ) )
	return this;
    return AQSStoredDrag::qt_cast( clname );
}

bool AQSColorDrag::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setColor((QColor*)static_QUType_varptr.get(_o+1)); break;
    case 1: setColor((AQSColor*)static_QUType_ptr.get(_o+1)); break;
    case 2: static_QUType_bool.set(_o,canDecode((QMimeSource*)static_QUType_ptr.get(_o+1))); break;
    default:
	return AQSStoredDrag::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool AQSColorDrag::qt_emit( int _id, QUObject* _o )
{
    return AQSStoredDrag::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool AQSColorDrag::qt_property( int id, int f, QVariant* v)
{
    return AQSStoredDrag::qt_property( id, f, v);
}

bool AQSColorDrag::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
