00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "../include/ConnectWindow.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.3.8b. 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 *ConnectWindow::className() const
00023 {
00024 return "ConnectWindow";
00025 }
00026
00027 QMetaObject *ConnectWindow::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_ConnectWindow( "ConnectWindow", &ConnectWindow::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString ConnectWindow::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "ConnectWindow", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString ConnectWindow::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "ConnectWindow", 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* ConnectWindow::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QDialog::staticMetaObject();
00055 static const QUMethod slot_0 = {"makeConnection", 0, 0 };
00056 static const QUMethod slot_1 = {"changeConnectionType", 0, 0 };
00057 static const QUParameter param_slot_2[] = {
00058 { "index", &static_QUType_int, 0, QUParameter::In }
00059 };
00060 static const QUMethod slot_2 = {"changeConnectionType", 1, param_slot_2 };
00061 static const QUMethod slot_3 = {"changeLogin", 0, 0 };
00062 static const QUParameter param_slot_4[] = {
00063 { "index", &static_QUType_int, 0, QUParameter::In }
00064 };
00065 static const QUMethod slot_4 = {"changeLogin", 1, param_slot_4 };
00066 static const QUParameter param_slot_5[] = {
00067 { "string", &static_QUType_QString, 0, QUParameter::In }
00068 };
00069 static const QUMethod slot_5 = {"changeLogin", 1, param_slot_5 };
00070 static const QMetaData slot_tbl[] = {
00071 { "makeConnection()", &slot_0, QMetaData::Public },
00072 { "changeConnectionType()", &slot_1, QMetaData::Public },
00073 { "changeConnectionType(int)", &slot_2, QMetaData::Public },
00074 { "changeLogin()", &slot_3, QMetaData::Public },
00075 { "changeLogin(int)", &slot_4, QMetaData::Public },
00076 { "changeLogin(const QString&)", &slot_5, QMetaData::Public }
00077 };
00078 metaObj = QMetaObject::new_metaobject(
00079 "ConnectWindow", parentObject,
00080 slot_tbl, 6,
00081 0, 0,
00082 #ifndef QT_NO_PROPERTIES
00083 0, 0,
00084 0, 0,
00085 #endif
00086 0, 0 );
00087 cleanUp_ConnectWindow.setMetaObject( metaObj );
00088 return metaObj;
00089 }
00090
00091 void* ConnectWindow::qt_cast( const char* clname )
00092 {
00093 if ( !qstrcmp( clname, "ConnectWindow" ) )
00094 return this;
00095 return QDialog::qt_cast( clname );
00096 }
00097
00098 bool ConnectWindow::qt_invoke( int _id, QUObject* _o )
00099 {
00100 switch ( _id - staticMetaObject()->slotOffset() ) {
00101 case 0: makeConnection(); break;
00102 case 1: changeConnectionType(); break;
00103 case 2: changeConnectionType((int)static_QUType_int.get(_o+1)); break;
00104 case 3: changeLogin(); break;
00105 case 4: changeLogin((int)static_QUType_int.get(_o+1)); break;
00106 case 5: changeLogin((const QString&)static_QUType_QString.get(_o+1)); break;
00107 default:
00108 return QDialog::qt_invoke( _id, _o );
00109 }
00110 return TRUE;
00111 }
00112
00113 bool ConnectWindow::qt_emit( int _id, QUObject* _o )
00114 {
00115 return QDialog::qt_emit(_id,_o);
00116 }
00117 #ifndef QT_NO_PROPERTIES
00118
00119 bool ConnectWindow::qt_property( int id, int f, QVariant* v)
00120 {
00121 return QDialog::qt_property( id, f, v);
00122 }
00123
00124 bool ConnectWindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00125 #endif // QT_NO_PROPERTIES