Diffstat (limited to 'inputmethods/jumpx/moc_keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | inputmethods/jumpx/moc_keyboard.cpp | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/inputmethods/jumpx/moc_keyboard.cpp b/inputmethods/jumpx/moc_keyboard.cpp new file mode 100644 index 0000000..59d9bb3 --- a/dev/null +++ b/inputmethods/jumpx/moc_keyboard.cpp @@ -0,0 +1,177 @@ +/**************************************************************************** +** Keyboard meta object code from reading C++ file 'keyboard.h' +** +** Created: Mon Feb 4 21:38:24 2002 +** by: The Qt MOC ($Id$) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#if !defined(Q_MOC_OUTPUT_REVISION) +#define Q_MOC_OUTPUT_REVISION 9 +#elif Q_MOC_OUTPUT_REVISION != 9 +#error "Moc format conflict - please regenerate all moc files" +#endif + +#include "keyboard.h" +#include <qmetaobject.h> +#include <qapplication.h> + + + +const char *Keyboard::className() const +{ + return "Keyboard"; +} + +QMetaObject *Keyboard::metaObj = 0; + +void Keyboard::initMetaObject() +{ + if ( metaObj ) + return; + if ( qstrcmp(QFrame::className(), "QFrame") != 0 ) + badSuperclassWarning("Keyboard","QFrame"); + (void) staticMetaObject(); +} + +#ifndef QT_NO_TRANSLATION + +QString Keyboard::tr(const char* s) +{ + return qApp->translate( "Keyboard", s, 0 ); +} + +QString Keyboard::tr(const char* s, const char * c) +{ + return qApp->translate( "Keyboard", s, c ); +} + +#endif // QT_NO_TRANSLATION + +QMetaObject* Keyboard::staticMetaObject() +{ + if ( metaObj ) + return metaObj; + (void) QFrame::staticMetaObject(); +#ifndef QT_NO_PROPERTIES +#endif // QT_NO_PROPERTIES + typedef void (Keyboard::*m1_t0)(); + typedef void (QObject::*om1_t0)(); + typedef void (Keyboard::*m1_t1)(); + typedef void (QObject::*om1_t1)(); + m1_t0 v1_0 = &Keyboard::delayTimerDone; + om1_t0 ov1_0 = (om1_t0)v1_0; + m1_t1 v1_1 = &Keyboard::rateTimerDone; + om1_t1 ov1_1 = (om1_t1)v1_1; + QMetaData *slot_tbl = QMetaObject::new_metadata(2); + QMetaData::Access *slot_tbl_access = QMetaObject::new_metaaccess(2); + slot_tbl[0].name = "delayTimerDone()"; + slot_tbl[0].ptr = (QMember)ov1_0; + slot_tbl_access[0] = QMetaData::Private; + slot_tbl[1].name = "rateTimerDone()"; + slot_tbl[1].ptr = (QMember)ov1_1; + slot_tbl_access[1] = QMetaData::Private; + typedef void (Keyboard::*m2_t0)(ushort,ushort,ushort,bool,bool); + typedef void (QObject::*om2_t0)(ushort,ushort,ushort,bool,bool); + m2_t0 v2_0 = &Keyboard::key; + om2_t0 ov2_0 = (om2_t0)v2_0; + QMetaData *signal_tbl = QMetaObject::new_metadata(1); + signal_tbl[0].name = "key(ushort,ushort,ushort,bool,bool)"; + signal_tbl[0].ptr = (QMember)ov2_0; + metaObj = QMetaObject::new_metaobject( + "Keyboard", "QFrame", + slot_tbl, 2, + signal_tbl, 1, +#ifndef QT_NO_PROPERTIES + 0, 0, + 0, 0, +#endif // QT_NO_PROPERTIES + 0, 0 ); + metaObj->set_slot_access( slot_tbl_access ); +#ifndef QT_NO_PROPERTIES +#endif // QT_NO_PROPERTIES + return metaObj; +} + +#include <qobjectdefs.h> +#include <qsignalslotimp.h> + +// SIGNAL key +void Keyboard::key( ushort t0, ushort t1, ushort t2, bool t3, bool t4 ) +{ + // No builtin function for signal parameter type ushort,ushort,ushort,bool,bool + QConnectionList *clist = receivers("key(ushort,ushort,ushort,bool,bool)"); + if ( !clist || signalsBlocked() ) + return; + typedef void (QObject::*RT0)(); + typedef void (QObject::*RT1)(ushort); + typedef void (QObject::*RT2)(ushort,ushort); + typedef void (QObject::*RT3)(ushort,ushort,ushort); + typedef void (QObject::*RT4)(ushort,ushort,ushort,bool); + typedef void (QObject::*RT5)(ushort,ushort,ushort,bool,bool); + RT0 r0; + RT1 r1; + RT2 r2; + RT3 r3; + RT4 r4; + RT5 r5; + QConnectionListIt it(*clist); + QConnection *c; + QSenderObject *object; + while ( (c=it.current()) ) { + ++it; + object = (QSenderObject*)c->object(); + object->setSender( this ); + switch ( c->numArgs() ) { + case 0: +#ifdef Q_FP_CCAST_BROKEN + r0 = reinterpret_cast<RT0>(*(c->member())); +#else + r0 = (RT0)*(c->member()); +#endif + (object->*r0)(); + break; + case 1: +#ifdef Q_FP_CCAST_BROKEN + r1 = reinterpret_cast<RT1>(*(c->member())); +#else + r1 = (RT1)*(c->member()); +#endif + (object->*r1)(t0); + break; + case 2: +#ifdef Q_FP_CCAST_BROKEN + r2 = reinterpret_cast<RT2>(*(c->member())); +#else + r2 = (RT2)*(c->member()); +#endif + (object->*r2)(t0, t1); + break; + case 3: +#ifdef Q_FP_CCAST_BROKEN + r3 = reinterpret_cast<RT3>(*(c->member())); +#else + r3 = (RT3)*(c->member()); +#endif + (object->*r3)(t0, t1, t2); + break; + case 4: +#ifdef Q_FP_CCAST_BROKEN + r4 = reinterpret_cast<RT4>(*(c->member())); +#else + r4 = (RT4)*(c->member()); +#endif + (object->*r4)(t0, t1, t2, t3); + break; + case 5: +#ifdef Q_FP_CCAST_BROKEN + r5 = reinterpret_cast<RT5>(*(c->member())); +#else + r5 = (RT5)*(c->member()); +#endif + (object->*r5)(t0, t1, t2, t3, t4); + break; + } + } +} |