/****************************************************************************
** IpodExport::IpodHeader meta object code from reading C++ file 'standard input'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "./ipodheader.h"

#include <ntqmetaobject.h>
#include <ntqapplication.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.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

const char *IpodExport::IpodHeader::className() const
{
    return "IpodExport::IpodHeader";
}

TQMetaObject *IpodExport::IpodHeader::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_IpodExport__IpodHeader( "IpodExport::IpodHeader", &IpodExport::IpodHeader::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString IpodExport::IpodHeader::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "IpodExport::IpodHeader", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString IpodExport::IpodHeader::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "IpodExport::IpodHeader", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* IpodExport::IpodHeader::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQFrame::staticMetaObject();
    static const TQUMethod signal_0 = {"refreshDevices", 0, 0 };
    static const TQUMethod signal_1 = {"updateSysInfo", 0, 0 };
    static const TQMetaData signal_tbl[] = {
	{ "refreshDevices()", &signal_0, TQMetaData::Public },
	{ "updateSysInfo()", &signal_1, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"IpodExport::IpodHeader", parentObject,
	0, 0,
	signal_tbl, 2,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_IpodExport__IpodHeader.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* IpodExport::IpodHeader::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "IpodExport::IpodHeader" ) )
	return this;
    return TQFrame::tqt_cast( clname );
}

// TQ_SIGNAL refreshDevices
void IpodExport::IpodHeader::refreshDevices()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

// TQ_SIGNAL updateSysInfo
void IpodExport::IpodHeader::updateSysInfo()
{
    activate_signal( staticMetaObject()->signalOffset() + 1 );
}

bool IpodExport::IpodHeader::tqt_invoke( int _id, TQUObject* _o )
{
    return TQFrame::tqt_invoke(_id,_o);
}

bool IpodExport::IpodHeader::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: refreshDevices(); break;
    case 1: updateSysInfo(); break;
    default:
	return TQFrame::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

bool IpodExport::IpodHeader::tqt_property( int id, int f, TQVariant* v)
{
    return TQFrame::tqt_property( id, f, v);
}

bool IpodExport::IpodHeader::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
