00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "widget.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.1.0. 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 *TextView::className() const
00023 {
00024 return "TextView";
00025 }
00026
00027 QMetaObject *TextView::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_TextView( "TextView", &TextView::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString TextView::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "TextView", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString TextView::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "TextView", 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* TextView::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QTextEdit::staticMetaObject();
00055 static const QUParameter param_slot_0[] = {
00056 { "qlvi_Item", &static_QUType_ptr, "QListViewItem", QUParameter::In }
00057 };
00058 static const QUMethod slot_0 = {"showInfo", 1, param_slot_0 };
00059 static const QMetaData slot_tbl[] = {
00060 { "showInfo(QListViewItem*)", &slot_0, QMetaData::Public }
00061 };
00062 metaObj = QMetaObject::new_metaobject(
00063 "TextView", parentObject,
00064 slot_tbl, 1,
00065 0, 0,
00066 #ifndef QT_NO_PROPERTIES
00067 0, 0,
00068 0, 0,
00069 TextView::qt_static_property,
00070 #endif
00071 0, 0 );
00072 cleanUp_TextView.setMetaObject( metaObj );
00073 return metaObj;
00074 }
00075
00076 void* TextView::qt_cast( const char* clname )
00077 {
00078 if ( !qstrcmp( clname, "TextView" ) )
00079 return this;
00080 return QTextEdit::qt_cast( clname );
00081 }
00082
00083 bool TextView::qt_invoke( int _id, QUObject* _o )
00084 {
00085 switch ( _id - staticMetaObject()->slotOffset() ) {
00086 case 0: showInfo((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00087 default:
00088 return QTextEdit::qt_invoke( _id, _o );
00089 }
00090 return TRUE;
00091 }
00092
00093 bool TextView::qt_emit( int _id, QUObject* _o )
00094 {
00095 return QTextEdit::qt_emit(_id,_o);
00096 }
00097 #ifndef QT_NO_PROPERTIES
00098
00099 bool TextView::qt_property( int id, int f, QVariant* v)
00100 {
00101 if ( id >= staticMetaObject()->propertyOffset() )
00102 return qt_static_property(this, id, f, v);
00103 return QTextEdit::qt_property( id, f, v );
00104 }
00105
00106 bool TextView::qt_static_property( QObject* oo, int id, int f, QVariant* v)
00107 {
00108 return QTextEdit::staticMetaObject()->qt_static_property( oo, id, f, v);
00109 }
00110 #endif // QT_NO_PROPERTIES
00111
00112
00113 const char *MainLayout::className() const
00114 {
00115 return "MainLayout";
00116 }
00117
00118 QMetaObject *MainLayout::metaObj = 0;
00119 static QMetaObjectCleanUp cleanUp_MainLayout( "MainLayout", &MainLayout::staticMetaObject );
00120
00121 #ifndef QT_NO_TRANSLATION
00122 QString MainLayout::tr( const char *s, const char *c )
00123 {
00124 if ( qApp )
00125 return qApp->translate( "MainLayout", s, c, QApplication::DefaultCodec );
00126 else
00127 return QString::fromLatin1( s );
00128 }
00129 #ifndef QT_NO_TRANSLATION_UTF8
00130 QString MainLayout::trUtf8( const char *s, const char *c )
00131 {
00132 if ( qApp )
00133 return qApp->translate( "MainLayout", s, c, QApplication::UnicodeUTF8 );
00134 else
00135 return QString::fromUtf8( s );
00136 }
00137 #endif // QT_NO_TRANSLATION_UTF8
00138
00139 #endif // QT_NO_TRANSLATION
00140
00141 QMetaObject* MainLayout::staticMetaObject()
00142 {
00143 if ( metaObj )
00144 return metaObj;
00145 QMetaObject* parentObject = QHBox::staticMetaObject();
00146 static const QUMethod slot_0 = {"searchClass", 0, 0 };
00147 static const QMetaData slot_tbl[] = {
00148 { "searchClass()", &slot_0, QMetaData::Public }
00149 };
00150 metaObj = QMetaObject::new_metaobject(
00151 "MainLayout", parentObject,
00152 slot_tbl, 1,
00153 0, 0,
00154 #ifndef QT_NO_PROPERTIES
00155 0, 0,
00156 0, 0,
00157 MainLayout::qt_static_property,
00158 #endif
00159 0, 0 );
00160 cleanUp_MainLayout.setMetaObject( metaObj );
00161 return metaObj;
00162 }
00163
00164 void* MainLayout::qt_cast( const char* clname )
00165 {
00166 if ( !qstrcmp( clname, "MainLayout" ) )
00167 return this;
00168 return QHBox::qt_cast( clname );
00169 }
00170
00171 bool MainLayout::qt_invoke( int _id, QUObject* _o )
00172 {
00173 switch ( _id - staticMetaObject()->slotOffset() ) {
00174 case 0: searchClass(); break;
00175 default:
00176 return QHBox::qt_invoke( _id, _o );
00177 }
00178 return TRUE;
00179 }
00180
00181 bool MainLayout::qt_emit( int _id, QUObject* _o )
00182 {
00183 return QHBox::qt_emit(_id,_o);
00184 }
00185 #ifndef QT_NO_PROPERTIES
00186
00187 bool MainLayout::qt_property( int id, int f, QVariant* v)
00188 {
00189 if ( id >= staticMetaObject()->propertyOffset() )
00190 return qt_static_property(this, id, f, v);
00191 return QHBox::qt_property( id, f, v );
00192 }
00193
00194 bool MainLayout::qt_static_property( QObject* oo, int id, int f, QVariant* v)
00195 {
00196 return QHBox::staticMetaObject()->qt_static_property( oo, id, f, v);
00197 }
00198 #endif // QT_NO_PROPERTIES