Main Page | Class List | File List | Class Members | File Members | Related Pages

wsgrabber.moc

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

Generated on Mon Sep 5 12:52:34 2005 for kwebsnap.kdevelop by  doxygen 1.3.9.1