/**************************************************************************** ** preferences_dlg meta object code from reading C++ file 'preferences_dlg.h' ** ** Created: Wed Mar 17 20:25:57 2004 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.0 edited Jan 30 14:01 $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "preferences_dlg.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.0. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif const char *preferences_dlg::className() const { return "preferences_dlg"; } QMetaObject *preferences_dlg::metaObj = 0; static QMetaObjectCleanUp cleanUp_preferences_dlg( "preferences_dlg", &preferences_dlg::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString preferences_dlg::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "preferences_dlg", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString preferences_dlg::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "preferences_dlg", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* preferences_dlg::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QDialog::staticMetaObject(); static const QUMethod slot_0 = {"update_profile", 0, 0 }; static const QUMethod slot_1 = {"update_settings", 0, 0 }; static const QUParameter param_slot_2[] = { { 0, &static_QUType_QString, 0, QUParameter::In } }; static const QUMethod slot_2 = {"recall_profile", 1, param_slot_2 }; static const QUMethod slot_3 = {"openDirSelDlg", 0, 0 }; static const QUMethod slot_4 = {"removeSelectedShare", 0, 0 }; static const QUMethod slot_5 = {"addSharesDlg", 0, 0 }; static const QUMethod slot_6 = {"chooseFont", 0, 0 }; static const QUParameter param_slot_7[] = { { "yes", &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_7 = {"disableProxyWidgets", 1, param_slot_7 }; static const QUParameter param_slot_8[] = { { "yes", &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_8 = {"disableSocksWidgets", 1, param_slot_8 }; static const QUParameter param_slot_9[] = { { 0, &static_QUType_QString, 0, QUParameter::In } }; static const QUMethod slot_9 = {"profileSelected", 1, param_slot_9 }; static const QUParameter param_slot_10[] = { { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In }, { 0, &static_QUType_varptr, "\x0e", QUParameter::In } }; static const QUMethod slot_10 = {"showProfilePopup", 2, param_slot_10 }; static const QUParameter param_slot_11[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_11 = {"performProfileListOp", 1, param_slot_11 }; static const QMetaData slot_tbl[] = { { "update_profile()", &slot_0, QMetaData::Public }, { "update_settings()", &slot_1, QMetaData::Public }, { "recall_profile(const QString&)", &slot_2, QMetaData::Public }, { "openDirSelDlg()", &slot_3, QMetaData::Protected }, { "removeSelectedShare()", &slot_4, QMetaData::Protected }, { "addSharesDlg()", &slot_5, QMetaData::Protected }, { "chooseFont()", &slot_6, QMetaData::Protected }, { "disableProxyWidgets(bool)", &slot_7, QMetaData::Protected }, { "disableSocksWidgets(bool)", &slot_8, QMetaData::Protected }, { "profileSelected(const QString&)", &slot_9, QMetaData::Protected }, { "showProfilePopup(QListBoxItem*,const QPoint&)", &slot_10, QMetaData::Protected }, { "performProfileListOp(int)", &slot_11, QMetaData::Protected } }; static const QUMethod signal_0 = {"sig_register_user", 0, 0 }; static const QMetaData signal_tbl[] = { { "sig_register_user()", &signal_0, QMetaData::Public } }; metaObj = QMetaObject::new_metaobject( "preferences_dlg", parentObject, slot_tbl, 12, signal_tbl, 1, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_preferences_dlg.setMetaObject( metaObj ); return metaObj; } void* preferences_dlg::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "preferences_dlg" ) ) return this; return QDialog::qt_cast( clname ); } // SIGNAL sig_register_user void preferences_dlg::sig_register_user() { activate_signal( staticMetaObject()->signalOffset() + 0 ); } bool preferences_dlg::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: update_profile(); break; case 1: update_settings(); break; case 2: recall_profile((const QString&)static_QUType_QString.get(_o+1)); break; case 3: openDirSelDlg(); break; case 4: removeSelectedShare(); break; case 5: addSharesDlg(); break; case 6: chooseFont(); break; case 7: disableProxyWidgets((bool)static_QUType_bool.get(_o+1)); break; case 8: disableSocksWidgets((bool)static_QUType_bool.get(_o+1)); break; case 9: profileSelected((const QString&)static_QUType_QString.get(_o+1)); break; case 10: showProfilePopup((QListBoxItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2))); break; case 11: performProfileListOp((int)static_QUType_int.get(_o+1)); break; default: return QDialog::qt_invoke( _id, _o ); } return TRUE; } bool preferences_dlg::qt_emit( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->signalOffset() ) { case 0: sig_register_user(); break; default: return QDialog::qt_emit(_id,_o); } return TRUE; } #ifndef QT_NO_PROPERTIES bool preferences_dlg::qt_property( int id, int f, QVariant* v) { return QDialog::qt_property( id, f, v); } bool preferences_dlg::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES