1
/****************************************************************************
2
** BondEditDialog meta object code from reading C++ file 'bondedit.h'
4
** Created: Fri Aug 10 23:32:35 2007
5
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.7 edited Oct 19 16:22 $)
7
** WARNING! All changes made in this file will be lost!
8
*****************************************************************************/
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.7. 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 *BondEditDialog::className() const
24
return "BondEditDialog";
27
QMetaObject *BondEditDialog::metaObj = 0;
28
static QMetaObjectCleanUp cleanUp_BondEditDialog( "BondEditDialog", &BondEditDialog::staticMetaObject );
30
#ifndef QT_NO_TRANSLATION
31
QString BondEditDialog::tr( const char *s, const char *c )
34
return qApp->translate( "BondEditDialog", s, c, QApplication::DefaultCodec );
36
return QString::fromLatin1( s );
38
#ifndef QT_NO_TRANSLATION_UTF8
39
QString BondEditDialog::trUtf8( const char *s, const char *c )
42
return qApp->translate( "BondEditDialog", s, c, QApplication::UnicodeUTF8 );
44
return QString::fromUtf8( s );
46
#endif // QT_NO_TRANSLATION_UTF8
48
#endif // QT_NO_TRANSLATION
50
QMetaObject* BondEditDialog::staticMetaObject()
54
QMetaObject* parentObject = QDialog::staticMetaObject();
55
static const QUMethod slot_0 = {"GetNewColor", 0, 0 };
56
static const QUParameter param_slot_1[] = {
57
{ "s1", &static_QUType_int, 0, QUParameter::In }
59
static const QUMethod slot_1 = {"StyleChanged", 1, param_slot_1 };
60
static const QUParameter param_slot_2[] = {
61
{ "o1", &static_QUType_int, 0, QUParameter::In }
63
static const QUMethod slot_2 = {"OrderChanged", 1, param_slot_2 };
64
static const QUParameter param_slot_3[] = {
65
{ "tnew", &static_QUType_int, 0, QUParameter::In }
67
static const QUMethod slot_3 = {"SetThick", 1, param_slot_3 };
68
static const QUParameter param_slot_4[] = {
69
{ "tnew", &static_QUType_int, 0, QUParameter::In }
71
static const QUMethod slot_4 = {"SetDoubleBond", 1, param_slot_4 };
72
static const QMetaData slot_tbl[] = {
73
{ "GetNewColor()", &slot_0, QMetaData::Public },
74
{ "StyleChanged(int)", &slot_1, QMetaData::Public },
75
{ "OrderChanged(int)", &slot_2, QMetaData::Public },
76
{ "SetThick(int)", &slot_3, QMetaData::Public },
77
{ "SetDoubleBond(int)", &slot_4, QMetaData::Public }
79
metaObj = QMetaObject::new_metaobject(
80
"BondEditDialog", parentObject,
83
#ifndef QT_NO_PROPERTIES
86
#endif // QT_NO_PROPERTIES
88
cleanUp_BondEditDialog.setMetaObject( metaObj );
92
void* BondEditDialog::qt_cast( const char* clname )
94
if ( !qstrcmp( clname, "BondEditDialog" ) )
96
return QDialog::qt_cast( clname );
99
bool BondEditDialog::qt_invoke( int _id, QUObject* _o )
101
switch ( _id - staticMetaObject()->slotOffset() ) {
102
case 0: GetNewColor(); break;
103
case 1: StyleChanged((int)static_QUType_int.get(_o+1)); break;
104
case 2: OrderChanged((int)static_QUType_int.get(_o+1)); break;
105
case 3: SetThick((int)static_QUType_int.get(_o+1)); break;
106
case 4: SetDoubleBond((int)static_QUType_int.get(_o+1)); break;
108
return QDialog::qt_invoke( _id, _o );
113
bool BondEditDialog::qt_emit( int _id, QUObject* _o )
115
return QDialog::qt_emit(_id,_o);
117
#ifndef QT_NO_PROPERTIES
119
bool BondEditDialog::qt_property( int id, int f, QVariant* v)
121
return QDialog::qt_property( id, f, v);
124
bool BondEditDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
125
#endif // QT_NO_PROPERTIES