/****************************************************************************
** HttpComms meta object code from reading C++ file 'httpcomms.h'
**
** Created: Fri Jan 9 04:15:35 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 "httpcomms.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 *HttpComms::className() const
{
    return "HttpComms";
}

QMetaObject *HttpComms::metaObj = 0;
static QMetaObjectCleanUp cleanUp_HttpComms( "HttpComms", &HttpComms::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* HttpComms::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUMethod slot_0 = {"timeout", 0, 0 };
    static const QUParameter param_slot_1[] = {
	{ "error", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"done", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
	{ "state", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"stateChanged", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
	{ "done", &static_QUType_int, 0, QUParameter::In },
	{ "total", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"dataReadProgress", 2, param_slot_3 };
    static const QUParameter param_slot_4[] = {
	{ "resp", &static_QUType_ptr, "QHttpResponseHeader", QUParameter::In }
    };
    static const QUMethod slot_4 = {"headerReceived", 1, param_slot_4 };
    static const QMetaData slot_tbl[] = {
	{ "timeout()", &slot_0, QMetaData::Private },
	{ "done(bool)", &slot_1, QMetaData::Private },
	{ "stateChanged(int)", &slot_2, QMetaData::Private },
	{ "dataReadProgress(int,int)", &slot_3, QMetaData::Private },
	{ "headerReceived(const QHttpResponseHeader&)", &slot_4, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"HttpComms", parentObject,
	slot_tbl, 5,
	0, 0,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_HttpComms.setMetaObject( metaObj );
    return metaObj;
}

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

bool HttpComms::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: timeout(); break;
    case 1: done((bool)static_QUType_bool.get(_o+1)); break;
    case 2: stateChanged((int)static_QUType_int.get(_o+1)); break;
    case 3: dataReadProgress((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 4: headerReceived((const QHttpResponseHeader&)*((const QHttpResponseHeader*)static_QUType_ptr.get(_o+1))); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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