~ubuntu-branches/ubuntu/lucid/qt-x11-free/lucid

« back to all changes in this revision

Viewing changes to src/.moc/release-shared-mt/moc_qfontdialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2009-11-09 14:37:51 UTC
  • mfrom: (0.32.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091109143751-ocohpw4y0j4yi20w
Tags: 3:3.3.8-b-6ubuntu1
* Merge with Debian, remaining changes:
 - Add kubuntu_06_fglrx_0_size_screen.dpatch work around fglrx reporting a 0 size screen.
   Closes https://bugs.launchpad.net/ubuntu/+source/qt-x11-free/+bug/81686
 - Add kubuntu_09_flickerfree_qiconview.dpatch to add
   double-buffering for the icon redraw - prevents flicker on window
   redrawing (LP: #209227)
 - No firebird/ibase build (remove build-dep, control entry, ibase
   ./configure option), firebird is not in Ubuntu main
 - Add debian/qt_plugins_3.3rc and debian/qtrc to set default style to plastique, edit libqt3-mt.install to install them

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/****************************************************************************
2
 
** QFontDialog meta object code from reading C++ file 'qfontdialog.h'
3
 
**
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 $)
6
 
**
7
 
** WARNING! All changes made in this file will be lost!
8
 
*****************************************************************************/
9
 
 
10
 
#undef QT_NO_COMPAT
11
 
#include "../../dialogs/qfontdialog.h"
12
 
#include <qmetaobject.h>
13
 
#include <qapplication.h>
14
 
 
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
21
 
 
22
 
const char *QFontDialog::className() const
23
 
{
24
 
    return "QFontDialog";
25
 
}
26
 
 
27
 
QMetaObject *QFontDialog::metaObj = 0;
28
 
static QMetaObjectCleanUp cleanUp_QFontDialog( "QFontDialog", &QFontDialog::staticMetaObject );
29
 
 
30
 
#ifndef QT_NO_TRANSLATION
31
 
QString QFontDialog::tr( const char *s, const char *c )
32
 
{
33
 
    if ( qApp )
34
 
        return qApp->translate( "QFontDialog", s, c, QApplication::DefaultCodec );
35
 
    else
36
 
        return QString::fromLatin1( s );
37
 
}
38
 
#ifndef QT_NO_TRANSLATION_UTF8
39
 
QString QFontDialog::trUtf8( const char *s, const char *c )
40
 
{
41
 
    if ( qApp )
42
 
        return qApp->translate( "QFontDialog", s, c, QApplication::UnicodeUTF8 );
43
 
    else
44
 
        return QString::fromUtf8( s );
45
 
}
46
 
#endif // QT_NO_TRANSLATION_UTF8
47
 
 
48
 
#endif // QT_NO_TRANSLATION
49
 
 
50
 
QMetaObject* QFontDialog::staticMetaObject()
51
 
{
52
 
    if ( metaObj )
53
 
        return metaObj;
54
 
    QMetaObject* parentObject = QDialog::staticMetaObject();
55
 
    static const QUParameter param_slot_0[] = {
56
 
        { 0, &static_QUType_QString, 0, QUParameter::In }
57
 
    };
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 }
61
 
    };
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 }
65
 
    };
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 }
69
 
    };
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 }
73
 
    };
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 }
83
 
    };
84
 
    metaObj = QMetaObject::new_metaobject(
85
 
        "QFontDialog", parentObject,
86
 
        slot_tbl, 6,
87
 
        0, 0,
88
 
#ifndef QT_NO_PROPERTIES
89
 
        0, 0,
90
 
        0, 0,
91
 
#endif // QT_NO_PROPERTIES
92
 
        0, 0 );
93
 
    cleanUp_QFontDialog.setMetaObject( metaObj );
94
 
    return metaObj;
95
 
}
96
 
 
97
 
void* QFontDialog::qt_cast( const char* clname )
98
 
{
99
 
    if ( !qstrcmp( clname, "QFontDialog" ) )
100
 
        return this;
101
 
    return QDialog::qt_cast( clname );
102
 
}
103
 
 
104
 
bool QFontDialog::qt_invoke( int _id, QUObject* _o )
105
 
{
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;
113
 
    default:
114
 
        return QDialog::qt_invoke( _id, _o );
115
 
    }
116
 
    return TRUE;
117
 
}
118
 
 
119
 
bool QFontDialog::qt_emit( int _id, QUObject* _o )
120
 
{
121
 
    return QDialog::qt_emit(_id,_o);
122
 
}
123
 
#ifndef QT_NO_PROPERTIES
124
 
 
125
 
bool QFontDialog::qt_property( int id, int f, QVariant* v)
126
 
{
127
 
    return QDialog::qt_property( id, f, v);
128
 
}
129
 
 
130
 
bool QFontDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
131
 
#endif // QT_NO_PROPERTIES