Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

celestialbrowser.moc.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** CelestialBrowser meta object code from reading C++ file 'celestialbrowser.h'
00003 **
00004 ** Created: Sun Dec 11 15:21:39 2005
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.4   edited Jan 21 18:14 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "celestialbrowser.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.4. 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 *CelestialBrowser::className() const
00023 {
00024     return "CelestialBrowser";
00025 }
00026 
00027 QMetaObject *CelestialBrowser::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_CelestialBrowser( "CelestialBrowser", &CelestialBrowser::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString CelestialBrowser::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "CelestialBrowser", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString CelestialBrowser::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "CelestialBrowser", 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* CelestialBrowser::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = CelestialBrowserBase::staticMetaObject();
00055     static const QUParameter param_slot_0[] = {
00056         { 0, &static_QUType_bool, 0, QUParameter::In }
00057     };
00058     static const QUMethod slot_0 = {"slotNearest", 1, param_slot_0 };
00059     static const QUParameter param_slot_1[] = {
00060         { 0, &static_QUType_bool, 0, QUParameter::In }
00061     };
00062     static const QUMethod slot_1 = {"slotBrightest", 1, param_slot_1 };
00063     static const QUParameter param_slot_2[] = {
00064         { 0, &static_QUType_bool, 0, QUParameter::In }
00065     };
00066     static const QUMethod slot_2 = {"slotBrighter", 1, param_slot_2 };
00067     static const QUParameter param_slot_3[] = {
00068         { 0, &static_QUType_bool, 0, QUParameter::In }
00069     };
00070     static const QUMethod slot_3 = {"slotWithPlanets", 1, param_slot_3 };
00071     static const QUMethod slot_4 = {"slotRefresh", 0, 0 };
00072     static const QUParameter param_slot_5[] = {
00073         { 0, &static_QUType_ptr, "QListViewItem", QUParameter::In },
00074         { 0, &static_QUType_varptr, "\x0e", QUParameter::In },
00075         { 0, &static_QUType_int, 0, QUParameter::In }
00076     };
00077     static const QUMethod slot_5 = {"slotRightClickOnStar", 3, param_slot_5 };
00078     static const QMetaData slot_tbl[] = {
00079         { "slotNearest(bool)", &slot_0, QMetaData::Public },
00080         { "slotBrightest(bool)", &slot_1, QMetaData::Public },
00081         { "slotBrighter(bool)", &slot_2, QMetaData::Public },
00082         { "slotWithPlanets(bool)", &slot_3, QMetaData::Public },
00083         { "slotRefresh()", &slot_4, QMetaData::Public },
00084         { "slotRightClickOnStar(QListViewItem*,const QPoint&,int)", &slot_5, QMetaData::Public }
00085     };
00086     metaObj = QMetaObject::new_metaobject(
00087         "CelestialBrowser", parentObject,
00088         slot_tbl, 6,
00089         0, 0,
00090 #ifndef QT_NO_PROPERTIES
00091         0, 0,
00092         0, 0,
00093 #endif // QT_NO_PROPERTIES
00094         0, 0 );
00095     cleanUp_CelestialBrowser.setMetaObject( metaObj );
00096     return metaObj;
00097 }
00098 
00099 void* CelestialBrowser::qt_cast( const char* clname )
00100 {
00101     if ( !qstrcmp( clname, "CelestialBrowser" ) )
00102         return this;
00103     return CelestialBrowserBase::qt_cast( clname );
00104 }
00105 
00106 bool CelestialBrowser::qt_invoke( int _id, QUObject* _o )
00107 {
00108     switch ( _id - staticMetaObject()->slotOffset() ) {
00109     case 0: slotNearest((bool)static_QUType_bool.get(_o+1)); break;
00110     case 1: slotBrightest((bool)static_QUType_bool.get(_o+1)); break;
00111     case 2: slotBrighter((bool)static_QUType_bool.get(_o+1)); break;
00112     case 3: slotWithPlanets((bool)static_QUType_bool.get(_o+1)); break;
00113     case 4: slotRefresh(); break;
00114     case 5: slotRightClickOnStar((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
00115     default:
00116         return CelestialBrowserBase::qt_invoke( _id, _o );
00117     }
00118     return TRUE;
00119 }
00120 
00121 bool CelestialBrowser::qt_emit( int _id, QUObject* _o )
00122 {
00123     return CelestialBrowserBase::qt_emit(_id,_o);
00124 }
00125 #ifndef QT_NO_PROPERTIES
00126 
00127 bool CelestialBrowser::qt_property( int id, int f, QVariant* v)
00128 {
00129     return CelestialBrowserBase::qt_property( id, f, v);
00130 }
00131 
00132 bool CelestialBrowser::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00133 #endif // QT_NO_PROPERTIES

Generated on Sat Jan 14 22:30:30 2006 for Celestia by  doxygen 1.4.1