/****************************************************************************
** LCDServer meta object code from reading C++ file 'lcdserver.h'
**
** Created: Fri Jan 9 04:25:29 2009
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "lcdserver.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

#include <qvariant.h>
const char *LCDServer::className() const
{
    return "LCDServer";
}

QMetaObject *LCDServer::metaObj = 0;
static QMetaObjectCleanUp cleanUp_LCDServer( "LCDServer", &LCDServer::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString LCDServer::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "LCDServer", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString LCDServer::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "LCDServer", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* LCDServer::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUParameter param_slot_0[] = {
	{ 0, &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_0 = {"newConnection", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
	{ 0, &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_1 = {"endConnection", 1, param_slot_1 };
    static const QUMethod slot_2 = {"readSocket", 0, 0 };
    static const QUParameter param_slot_3[] = {
	{ 0, &static_QUType_QVariant, "\x04", QUParameter::Out },
	{ "command", &static_QUType_QString, 0, QUParameter::InOut }
    };
    static const QUMethod slot_3 = {"parseCommand", 2, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_4 = {"parseTokens", 2, param_slot_4 };
    static const QUMethod slot_5 = {"shutDown", 0, 0 };
    static const QUParameter param_slot_6[] = {
	{ "where", &static_QUType_ptr, "QSocket", QUParameter::In },
	{ "what", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"sendMessage", 2, param_slot_6 };
    static const QUParameter param_slot_7[] = {
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_7 = {"sendConnected", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_8 = {"switchToTime", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_9 = {"switchToMusic", 2, param_slot_9 };
    static const QUParameter param_slot_10[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_10 = {"switchToGeneric", 2, param_slot_10 };
    static const QUParameter param_slot_11[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_11 = {"switchToChannel", 2, param_slot_11 };
    static const QUParameter param_slot_12[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_12 = {"switchToVolume", 2, param_slot_12 };
    static const QUParameter param_slot_13[] = {
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_13 = {"switchToNothing", 1, param_slot_13 };
    static const QUParameter param_slot_14[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_14 = {"switchToMenu", 2, param_slot_14 };
    static const QUParameter param_slot_15[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_15 = {"setChannelProgress", 2, param_slot_15 };
    static const QUParameter param_slot_16[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_16 = {"setMusicProgress", 2, param_slot_16 };
    static const QUParameter param_slot_17[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_17 = {"setMusicProp", 2, param_slot_17 };
    static const QUParameter param_slot_18[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_18 = {"setGenericProgress", 2, param_slot_18 };
    static const QUParameter param_slot_19[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_19 = {"setVolumeLevel", 2, param_slot_19 };
    static const QUParameter param_slot_20[] = {
	{ "tokens", &static_QUType_varptr, "\x04", QUParameter::In },
	{ "socket", &static_QUType_ptr, "QSocket", QUParameter::In }
    };
    static const QUMethod slot_20 = {"updateLEDs", 2, param_slot_20 };
    static const QMetaData slot_tbl[] = {
	{ "newConnection(QSocket*)", &slot_0, QMetaData::Private },
	{ "endConnection(QSocket*)", &slot_1, QMetaData::Private },
	{ "readSocket()", &slot_2, QMetaData::Private },
	{ "parseCommand(QString&)", &slot_3, QMetaData::Private },
	{ "parseTokens(const QStringList&,QSocket*)", &slot_4, QMetaData::Private },
	{ "shutDown()", &slot_5, QMetaData::Private },
	{ "sendMessage(QSocket*,const QString&)", &slot_6, QMetaData::Private },
	{ "sendConnected(QSocket*)", &slot_7, QMetaData::Private },
	{ "switchToTime(QSocket*)", &slot_8, QMetaData::Private },
	{ "switchToMusic(const QStringList&,QSocket*)", &slot_9, QMetaData::Private },
	{ "switchToGeneric(const QStringList&,QSocket*)", &slot_10, QMetaData::Private },
	{ "switchToChannel(const QStringList&,QSocket*)", &slot_11, QMetaData::Private },
	{ "switchToVolume(const QStringList&,QSocket*)", &slot_12, QMetaData::Private },
	{ "switchToNothing(QSocket*)", &slot_13, QMetaData::Private },
	{ "switchToMenu(const QStringList&,QSocket*)", &slot_14, QMetaData::Private },
	{ "setChannelProgress(const QStringList&,QSocket*)", &slot_15, QMetaData::Private },
	{ "setMusicProgress(const QStringList&,QSocket*)", &slot_16, QMetaData::Private },
	{ "setMusicProp(const QStringList&,QSocket*)", &slot_17, QMetaData::Private },
	{ "setGenericProgress(const QStringList&,QSocket*)", &slot_18, QMetaData::Private },
	{ "setVolumeLevel(const QStringList&,QSocket*)", &slot_19, QMetaData::Private },
	{ "updateLEDs(const QStringList&,QSocket*)", &slot_20, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"LCDServer", parentObject,
	slot_tbl, 21,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_LCDServer.setMetaObject( metaObj );
    return metaObj;
}

void* LCDServer::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "LCDServer" ) )
	return this;
    return QObject::qt_cast( clname );
}

bool LCDServer::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: newConnection((QSocket*)static_QUType_ptr.get(_o+1)); break;
    case 1: endConnection((QSocket*)static_QUType_ptr.get(_o+1)); break;
    case 2: readSocket(); break;
    case 3: static_QUType_QVariant.set(_o,QVariant(parseCommand((QString&)static_QUType_QString.get(_o+1)))); break;
    case 4: parseTokens((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 5: shutDown(); break;
    case 6: sendMessage((QSocket*)static_QUType_ptr.get(_o+1),(const QString&)static_QUType_QString.get(_o+2)); break;
    case 7: sendConnected((QSocket*)static_QUType_ptr.get(_o+1)); break;
    case 8: switchToTime((QSocket*)static_QUType_ptr.get(_o+1)); break;
    case 9: switchToMusic((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 10: switchToGeneric((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 11: switchToChannel((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 12: switchToVolume((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 13: switchToNothing((QSocket*)static_QUType_ptr.get(_o+1)); break;
    case 14: switchToMenu((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 15: setChannelProgress((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 16: setMusicProgress((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 17: setMusicProp((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 18: setGenericProgress((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 19: setVolumeLevel((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    case 20: updateLEDs((const QStringList&)*((const QStringList*)static_QUType_ptr.get(_o+1)),(QSocket*)static_QUType_ptr.get(_o+2)); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool LCDServer::qt_emit( int _id, QUObject* _o )
{
    return QObject::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

bool LCDServer::qt_property( int id, int f, QVariant* v)
{
    return QObject::qt_property( id, f, v);
}

bool LCDServer::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
