00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "../include/RioMMInterface.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.h>
00014
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.3.8b. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021
00022 const char *RioMMInterface::className() const
00023 {
00024 return "RioMMInterface";
00025 }
00026
00027 QMetaObject *RioMMInterface::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_RioMMInterface( "RioMMInterface", &RioMMInterface::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString RioMMInterface::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "RioMMInterface", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString RioMMInterface::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "RioMMInterface", s, c, QApplication::UnicodeUTF8 );
00043 else
00044 return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047
00048 #endif // QT_NO_TRANSLATION
00049
00050 QMetaObject* RioMMInterface::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QMainWindow::staticMetaObject();
00055 static const QUParameter param_slot_0[] = {
00056 { 0, &static_QUType_int, 0, QUParameter::In }
00057 };
00058 static const QUMethod slot_0 = {"progressChange", 1, param_slot_0 };
00059 static const QUMethod slot_1 = {"play", 0, 0 };
00060 static const QUMethod slot_2 = {"pause", 0, 0 };
00061 static const QUMethod slot_3 = {"stop", 0, 0 };
00062 static const QUMethod slot_4 = {"fastForward", 0, 0 };
00063 static const QUMethod slot_5 = {"fastRewind", 0, 0 };
00064 static const QUMethod slot_6 = {"info", 0, 0 };
00065 static const QUMethod slot_7 = {"sync", 0, 0 };
00066 static const QUMethod slot_8 = {"jumpTo", 0, 0 };
00067 static const QUMethod slot_9 = {"keywords", 0, 0 };
00068 static const QUMethod slot_10 = {"clean", 0, 0 };
00069 static const QUMethod slot_11 = {"progressHold", 0, 0 };
00070 static const QUMethod slot_12 = {"progressUnHold", 0, 0 };
00071 static const QUParameter param_slot_13[] = {
00072 { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In }
00073 };
00074 static const QUMethod slot_13 = {"topicSelected", 1, param_slot_13 };
00075 static const QUMethod slot_14 = {"selectBar", 0, 0 };
00076 static const QUMethod slot_15 = {"releaseBar", 0, 0 };
00077 static const QUMethod slot_16 = {"setWaitMessage", 0, 0 };
00078 static const QMetaData slot_tbl[] = {
00079 { "progressChange(int)", &slot_0, QMetaData::Public },
00080 { "play()", &slot_1, QMetaData::Public },
00081 { "pause()", &slot_2, QMetaData::Public },
00082 { "stop()", &slot_3, QMetaData::Public },
00083 { "fastForward()", &slot_4, QMetaData::Public },
00084 { "fastRewind()", &slot_5, QMetaData::Public },
00085 { "info()", &slot_6, QMetaData::Public },
00086 { "sync()", &slot_7, QMetaData::Public },
00087 { "jumpTo()", &slot_8, QMetaData::Public },
00088 { "keywords()", &slot_9, QMetaData::Public },
00089 { "clean()", &slot_10, QMetaData::Public },
00090 { "progressHold()", &slot_11, QMetaData::Public },
00091 { "progressUnHold()", &slot_12, QMetaData::Public },
00092 { "topicSelected(QListViewItem*)", &slot_13, QMetaData::Public },
00093 { "selectBar()", &slot_14, QMetaData::Public },
00094 { "releaseBar()", &slot_15, QMetaData::Public },
00095 { "setWaitMessage()", &slot_16, QMetaData::Public }
00096 };
00097 metaObj = QMetaObject::new_metaobject(
00098 "RioMMInterface", parentObject,
00099 slot_tbl, 17,
00100 0, 0,
00101 #ifndef QT_NO_PROPERTIES
00102 0, 0,
00103 0, 0,
00104 #endif
00105 0, 0 );
00106 cleanUp_RioMMInterface.setMetaObject( metaObj );
00107 return metaObj;
00108 }
00109
00110 void* RioMMInterface::qt_cast( const char* clname )
00111 {
00112 if ( !qstrcmp( clname, "RioMMInterface" ) )
00113 return this;
00114 return QMainWindow::qt_cast( clname );
00115 }
00116
00117 bool RioMMInterface::qt_invoke( int _id, QUObject* _o )
00118 {
00119 switch ( _id - staticMetaObject()->slotOffset() ) {
00120 case 0: progressChange((int)static_QUType_int.get(_o+1)); break;
00121 case 1: play(); break;
00122 case 2: pause(); break;
00123 case 3: stop(); break;
00124 case 4: fastForward(); break;
00125 case 5: fastRewind(); break;
00126 case 6: info(); break;
00127 case 7: sync(); break;
00128 case 8: jumpTo(); break;
00129 case 9: keywords(); break;
00130 case 10: clean(); break;
00131 case 11: progressHold(); break;
00132 case 12: progressUnHold(); break;
00133 case 13: topicSelected((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00134 case 14: selectBar(); break;
00135 case 15: releaseBar(); break;
00136 case 16: setWaitMessage(); break;
00137 default:
00138 return QMainWindow::qt_invoke( _id, _o );
00139 }
00140 return TRUE;
00141 }
00142
00143 bool RioMMInterface::qt_emit( int _id, QUObject* _o )
00144 {
00145 return QMainWindow::qt_emit(_id,_o);
00146 }
00147 #ifndef QT_NO_PROPERTIES
00148
00149 bool RioMMInterface::qt_property( int id, int f, QVariant* v)
00150 {
00151 return QMainWindow::qt_property( id, f, v);
00152 }
00153
00154 bool RioMMInterface::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00155 #endif // QT_NO_PROPERTIES