00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "kcmpureftpdscript.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.h>
00014
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.1.2. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021
00022 const char *KPureftpdScript::className() const
00023 {
00024 return "KPureftpdScript";
00025 }
00026
00027 QMetaObject *KPureftpdScript::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_KPureftpdScript( "KPureftpdScript", &KPureftpdScript::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString KPureftpdScript::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "KPureftpdScript", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString KPureftpdScript::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "KPureftpdScript", s, c, QApplication::UnicodeUTF8 );
00043 else
00044 return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047
00048 #endif // QT_NO_TRANSLATION
00049
00050 QMetaObject* KPureftpdScript::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = KCModule::staticMetaObject();
00055 static const QUMethod slot_0 = {"configChanged", 0, 0 };
00056 static const QUParameter param_slot_1[] = {
00057 { "index", &static_QUType_int, 0, QUParameter::In }
00058 };
00059 static const QUMethod slot_1 = {"slotAuth", 1, param_slot_1 };
00060 static const QUParameter param_slot_2[] = {
00061 { "index", &static_QUType_int, 0, QUParameter::In }
00062 };
00063 static const QUMethod slot_2 = {"slotAuthMethodChanged", 1, param_slot_2 };
00064 static const QUParameter param_slot_3[] = {
00065 { "item", &static_QUType_ptr, "QListViewItem", QUParameter::In }
00066 };
00067 static const QUMethod slot_3 = {"slotAuthListChanged", 1, param_slot_3 };
00068 static const QUMethod slot_4 = {"slotAuthAdd", 0, 0 };
00069 static const QUMethod slot_5 = {"slotAuthModify", 0, 0 };
00070 static const QUMethod slot_6 = {"slotAuthDelete", 0, 0 };
00071 static const QUMethod slot_7 = {"slotAuthMoveUp", 0, 0 };
00072 static const QUMethod slot_8 = {"slotAuthMoveDown", 0, 0 };
00073 static const QUMethod slot_9 = {"slotStandalone", 0, 0 };
00074 static const QUParameter param_slot_10[] = {
00075 { "it", &static_QUType_ptr, "QListViewItem", QUParameter::In }
00076 };
00077 static const QUMethod slot_10 = {"slotItemChanged", 1, param_slot_10 };
00078 static const QUParameter param_slot_11[] = {
00079 { "text", &static_QUType_QString, 0, QUParameter::In }
00080 };
00081 static const QUMethod slot_11 = {"slotScriptPathChanged", 1, param_slot_11 };
00082 static const QUMethod slot_12 = {"slotSaveOutput", 0, 0 };
00083 static const QUParameter param_slot_13[] = {
00084 { "widget", &static_QUType_ptr, "QWidget", QUParameter::In }
00085 };
00086 static const QUMethod slot_13 = {"slotTabChanged", 1, param_slot_13 };
00087 static const QMetaData slot_tbl[] = {
00088 { "configChanged()", &slot_0, QMetaData::Protected },
00089 { "slotAuth(int)", &slot_1, QMetaData::Protected },
00090 { "slotAuthMethodChanged(int)", &slot_2, QMetaData::Protected },
00091 { "slotAuthListChanged(QListViewItem*)", &slot_3, QMetaData::Protected },
00092 { "slotAuthAdd()", &slot_4, QMetaData::Protected },
00093 { "slotAuthModify()", &slot_5, QMetaData::Protected },
00094 { "slotAuthDelete()", &slot_6, QMetaData::Protected },
00095 { "slotAuthMoveUp()", &slot_7, QMetaData::Protected },
00096 { "slotAuthMoveDown()", &slot_8, QMetaData::Protected },
00097 { "slotStandalone()", &slot_9, QMetaData::Protected },
00098 { "slotItemChanged(QListViewItem*)", &slot_10, QMetaData::Protected },
00099 { "slotScriptPathChanged(const QString&)", &slot_11, QMetaData::Protected },
00100 { "slotSaveOutput()", &slot_12, QMetaData::Protected },
00101 { "slotTabChanged(QWidget*)", &slot_13, QMetaData::Protected }
00102 };
00103 metaObj = QMetaObject::new_metaobject(
00104 "KPureftpdScript", parentObject,
00105 slot_tbl, 14,
00106 0, 0,
00107 #ifndef QT_NO_PROPERTIES
00108 0, 0,
00109 0, 0,
00110 #endif
00111 0, 0 );
00112 cleanUp_KPureftpdScript.setMetaObject( metaObj );
00113 return metaObj;
00114 }
00115
00116 void* KPureftpdScript::qt_cast( const char* clname )
00117 {
00118 if ( !qstrcmp( clname, "KPureftpdScript" ) )
00119 return this;
00120 return KCModule::qt_cast( clname );
00121 }
00122
00123 bool KPureftpdScript::qt_invoke( int _id, QUObject* _o )
00124 {
00125 switch ( _id - staticMetaObject()->slotOffset() ) {
00126 case 0: configChanged(); break;
00127 case 1: slotAuth((int)static_QUType_int.get(_o+1)); break;
00128 case 2: slotAuthMethodChanged((int)static_QUType_int.get(_o+1)); break;
00129 case 3: slotAuthListChanged((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00130 case 4: slotAuthAdd(); break;
00131 case 5: slotAuthModify(); break;
00132 case 6: slotAuthDelete(); break;
00133 case 7: slotAuthMoveUp(); break;
00134 case 8: slotAuthMoveDown(); break;
00135 case 9: slotStandalone(); break;
00136 case 10: slotItemChanged((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
00137 case 11: slotScriptPathChanged((const QString&)static_QUType_QString.get(_o+1)); break;
00138 case 12: slotSaveOutput(); break;
00139 case 13: slotTabChanged((QWidget*)static_QUType_ptr.get(_o+1)); break;
00140 default:
00141 return KCModule::qt_invoke( _id, _o );
00142 }
00143 return TRUE;
00144 }
00145
00146 bool KPureftpdScript::qt_emit( int _id, QUObject* _o )
00147 {
00148 return KCModule::qt_emit(_id,_o);
00149 }
00150 #ifndef QT_NO_PROPERTIES
00151
00152 bool KPureftpdScript::qt_property( int id, int f, QVariant* v)
00153 {
00154 return KCModule::qt_property( id, f, v);
00155 }
00156
00157 bool KPureftpdScript::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00158 #endif // QT_NO_PROPERTIES