1
/****************************************************************************
2
** QFontDialog meta object code from reading C++ file 'qfontdialog.h'
4
** Created: Fri May 2 11:45:40 2008
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 "../../dialogs/qfontdialog.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 *QFontDialog::className() const
27
QMetaObject *QFontDialog::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_QFontDialog( "QFontDialog", &QFontDialog::staticMetaObject );
30
#ifndef QT_NO_TRANSLATION
31
QString QFontDialog::tr( const char *s, const char *c )
34
return qApp->translate( "QFontDialog", s, c, QApplication::DefaultCodec );
36
return QString::fromLatin1( s );
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString QFontDialog::trUtf8( const char *s, const char *c )
42
return qApp->translate( "QFontDialog", s, c, QApplication::UnicodeUTF8 );
44
return QString::fromUtf8( s );
46
#endif // QT_NO_TRANSLATION_UTF8
48
#endif // QT_NO_TRANSLATION
50
QMetaObject* QFontDialog::staticMetaObject()
54
QMetaObject* parentObject = QDialog::staticMetaObject();
55
static const QUParameter param_slot_0[] = {
56
{ 0, &static_QUType_QString, 0, QUParameter::In }
58
static const QUMethod slot_0 = {"sizeChanged", 1, param_slot_0 };
59
static const QUParameter param_slot_1[] = {
60
{ 0, &static_QUType_int, 0, QUParameter::In }
62
static const QUMethod slot_1 = {"familyHighlighted", 1, param_slot_1 };
63
static const QUParameter param_slot_2[] = {
64
{ 0, &static_QUType_int, 0, QUParameter::In }
66
static const QUMethod slot_2 = {"scriptHighlighted", 1, param_slot_2 };
67
static const QUParameter param_slot_3[] = {
68
{ 0, &static_QUType_int, 0, QUParameter::In }
70
static const QUMethod slot_3 = {"styleHighlighted", 1, param_slot_3 };
71
static const QUParameter param_slot_4[] = {
72
{ 0, &static_QUType_QString, 0, QUParameter::In }
74
static const QUMethod slot_4 = {"sizeHighlighted", 1, param_slot_4 };
75
static const QUMethod slot_5 = {"updateSample", 0, 0 };
76
static const QMetaData slot_tbl[] = {
77
{ "sizeChanged(const QString&)", &slot_0, QMetaData::Private },
78
{ "familyHighlighted(int)", &slot_1, QMetaData::Private },
79
{ "scriptHighlighted(int)", &slot_2, QMetaData::Private },
80
{ "styleHighlighted(int)", &slot_3, QMetaData::Private },
81
{ "sizeHighlighted(const QString&)", &slot_4, QMetaData::Private },
82
{ "updateSample()", &slot_5, QMetaData::Private }
84
metaObj = QMetaObject::new_metaobject(
85
"QFontDialog", parentObject,
88
#ifndef QT_NO_PROPERTIES
91
#endif // QT_NO_PROPERTIES
93
cleanUp_QFontDialog.setMetaObject( metaObj );
97
void* QFontDialog::qt_cast( const char* clname )
99
if ( !qstrcmp( clname, "QFontDialog" ) )
101
return QDialog::qt_cast( clname );
104
bool QFontDialog::qt_invoke( int _id, QUObject* _o )
106
switch ( _id - staticMetaObject()->slotOffset() ) {
107
case 0: sizeChanged((const QString&)static_QUType_QString.get(_o+1)); break;
108
case 1: familyHighlighted((int)static_QUType_int.get(_o+1)); break;
109
case 2: scriptHighlighted((int)static_QUType_int.get(_o+1)); break;
110
case 3: styleHighlighted((int)static_QUType_int.get(_o+1)); break;
111
case 4: sizeHighlighted((const QString&)static_QUType_QString.get(_o+1)); break;
112
case 5: updateSample(); break;
114
return QDialog::qt_invoke( _id, _o );
119
bool QFontDialog::qt_emit( int _id, QUObject* _o )
121
return QDialog::qt_emit(_id,_o);
123
#ifndef QT_NO_PROPERTIES
125
bool QFontDialog::qt_property( int id, int f, QVariant* v)
127
return QDialog::qt_property( id, f, v);
130
bool QFontDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
131
#endif // QT_NO_PROPERTIES