Update with current status
[gnash.git] / gui / qt / klash3.moc.in
blobf71b20e305bbf72cd25dd695e5446bc58b9158f2
1 /****************************************************************************
2 ** gnash::qwidget meta object code from reading C++ file 'kdesup.h'
3 **
4 ** Created: Thu Feb 12 14:20:33 2009
5 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #undef QT_NO_COMPAT
11 #include "kdesup.h"
12 #include <qmetaobject.h>
13 #include <qapplication.h>
15 #include <private/qucomextra_p.h>
16 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
17 #error "This file was generated using the moc from 3.3.8b. It"
18 #error "cannot be used with the include files from this version of Qt."
19 #error "(The moc has changed too much.)"
20 #endif
22 const char *gnash::qwidget::className() const
24     return "gnash::qwidget";
27 QMetaObject *gnash::qwidget::metaObj = 0;
28 static QMetaObjectCleanUp cleanUp_gnash__qwidget( "gnash::qwidget", &gnash::qwidget::staticMetaObject );
30 #ifndef QT_NO_TRANSLATION
31 QString gnash::qwidget::tr( const char *s, const char *c )
33     if ( qApp )
34         return qApp->translate( "gnash::qwidget", s, c, QApplication::DefaultCodec );
35     else
36         return QString::fromLatin1( s );
38 #ifndef QT_NO_TRANSLATION_UTF8
39 QString gnash::qwidget::trUtf8( const char *s, const char *c )
41     if ( qApp )
42         return qApp->translate( "gnash::qwidget", s, c, QApplication::UnicodeUTF8 );
43     else
44         return QString::fromUtf8( s );
46 #endif // QT_NO_TRANSLATION_UTF8
48 #endif // QT_NO_TRANSLATION
50 QMetaObject* gnash::qwidget::staticMetaObject()
52     if ( metaObj )
53         return metaObj;
54     QMetaObject* parentObject = WIDGETCLASS::staticMetaObject();
55     static const QUMethod slot_0 = {"menuitem_restart_callback", 0, 0 };
56     static const QUMethod slot_1 = {"menuitem_refresh_callback", 0, 0 };
57     static const QUMethod slot_2 = {"menuitem_quit_callback", 0, 0 };
58     static const QUMethod slot_3 = {"menuitem_play_callback", 0, 0 };
59     static const QUMethod slot_4 = {"menuitem_pause_callback", 0, 0 };
60     static const QUMethod slot_5 = {"menuitem_stop_callback", 0, 0 };
61     static const QMetaData slot_tbl[] = {
62         { "menuitem_restart_callback()", &slot_0, QMetaData::Public },
63         { "menuitem_refresh_callback()", &slot_1, QMetaData::Public },
64         { "menuitem_quit_callback()", &slot_2, QMetaData::Public },
65         { "menuitem_play_callback()", &slot_3, QMetaData::Public },
66         { "menuitem_pause_callback()", &slot_4, QMetaData::Public },
67         { "menuitem_stop_callback()", &slot_5, QMetaData::Public }
68     };
69     metaObj = QMetaObject::new_metaobject(
70         "gnash::qwidget", parentObject,
71         slot_tbl, 6,
72         0, 0,
73 #ifndef QT_NO_PROPERTIES
74         0, 0,
75         0, 0,
76 #endif // QT_NO_PROPERTIES
77         0, 0 );
78     cleanUp_gnash__qwidget.setMetaObject( metaObj );
79     return metaObj;
82 void* gnash::qwidget::qt_cast( const char* clname )
84     if ( !qstrcmp( clname, "gnash::qwidget" ) )
85         return this;
86     return WIDGETCLASS::qt_cast( clname );
89 bool gnash::qwidget::qt_invoke( int _id, QUObject* _o )
91     switch ( _id - staticMetaObject()->slotOffset() ) {
92     case 0: menuitem_restart_callback(); break;
93     case 1: menuitem_refresh_callback(); break;
94     case 2: menuitem_quit_callback(); break;
95     case 3: menuitem_play_callback(); break;
96     case 4: menuitem_pause_callback(); break;
97     case 5: menuitem_stop_callback(); break;
98     default:
99         return WIDGETCLASS::qt_invoke( _id, _o );
100     }
101     return TRUE;
104 bool gnash::qwidget::qt_emit( int _id, QUObject* _o )
106     return WIDGETCLASS::qt_emit(_id,_o);
108 #ifndef QT_NO_PROPERTIES
110 bool gnash::qwidget::qt_property( int id, int f, QVariant* v)
112     return WIDGETCLASS::qt_property( id, f, v);
115 bool gnash::qwidget::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
116 #endif // QT_NO_PROPERTIES