00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
#undef QT_NO_COMPAT
00011
#include "../../src/bluephone.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 *BluePhone::className()
const
00023
{
00024
return "BluePhone";
00025 }
00026
00027 QMetaObject *BluePhone::metaObj = 0;
00028
static QMetaObjectCleanUp cleanUp_BluePhone(
"BluePhone", &BluePhone::staticMetaObject );
00029
00030
#ifndef QT_NO_TRANSLATION
00031
QString BluePhone::tr(
const char *s,
const char *c )
00032 {
00033
if ( qApp )
00034
return qApp->translate(
"BluePhone", s, c, QApplication::DefaultCodec );
00035
else
00036
return QString::fromLatin1( s );
00037 }
00038
#ifndef QT_NO_TRANSLATION_UTF8
00039
QString BluePhone::trUtf8(
const char *s,
const char *c )
00040 {
00041
if ( qApp )
00042
return qApp->translate(
"BluePhone", 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* BluePhone::staticMetaObject()
00051 {
00052
if ( metaObj )
00053
return metaObj;
00054 QMetaObject* parentObject = FormBluePhone::staticMetaObject();
00055
static const QUMethod slot_0 = {
"settingsSave", 0, 0 };
00056
static const QUMethod slot_1 = {
"settingsGetAddress", 0, 0 };
00057
static const QUMethod slot_2 = {
"contactsSms", 0, 0 };
00058
static const QUMethod slot_3 = {
"contactsCall", 0, 0 };
00059
static const QUMethod slot_4 = {
"contactsRestore", 0, 0 };
00060
static const QUMethod slot_5 = {
"contactsBackup", 0, 0 };
00061
static const QUMethod slot_6 = {
"contactsDelete", 0, 0 };
00062
static const QUMethod slot_7 = {
"contactsEdit", 0, 0 };
00063
static const QUMethod slot_8 = {
"contactsNew", 0, 0 };
00064
static const QUMethod slot_9 = {
"contactsRead", 0, 0 };
00065
static const QUMethod slot_10 = {
"smsNew", 0, 0 };
00066
static const QUMethod slot_11 = {
"smsDeleteAll", 0, 0 };
00067
static const QUMethod slot_12 = {
"smsDelete", 0, 0 };
00068
static const QUMethod slot_13 = {
"smsSaveAll", 0, 0 };
00069
static const QUMethod slot_14 = {
"smsSave", 0, 0 };
00070
static const QUMethod slot_15 = {
"smsRead", 0, 0 };
00071
static const QUMethod slot_16 = {
"smsShow", 0, 0 };
00072
static const QUMethod slot_17 = {
"smsReply", 0, 0 };
00073
static const QUMethod slot_18 = {
"fileSend", 0, 0 };
00074
static const QUMethod slot_19 = {
"fileBrowse", 0, 0 };
00075
static const QUMethod slot_20 = {
"phoneGetInfo", 0, 0 };
00076
static const QUMethod slot_21 = {
"phoneDisconnect", 0, 0 };
00077
static const QUMethod slot_22 = {
"phoneConnect", 0, 0 };
00078
static const QUMethod slot_23 = {
"helpAbout", 0, 0 };
00079
static const QUMethod slot_24 = {
"fileExit", 0, 0 };
00080
static const QUMethod slot_25 = {
"setLedGreen", 0, 0 };
00081
static const QUMethod slot_26 = {
"setLedOrange", 0, 0 };
00082
static const QUMethod slot_27 = {
"setLedRed", 0, 0 };
00083
static const QUParameter param_slot_28[] = {
00084 { 0, &static_QUType_QString, 0, QUParameter::In },
00085 { 0, &static_QUType_QString, 0, QUParameter::In },
00086 { 0, &static_QUType_QString, 0, QUParameter::In },
00087 { 0, &static_QUType_QString, 0, QUParameter::In }
00088 };
00089
static const QUMethod slot_28 = {
"sendContactToPhone", 4, param_slot_28 };
00090
static const QUParameter param_slot_29[] = {
00091 { 0, &static_QUType_QString, 0, QUParameter::In },
00092 { 0, &static_QUType_QString, 0, QUParameter::In },
00093 { 0, &static_QUType_int, 0, QUParameter::In },
00094 { 0, &static_QUType_int, 0, QUParameter::In }
00095 };
00096
static const QUMethod slot_29 = {
"sendSmsToPhone", 4, param_slot_29 };
00097
static const QMetaData slot_tbl[] = {
00098 {
"settingsSave()", &slot_0, QMetaData::Public },
00099 {
"settingsGetAddress()", &slot_1, QMetaData::Public },
00100 {
"contactsSms()", &slot_2, QMetaData::Public },
00101 {
"contactsCall()", &slot_3, QMetaData::Public },
00102 {
"contactsRestore()", &slot_4, QMetaData::Public },
00103 {
"contactsBackup()", &slot_5, QMetaData::Public },
00104 {
"contactsDelete()", &slot_6, QMetaData::Public },
00105 {
"contactsEdit()", &slot_7, QMetaData::Public },
00106 {
"contactsNew()", &slot_8, QMetaData::Public },
00107 {
"contactsRead()", &slot_9, QMetaData::Public },
00108 {
"smsNew()", &slot_10, QMetaData::Public },
00109 {
"smsDeleteAll()", &slot_11, QMetaData::Public },
00110 {
"smsDelete()", &slot_12, QMetaData::Public },
00111 {
"smsSaveAll()", &slot_13, QMetaData::Public },
00112 {
"smsSave()", &slot_14, QMetaData::Public },
00113 {
"smsRead()", &slot_15, QMetaData::Public },
00114 {
"smsShow()", &slot_16, QMetaData::Public },
00115 {
"smsReply()", &slot_17, QMetaData::Public },
00116 {
"fileSend()", &slot_18, QMetaData::Public },
00117 {
"fileBrowse()", &slot_19, QMetaData::Public },
00118 {
"phoneGetInfo()", &slot_20, QMetaData::Public },
00119 {
"phoneDisconnect()", &slot_21, QMetaData::Public },
00120 {
"phoneConnect()", &slot_22, QMetaData::Public },
00121 {
"helpAbout()", &slot_23, QMetaData::Public },
00122 {
"fileExit()", &slot_24, QMetaData::Public },
00123 {
"setLedGreen()", &slot_25, QMetaData::Public },
00124 {
"setLedOrange()", &slot_26, QMetaData::Public },
00125 {
"setLedRed()", &slot_27, QMetaData::Public },
00126 {
"sendContactToPhone(const QString&,const QString&,const QString&,const QString&)", &slot_28, QMetaData::Public },
00127 {
"sendSmsToPhone(const QString&,const QString&,int,int)", &slot_29, QMetaData::Public }
00128 };
00129 metaObj = QMetaObject::new_metaobject(
00130
"BluePhone", parentObject,
00131 slot_tbl, 30,
00132 0, 0,
00133 #ifndef QT_NO_PROPERTIES
00134 0, 0,
00135 0, 0,
00136 #endif
00137 0, 0 );
00138 cleanUp_BluePhone.setMetaObject( metaObj );
00139
return metaObj;
00140 }
00141
00142
void* BluePhone::qt_cast(
const char* clname )
00143 {
00144
if ( !qstrcmp( clname,
"BluePhone" ) )
00145
return this;
00146
return FormBluePhone::qt_cast( clname );
00147 }
00148
00149
bool BluePhone::qt_invoke(
int _id, QUObject* _o )
00150 {
00151
switch ( _id - staticMetaObject()->slotOffset() ) {
00152
case 0:
settingsSave();
break;
00153
case 1:
settingsGetAddress();
break;
00154
case 2:
contactsSms();
break;
00155
case 3:
contactsCall();
break;
00156
case 4:
contactsRestore();
break;
00157
case 5:
contactsBackup();
break;
00158
case 6:
contactsDelete();
break;
00159
case 7:
contactsEdit();
break;
00160
case 8:
contactsNew();
break;
00161
case 9:
contactsRead();
break;
00162
case 10:
smsNew();
break;
00163
case 11:
smsDeleteAll();
break;
00164
case 12:
smsDelete();
break;
00165
case 13:
smsSaveAll();
break;
00166
case 14:
smsSave();
break;
00167
case 15:
smsRead();
break;
00168
case 16:
smsShow();
break;
00169
case 17:
smsReply();
break;
00170
case 18:
fileSend();
break;
00171
case 19:
fileBrowse();
break;
00172
case 20:
phoneGetInfo();
break;
00173
case 21:
phoneDisconnect();
break;
00174
case 22:
phoneConnect();
break;
00175
case 23:
helpAbout();
break;
00176
case 24:
fileExit();
break;
00177
case 25:
setLedGreen();
break;
00178
case 26:
setLedOrange();
break;
00179
case 27:
setLedRed();
break;
00180
case 28:
sendContactToPhone((
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;
00181
case 29:
sendSmsToPhone((
const QString&)static_QUType_QString.get(_o+1),(
const QString&)static_QUType_QString.get(_o+2),(
int)static_QUType_int.get(_o+3),(
int)static_QUType_int.get(_o+4));
break;
00182
default:
00183
return FormBluePhone::qt_invoke( _id, _o );
00184 }
00185
return TRUE;
00186 }
00187
00188
bool BluePhone::qt_emit(
int _id, QUObject* _o )
00189 {
00190
return FormBluePhone::qt_emit(_id,_o);
00191 }
00192
#ifndef QT_NO_PROPERTIES
00193
00194
bool BluePhone::qt_property(
int id,
int f, QVariant* v)
00195 {
00196
return FormBluePhone::qt_property(
id, f, v);
00197 }
00198
00199
bool BluePhone::qt_static_property( QObject* ,
int ,
int , QVariant* ){
return FALSE; }
00200
#endif // QT_NO_PROPERTIES