1
/****************************************************************************
2
** QTipLabel meta object code from reading C++ file 'qtooltip.cpp'
4
** Created: Fri May 2 11:41:37 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
*****************************************************************************/
10
#include <qmetaobject.h>
11
#include <qapplication.h>
13
#include <private/qucomextra_p.h>
14
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
15
#error "This file was generated using the moc from 3.3.8b. It"
16
#error "cannot be used with the include files from this version of Qt."
17
#error "(The moc has changed too much.)"
20
const char *QTipLabel::className() const
25
QMetaObject *QTipLabel::metaObj = 0;
26
static QMetaObjectCleanUp cleanUp_QTipLabel( "QTipLabel", &QTipLabel::staticMetaObject );
28
#ifndef QT_NO_TRANSLATION
29
QString QTipLabel::tr( const char *s, const char *c )
32
return qApp->translate( "QTipLabel", s, c, QApplication::DefaultCodec );
34
return QString::fromLatin1( s );
36
#ifndef QT_NO_TRANSLATION_UTF8
37
QString QTipLabel::trUtf8( const char *s, const char *c )
40
return qApp->translate( "QTipLabel", s, c, QApplication::UnicodeUTF8 );
42
return QString::fromUtf8( s );
44
#endif // QT_NO_TRANSLATION_UTF8
46
#endif // QT_NO_TRANSLATION
48
QMetaObject* QTipLabel::staticMetaObject()
52
QMetaObject* parentObject = QLabel::staticMetaObject();
53
metaObj = QMetaObject::new_metaobject(
54
"QTipLabel", parentObject,
57
#ifndef QT_NO_PROPERTIES
60
#endif // QT_NO_PROPERTIES
62
cleanUp_QTipLabel.setMetaObject( metaObj );
66
void* QTipLabel::qt_cast( const char* clname )
68
if ( !qstrcmp( clname, "QTipLabel" ) )
70
return QLabel::qt_cast( clname );
73
bool QTipLabel::qt_invoke( int _id, QUObject* _o )
75
return QLabel::qt_invoke(_id,_o);
78
bool QTipLabel::qt_emit( int _id, QUObject* _o )
80
return QLabel::qt_emit(_id,_o);
82
#ifndef QT_NO_PROPERTIES
84
bool QTipLabel::qt_property( int id, int f, QVariant* v)
86
return QLabel::qt_property( id, f, v);
89
bool QTipLabel::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
90
#endif // QT_NO_PROPERTIES
93
const char *QTipManager::className() const
98
QMetaObject *QTipManager::metaObj = 0;
99
static QMetaObjectCleanUp cleanUp_QTipManager( "QTipManager", &QTipManager::staticMetaObject );
101
#ifndef QT_NO_TRANSLATION
102
QString QTipManager::tr( const char *s, const char *c )
105
return qApp->translate( "QTipManager", s, c, QApplication::DefaultCodec );
107
return QString::fromLatin1( s );
109
#ifndef QT_NO_TRANSLATION_UTF8
110
QString QTipManager::trUtf8( const char *s, const char *c )
113
return qApp->translate( "QTipManager", s, c, QApplication::UnicodeUTF8 );
115
return QString::fromUtf8( s );
117
#endif // QT_NO_TRANSLATION_UTF8
119
#endif // QT_NO_TRANSLATION
121
QMetaObject* QTipManager::staticMetaObject()
125
QMetaObject* parentObject = QObject::staticMetaObject();
126
static const QUMethod slot_0 = {"hideTip", 0, 0 };
127
static const QUMethod slot_1 = {"labelDestroyed", 0, 0 };
128
static const QUMethod slot_2 = {"clientWidgetDestroyed", 0, 0 };
129
static const QUMethod slot_3 = {"showTip", 0, 0 };
130
static const QUMethod slot_4 = {"allowAnimation", 0, 0 };
131
static const QMetaData slot_tbl[] = {
132
{ "hideTip()", &slot_0, QMetaData::Public },
133
{ "labelDestroyed()", &slot_1, QMetaData::Private },
134
{ "clientWidgetDestroyed()", &slot_2, QMetaData::Private },
135
{ "showTip()", &slot_3, QMetaData::Private },
136
{ "allowAnimation()", &slot_4, QMetaData::Private }
138
metaObj = QMetaObject::new_metaobject(
139
"QTipManager", parentObject,
142
#ifndef QT_NO_PROPERTIES
145
#endif // QT_NO_PROPERTIES
147
cleanUp_QTipManager.setMetaObject( metaObj );
151
void* QTipManager::qt_cast( const char* clname )
153
if ( !qstrcmp( clname, "QTipManager" ) )
155
return QObject::qt_cast( clname );
158
bool QTipManager::qt_invoke( int _id, QUObject* _o )
160
switch ( _id - staticMetaObject()->slotOffset() ) {
161
case 0: hideTip(); break;
162
case 1: labelDestroyed(); break;
163
case 2: clientWidgetDestroyed(); break;
164
case 3: showTip(); break;
165
case 4: allowAnimation(); break;
167
return QObject::qt_invoke( _id, _o );
172
bool QTipManager::qt_emit( int _id, QUObject* _o )
174
return QObject::qt_emit(_id,_o);
176
#ifndef QT_NO_PROPERTIES
178
bool QTipManager::qt_property( int id, int f, QVariant* v)
180
return QObject::qt_property( id, f, v);
183
bool QTipManager::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
184
#endif // QT_NO_PROPERTIES