00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "oprof_start.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 *oprof_start::className() const
00023 {
00024 return "oprof_start";
00025 }
00026
00027 QMetaObject *oprof_start::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_oprof_start( "oprof_start", &oprof_start::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString oprof_start::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "oprof_start", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString oprof_start::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "oprof_start", 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* oprof_start::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = oprof_start_base::staticMetaObject();
00055 static const QUMethod slot_0 = {"choose_kernel_filename", 0, 0 };
00056 static const QUMethod slot_1 = {"on_flush_profiler_data", 0, 0 };
00057 static const QUMethod slot_2 = {"on_start_profiler", 0, 0 };
00058 static const QUMethod slot_3 = {"on_stop_profiler", 0, 0 };
00059 static const QUMethod slot_4 = {"event_selected", 0, 0 };
00060 static const QUParameter param_slot_5[] = {
00061 { 0, &static_QUType_ptr, "Q3ListViewItem", QUParameter::In }
00062 };
00063 static const QUMethod slot_5 = {"event_over", 1, param_slot_5 };
00064 static const QUParameter param_slot_6[] = {
00065 { 0, &static_QUType_int, 0, QUParameter::In }
00066 };
00067 static const QUMethod slot_6 = {"on_separate_kernel_cb_changed", 1, param_slot_6 };
00068 static const QUMethod slot_7 = {"on_reset_sample_files", 0, 0 };
00069 static const QUMethod slot_8 = {"accept", 0, 0 };
00070 static const QUParameter param_slot_9[] = {
00071 { "e", &static_QUType_ptr, "QCloseEvent", QUParameter::In }
00072 };
00073 static const QUMethod slot_9 = {"closeEvent", 1, param_slot_9 };
00074 static const QUParameter param_slot_10[] = {
00075 { "e", &static_QUType_ptr, "QTimerEvent", QUParameter::In }
00076 };
00077 static const QUMethod slot_10 = {"timerEvent", 1, param_slot_10 };
00078 static const QMetaData slot_tbl[] = {
00079 { "choose_kernel_filename()", &slot_0, QMetaData::Protected },
00080 { "on_flush_profiler_data()", &slot_1, QMetaData::Protected },
00081 { "on_start_profiler()", &slot_2, QMetaData::Protected },
00082 { "on_stop_profiler()", &slot_3, QMetaData::Protected },
00083 { "event_selected()", &slot_4, QMetaData::Protected },
00084 { "event_over(Q3ListViewItem*)", &slot_5, QMetaData::Protected },
00085 { "on_separate_kernel_cb_changed(int)", &slot_6, QMetaData::Protected },
00086 { "on_reset_sample_files()", &slot_7, QMetaData::Protected },
00087 { "accept()", &slot_8, QMetaData::Protected },
00088 { "closeEvent(QCloseEvent*)", &slot_9, QMetaData::Protected },
00089 { "timerEvent(QTimerEvent*)", &slot_10, QMetaData::Protected }
00090 };
00091 metaObj = QMetaObject::new_metaobject(
00092 "oprof_start", parentObject,
00093 slot_tbl, 11,
00094 0, 0,
00095 #ifndef QT_NO_PROPERTIES
00096 0, 0,
00097 0, 0,
00098 #endif
00099 0, 0 );
00100 cleanUp_oprof_start.setMetaObject( metaObj );
00101 return metaObj;
00102 }
00103
00104 void* oprof_start::qt_cast( const char* clname )
00105 {
00106 if ( !qstrcmp( clname, "oprof_start" ) )
00107 return this;
00108 return oprof_start_base::qt_cast( clname );
00109 }
00110
00111 bool oprof_start::qt_invoke( int _id, QUObject* _o )
00112 {
00113 switch ( _id - staticMetaObject()->slotOffset() ) {
00114 case 0: choose_kernel_filename(); break;
00115 case 1: on_flush_profiler_data(); break;
00116 case 2: on_start_profiler(); break;
00117 case 3: on_stop_profiler(); break;
00118 case 4: event_selected(); break;
00119 case 5: event_over((Q3ListViewItem*)static_QUType_ptr.get(_o+1)); break;
00120 case 6: on_separate_kernel_cb_changed((int)static_QUType_int.get(_o+1)); break;
00121 case 7: on_reset_sample_files(); break;
00122 case 8: accept(); break;
00123 case 9: closeEvent((QCloseEvent*)static_QUType_ptr.get(_o+1)); break;
00124 case 10: timerEvent((QTimerEvent*)static_QUType_ptr.get(_o+1)); break;
00125 default:
00126 return oprof_start_base::qt_invoke( _id, _o );
00127 }
00128 return TRUE;
00129 }
00130
00131 bool oprof_start::qt_emit( int _id, QUObject* _o )
00132 {
00133 return oprof_start_base::qt_emit(_id,_o);
00134 }
00135 #ifndef QT_NO_PROPERTIES
00136
00137 bool oprof_start::qt_property( int id, int f, QVariant* v)
00138 {
00139 return oprof_start_base::qt_property( id, f, v);
00140 }
00141
00142 bool oprof_start::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00143 #endif // QT_NO_PROPERTIES