From a6d58bb6052ac8cb01805a48c4ad2f129126116f Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 24 Feb 2010 02:13:59 +0000 Subject: Added KDE3 version of kvirc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kvilib/ext/moc_kvi_regusersdb.cpp | 143 ++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 src/kvilib/ext/moc_kvi_regusersdb.cpp (limited to 'src/kvilib/ext/moc_kvi_regusersdb.cpp') diff --git a/src/kvilib/ext/moc_kvi_regusersdb.cpp b/src/kvilib/ext/moc_kvi_regusersdb.cpp new file mode 100644 index 00000000..092add9f --- /dev/null +++ b/src/kvilib/ext/moc_kvi_regusersdb.cpp @@ -0,0 +1,143 @@ +/**************************************************************************** +** KviRegisteredUserDataBase meta object code from reading C++ file 'kvi_regusersdb.h' +** +** Created: Sun Mar 23 20:56:14 2008 +** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.8 edited Feb 2 14:59 $) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#undef QT_NO_COMPAT +#include "kvi_regusersdb.h" +#include +#include + +#include +#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) +#error "This file was generated using the moc from 3.3.8. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +const char *KviRegisteredUserDataBase::className() const +{ + return "KviRegisteredUserDataBase"; +} + +QMetaObject *KviRegisteredUserDataBase::metaObj = 0; +static QMetaObjectCleanUp cleanUp_KviRegisteredUserDataBase( "KviRegisteredUserDataBase", &KviRegisteredUserDataBase::staticMetaObject ); + +#ifndef QT_NO_TRANSLATION +QString KviRegisteredUserDataBase::tr( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "KviRegisteredUserDataBase", s, c, QApplication::DefaultCodec ); + else + return QString::fromLatin1( s ); +} +#ifndef QT_NO_TRANSLATION_UTF8 +QString KviRegisteredUserDataBase::trUtf8( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "KviRegisteredUserDataBase", s, c, QApplication::UnicodeUTF8 ); + else + return QString::fromUtf8( s ); +} +#endif // QT_NO_TRANSLATION_UTF8 + +#endif // QT_NO_TRANSLATION + +QMetaObject* KviRegisteredUserDataBase::staticMetaObject() +{ + if ( metaObj ) + return metaObj; + QMetaObject* parentObject = QObject::staticMetaObject(); + static const QUParameter param_signal_0[] = { + { 0, &static_QUType_QString, 0, QUParameter::In } + }; + static const QUMethod signal_0 = {"userRemoved", 1, param_signal_0 }; + static const QUParameter param_signal_1[] = { + { 0, &static_QUType_QString, 0, QUParameter::In } + }; + static const QUMethod signal_1 = {"userChanged", 1, param_signal_1 }; + static const QUParameter param_signal_2[] = { + { 0, &static_QUType_QString, 0, QUParameter::In } + }; + static const QUMethod signal_2 = {"userAdded", 1, param_signal_2 }; + static const QUMethod signal_3 = {"databaseCleared", 0, 0 }; + static const QMetaData signal_tbl[] = { + { "userRemoved(const QString&)", &signal_0, QMetaData::Public }, + { "userChanged(const QString&)", &signal_1, QMetaData::Public }, + { "userAdded(const QString&)", &signal_2, QMetaData::Public }, + { "databaseCleared()", &signal_3, QMetaData::Public } + }; + metaObj = QMetaObject::new_metaobject( + "KviRegisteredUserDataBase", parentObject, + 0, 0, + signal_tbl, 4, +#ifndef QT_NO_PROPERTIES + 0, 0, + 0, 0, +#endif // QT_NO_PROPERTIES + 0, 0 ); + cleanUp_KviRegisteredUserDataBase.setMetaObject( metaObj ); + return metaObj; +} + +void* KviRegisteredUserDataBase::qt_cast( const char* clname ) +{ + if ( !qstrcmp( clname, "KviRegisteredUserDataBase" ) ) + return this; + return QObject::qt_cast( clname ); +} + +// SIGNAL userRemoved +void KviRegisteredUserDataBase::userRemoved( const QString& t0 ) +{ + activate_signal( staticMetaObject()->signalOffset() + 0, t0 ); +} + +// SIGNAL userChanged +void KviRegisteredUserDataBase::userChanged( const QString& t0 ) +{ + activate_signal( staticMetaObject()->signalOffset() + 1, t0 ); +} + +// SIGNAL userAdded +void KviRegisteredUserDataBase::userAdded( const QString& t0 ) +{ + activate_signal( staticMetaObject()->signalOffset() + 2, t0 ); +} + +// SIGNAL databaseCleared +void KviRegisteredUserDataBase::databaseCleared() +{ + activate_signal( staticMetaObject()->signalOffset() + 3 ); +} + +bool KviRegisteredUserDataBase::qt_invoke( int _id, QUObject* _o ) +{ + return QObject::qt_invoke(_id,_o); +} + +bool KviRegisteredUserDataBase::qt_emit( int _id, QUObject* _o ) +{ + switch ( _id - staticMetaObject()->signalOffset() ) { + case 0: userRemoved((const QString&)static_QUType_QString.get(_o+1)); break; + case 1: userChanged((const QString&)static_QUType_QString.get(_o+1)); break; + case 2: userAdded((const QString&)static_QUType_QString.get(_o+1)); break; + case 3: databaseCleared(); break; + default: + return QObject::qt_emit(_id,_o); + } + return TRUE; +} +#ifndef QT_NO_PROPERTIES + +bool KviRegisteredUserDataBase::qt_property( int id, int f, QVariant* v) +{ + return QObject::qt_property( id, f, v); +} + +bool KviRegisteredUserDataBase::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } +#endif // QT_NO_PROPERTIES -- cgit v1.2.1