diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
commit | a6d58bb6052ac8cb01805a48c4ad2f129126116f (patch) | |
tree | dd867a099fcbb263a8009a9fb22695b87855dad6 /src/kvilib/tal/moc_kvi_tal_wizard.cpp | |
download | kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.tar.gz kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.zip |
Added KDE3 version of kvirc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/tal/moc_kvi_tal_wizard.cpp')
-rw-r--r-- | src/kvilib/tal/moc_kvi_tal_wizard.cpp | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/kvilib/tal/moc_kvi_tal_wizard.cpp b/src/kvilib/tal/moc_kvi_tal_wizard.cpp new file mode 100644 index 00000000..0ad29754 --- /dev/null +++ b/src/kvilib/tal/moc_kvi_tal_wizard.cpp @@ -0,0 +1,128 @@ +/**************************************************************************** +** KviTalWizard meta object code from reading C++ file 'kvi_tal_wizard.h' +** +** Created: Sun Mar 23 20:56:27 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_tal_wizard.h" +#include <qmetaobject.h> +#include <qapplication.h> + +#include <private/qucomextra_p.h> +#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 *KviTalWizard::className() const +{ + return "KviTalWizard"; +} + +QMetaObject *KviTalWizard::metaObj = 0; +static QMetaObjectCleanUp cleanUp_KviTalWizard( "KviTalWizard", &KviTalWizard::staticMetaObject ); + +#ifndef QT_NO_TRANSLATION +QString KviTalWizard::tr( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "KviTalWizard", s, c, QApplication::DefaultCodec ); + else + return QString::fromLatin1( s ); +} +#ifndef QT_NO_TRANSLATION_UTF8 +QString KviTalWizard::trUtf8( const char *s, const char *c ) +{ + if ( qApp ) + return qApp->translate( "KviTalWizard", s, c, QApplication::UnicodeUTF8 ); + else + return QString::fromUtf8( s ); +} +#endif // QT_NO_TRANSLATION_UTF8 + +#endif // QT_NO_TRANSLATION + +QMetaObject* KviTalWizard::staticMetaObject() +{ + if ( metaObj ) + return metaObj; + QMetaObject* parentObject = QDialog::staticMetaObject(); + static const QUMethod slot_0 = {"backButtonClicked", 0, 0 }; + static const QUMethod slot_1 = {"nextButtonClicked", 0, 0 }; + static const QUMethod slot_2 = {"helpButtonClicked", 0, 0 }; + static const QUMethod slot_3 = {"cancelButtonClicked", 0, 0 }; + static const QUMethod slot_4 = {"finishButtonClicked", 0, 0 }; + static const QMetaData slot_tbl[] = { + { "backButtonClicked()", &slot_0, QMetaData::Protected }, + { "nextButtonClicked()", &slot_1, QMetaData::Protected }, + { "helpButtonClicked()", &slot_2, QMetaData::Protected }, + { "cancelButtonClicked()", &slot_3, QMetaData::Protected }, + { "finishButtonClicked()", &slot_4, QMetaData::Protected } + }; + static const QUMethod signal_0 = {"helpClicked", 0, 0 }; + static const QMetaData signal_tbl[] = { + { "helpClicked()", &signal_0, QMetaData::Public } + }; + metaObj = QMetaObject::new_metaobject( + "KviTalWizard", parentObject, + slot_tbl, 5, + signal_tbl, 1, +#ifndef QT_NO_PROPERTIES + 0, 0, + 0, 0, +#endif // QT_NO_PROPERTIES + 0, 0 ); + cleanUp_KviTalWizard.setMetaObject( metaObj ); + return metaObj; +} + +void* KviTalWizard::qt_cast( const char* clname ) +{ + if ( !qstrcmp( clname, "KviTalWizard" ) ) + return this; + return QDialog::qt_cast( clname ); +} + +// SIGNAL helpClicked +void KviTalWizard::helpClicked() +{ + activate_signal( staticMetaObject()->signalOffset() + 0 ); +} + +bool KviTalWizard::qt_invoke( int _id, QUObject* _o ) +{ + switch ( _id - staticMetaObject()->slotOffset() ) { + case 0: backButtonClicked(); break; + case 1: nextButtonClicked(); break; + case 2: helpButtonClicked(); break; + case 3: cancelButtonClicked(); break; + case 4: finishButtonClicked(); break; + default: + return QDialog::qt_invoke( _id, _o ); + } + return TRUE; +} + +bool KviTalWizard::qt_emit( int _id, QUObject* _o ) +{ + switch ( _id - staticMetaObject()->signalOffset() ) { + case 0: helpClicked(); break; + default: + return QDialog::qt_emit(_id,_o); + } + return TRUE; +} +#ifndef QT_NO_PROPERTIES + +bool KviTalWizard::qt_property( int id, int f, QVariant* v) +{ + return QDialog::qt_property( id, f, v); +} + +bool KviTalWizard::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } +#endif // QT_NO_PROPERTIES |