Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

search.moc.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Search meta object code from reading C++ file 'search.h'
00003 **
00004 ** Created: Sat Mar 27 00:56:30 2004
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.2.3   edited Nov 10 11:18 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "search.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.2.3. 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 *Search::className() const
00023 {
00024     return "Search";
00025 }
00026 
00027 QMetaObject *Search::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_Search( "Search", &Search::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString Search::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "Search", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString Search::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "Search", 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* Search::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = ReadOnlyFormBase::staticMetaObject();
00055     static const QUMethod slot_0 = {"startSearch", 0, 0 };
00056     static const QUParameter param_slot_1[] = {
00057         { "link", &static_QUType_QString, 0, QUParameter::In }
00058     };
00059     static const QUMethod slot_1 = {"linkClicked", 1, param_slot_1 };
00060     static const QUMethod slot_2 = {"checkThreads", 0, 0 };
00061     static const QMetaData slot_tbl[] = {
00062         { "startSearch()", &slot_0, QMetaData::Protected },
00063         { "linkClicked(const QString&)", &slot_1, QMetaData::Protected },
00064         { "checkThreads()", &slot_2, QMetaData::Protected }
00065     };
00066     metaObj = QMetaObject::new_metaobject(
00067         "Search", parentObject,
00068         slot_tbl, 3,
00069         0, 0,
00070 #ifndef QT_NO_PROPERTIES
00071         0, 0,
00072         0, 0,
00073 #endif // QT_NO_PROPERTIES
00074         0, 0 );
00075     cleanUp_Search.setMetaObject( metaObj );
00076     return metaObj;
00077 }
00078 
00079 void* Search::qt_cast( const char* clname )
00080 {
00081     if ( !qstrcmp( clname, "Search" ) )
00082         return this;
00083     return ReadOnlyFormBase::qt_cast( clname );
00084 }
00085 
00086 bool Search::qt_invoke( int _id, QUObject* _o )
00087 {
00088     switch ( _id - staticMetaObject()->slotOffset() ) {
00089     case 0: startSearch(); break;
00090     case 1: linkClicked((const QString&)static_QUType_QString.get(_o+1)); break;
00091     case 2: checkThreads(); break;
00092     default:
00093         return ReadOnlyFormBase::qt_invoke( _id, _o );
00094     }
00095     return TRUE;
00096 }
00097 
00098 bool Search::qt_emit( int _id, QUObject* _o )
00099 {
00100     return ReadOnlyFormBase::qt_emit(_id,_o);
00101 }
00102 #ifndef QT_NO_PROPERTIES
00103 
00104 bool Search::qt_property( int id, int f, QVariant* v)
00105 {
00106     return ReadOnlyFormBase::qt_property( id, f, v);
00107 }
00108 
00109 bool Search::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00110 #endif // QT_NO_PROPERTIES

Generated on Sat Mar 27 19:20:44 2004 for Literature by doxygen 1.3.6-20040222