1
/****************************************************************************
2
** OptionsPage meta object code from reading C++ file 'options_page.h'
4
** Created: Sat Feb 21 11:49:29 2009
5
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
11
#include "options_page.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.)"
22
const char *OptionsPage::className() const
27
QMetaObject *OptionsPage::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_OptionsPage( "OptionsPage", &OptionsPage::staticMetaObject );
30
#ifndef QT_NO_TRANSLATION
31
QString OptionsPage::tr( const char *s, const char *c )
34
return qApp->translate( "OptionsPage", s, c, QApplication::DefaultCodec );
36
return QString::fromLatin1( s );
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString OptionsPage::trUtf8( const char *s, const char *c )
42
return qApp->translate( "OptionsPage", s, c, QApplication::UnicodeUTF8 );
44
return QString::fromUtf8( s );
46
#endif // QT_NO_TRANSLATION_UTF8
48
#endif // QT_NO_TRANSLATION
50
QMetaObject* OptionsPage::staticMetaObject()
54
QMetaObject* parentObject = QWidget::staticMetaObject();
55
static const QUParameter param_slot_0[] = {
56
{ 0, &static_QUType_bool, 0, QUParameter::In },
57
{ 0, &static_QUType_ptr, "OptionWidget", QUParameter::In }
59
static const QUMethod slot_0 = {"updateEditList", 2, param_slot_0 };
60
static const QMetaData slot_tbl[] = {
61
{ "updateEditList(bool,OptionWidget*)", &slot_0, QMetaData::Public }
63
static const QUMethod signal_0 = {"modified", 0, 0 };
64
static const QUMethod signal_1 = {"apply", 0, 0 };
65
static const QMetaData signal_tbl[] = {
66
{ "modified()", &signal_0, QMetaData::Public },
67
{ "apply()", &signal_1, QMetaData::Public }
69
metaObj = QMetaObject::new_metaobject(
70
"OptionsPage", parentObject,
73
#ifndef QT_NO_PROPERTIES
76
#endif // QT_NO_PROPERTIES
78
cleanUp_OptionsPage.setMetaObject( metaObj );
82
void* OptionsPage::qt_cast( const char* clname )
84
if ( !qstrcmp( clname, "OptionsPage" ) )
86
return QWidget::qt_cast( clname );
90
void OptionsPage::modified()
92
activate_signal( staticMetaObject()->signalOffset() + 0 );
96
void OptionsPage::apply()
98
activate_signal( staticMetaObject()->signalOffset() + 1 );
101
bool OptionsPage::qt_invoke( int _id, QUObject* _o )
103
switch ( _id - staticMetaObject()->slotOffset() ) {
104
case 0: updateEditList((bool)static_QUType_bool.get(_o+1),(OptionWidget*)static_QUType_ptr.get(_o+2)); break;
106
return QWidget::qt_invoke( _id, _o );
111
bool OptionsPage::qt_emit( int _id, QUObject* _o )
113
switch ( _id - staticMetaObject()->signalOffset() ) {
114
case 0: modified(); break;
115
case 1: apply(); break;
117
return QWidget::qt_emit(_id,_o);
121
#ifndef QT_NO_PROPERTIES
123
bool OptionsPage::qt_property( int id, int f, QVariant* v)
125
return QWidget::qt_property( id, f, v);
128
bool OptionsPage::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
129
#endif // QT_NO_PROPERTIES