Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

newcontact.moc

00001 /**************************************************************************** 00002 ** NewContact meta object code from reading C++ file 'newcontact.h' 00003 ** 00004 ** Created: Tue Aug 17 14:13:53 2004 00005 ** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.2.3 edited Nov 10 11:18 $) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 *****************************************************************************/ 00009 00010 #undef QT_NO_COMPAT 00011 #include "../../src/newcontact.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.2.3. 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 *NewContact::className() const 00023 { 00024 return "NewContact"; 00025 } 00026 00027 QMetaObject *NewContact::metaObj = 0; 00028 static QMetaObjectCleanUp cleanUp_NewContact( "NewContact", &NewContact::staticMetaObject ); 00029 00030 #ifndef QT_NO_TRANSLATION 00031 QString NewContact::tr( const char *s, const char *c ) 00032 { 00033 if ( qApp ) 00034 return qApp->translate( "NewContact", s, c, QApplication::DefaultCodec ); 00035 else 00036 return QString::fromLatin1( s ); 00037 } 00038 #ifndef QT_NO_TRANSLATION_UTF8 00039 QString NewContact::trUtf8( const char *s, const char *c ) 00040 { 00041 if ( qApp ) 00042 return qApp->translate( "NewContact", 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* NewContact::staticMetaObject() 00051 { 00052 if ( metaObj ) 00053 return metaObj; 00054 QMetaObject* parentObject = FormNewContactDlg::staticMetaObject(); 00055 static const QUMethod slot_0 = {"readContact", 0, 0 }; 00056 static const QUMethod slot_1 = {"closeDialog", 0, 0 }; 00057 static const QMetaData slot_tbl[] = { 00058 { "readContact()", &slot_0, QMetaData::Public }, 00059 { "closeDialog()", &slot_1, QMetaData::Public } 00060 }; 00061 static const QUParameter param_signal_0[] = { 00062 { 0, &static_QUType_QString, 0, QUParameter::In }, 00063 { 0, &static_QUType_QString, 0, QUParameter::In }, 00064 { 0, &static_QUType_QString, 0, QUParameter::In }, 00065 { 0, &static_QUType_QString, 0, QUParameter::In } 00066 }; 00067 static const QUMethod signal_0 = {"transmitContact", 4, param_signal_0 }; 00068 static const QUMethod signal_1 = {"transmitLedStateGreen", 0, 0 }; 00069 static const QMetaData signal_tbl[] = { 00070 { "transmitContact(const QString&,const QString&,const QString&,const QString&)", &signal_0, QMetaData::Public }, 00071 { "transmitLedStateGreen()", &signal_1, QMetaData::Public } 00072 }; 00073 metaObj = QMetaObject::new_metaobject( 00074 "NewContact", parentObject, 00075 slot_tbl, 2, 00076 signal_tbl, 2, 00077 #ifndef QT_NO_PROPERTIES 00078 0, 0, 00079 0, 0, 00080 #endif // QT_NO_PROPERTIES 00081 0, 0 ); 00082 cleanUp_NewContact.setMetaObject( metaObj ); 00083 return metaObj; 00084 } 00085 00086 void* NewContact::qt_cast( const char* clname ) 00087 { 00088 if ( !qstrcmp( clname, "NewContact" ) ) 00089 return this; 00090 return FormNewContactDlg::qt_cast( clname ); 00091 } 00092 00093 #include <qobjectdefs.h> 00094 #include <qsignalslotimp.h> 00095 00096 // SIGNAL transmitContact 00097 void NewContact::transmitContact( const QString& t0, const QString& t1, const QString& t2, const QString& t3 ) 00098 { 00099 if ( signalsBlocked() ) 00100 return; 00101 QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 ); 00102 if ( !clist ) 00103 return; 00104 QUObject o[5]; 00105 static_QUType_QString.set(o+1,t0); 00106 static_QUType_QString.set(o+2,t1); 00107 static_QUType_QString.set(o+3,t2); 00108 static_QUType_QString.set(o+4,t3); 00109 activate_signal( clist, o ); 00110 } 00111 00112 // SIGNAL transmitLedStateGreen 00113 void NewContact::transmitLedStateGreen() 00114 { 00115 activate_signal( staticMetaObject()->signalOffset() + 1 ); 00116 } 00117 00118 bool NewContact::qt_invoke( int _id, QUObject* _o ) 00119 { 00120 switch ( _id - staticMetaObject()->slotOffset() ) { 00121 case 0: readContact(); break; 00122 case 1: closeDialog(); break; 00123 default: 00124 return FormNewContactDlg::qt_invoke( _id, _o ); 00125 } 00126 return TRUE; 00127 } 00128 00129 bool NewContact::qt_emit( int _id, QUObject* _o ) 00130 { 00131 switch ( _id - staticMetaObject()->signalOffset() ) { 00132 case 0: transmitContact((const QString&)static_QUType_QString.get(_o+1),(const QString&)static_QUType_QString.get(_o+2),(const QString&)static_QUType_QString.get(_o+3),(const QString&)static_QUType_QString.get(_o+4)); break; 00133 case 1: transmitLedStateGreen(); break; 00134 default: 00135 return FormNewContactDlg::qt_emit(_id,_o); 00136 } 00137 return TRUE; 00138 } 00139 #ifndef QT_NO_PROPERTIES 00140 00141 bool NewContact::qt_property( int id, int f, QVariant* v) 00142 { 00143 return FormNewContactDlg::qt_property( id, f, v); 00144 } 00145 00146 bool NewContact::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } 00147 #endif // QT_NO_PROPERTIES

Generated on Tue Aug 17 14:42:27 2004 for BluePhone by doxygen 1.3.7