Logo Search packages:      
Sourcecode: hamfax version File versions

moc_FaxReceiver.cpp

/****************************************************************************
** FaxReceiver meta object code from reading C++ file 'FaxReceiver.hpp'
**
** Created: Sun May 11 14:12:46 2003
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.1.1   edited Dec 9 10:40 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "FaxReceiver.hpp"
#include <qmetaobject.h>
#include <qapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.1.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *FaxReceiver::className() const
{
    return "FaxReceiver";
}

QMetaObject *FaxReceiver::metaObj = 0;
static QMetaObjectCleanUp cleanUp_FaxReceiver( "FaxReceiver", &FaxReceiver::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString FaxReceiver::tr( const char *s, const char *c )
{
    if ( qApp )
      return qApp->translate( "FaxReceiver", s, c, QApplication::DefaultCodec );
    else
      return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString FaxReceiver::trUtf8( const char *s, const char *c )
{
    if ( qApp )
      return qApp->translate( "FaxReceiver", s, c, QApplication::UnicodeUTF8 );
    else
      return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* FaxReceiver::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { 0, &static_QUType_varptr, "\x10", QUParameter::In },
      { "n", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"decode", 2, param_slot_0 };
    static const QUParameter param_slot_1[] = {
      { "f", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"setAptStartFreq", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
      { "f", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"setAptStopFreq", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
      { "width", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"setWidth", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
      { "pol", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_4 = {"setPhasePol", 1, param_slot_4 };
    static const QUMethod slot_5 = {"skip", 0, 0 };
    static const QUMethod slot_6 = {"endReception", 0, 0 };
    static const QUParameter param_slot_7[] = {
      { "b", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"setColor", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
      { "d", &static_QUType_double, 0, QUParameter::In }
    };
    static const QUMethod slot_8 = {"correctLPM", 1, param_slot_8 };
    static const QUParameter param_slot_9[] = {
      { "w", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_9 = {"correctWidth", 1, param_slot_9 };
    static const QUMethod slot_10 = {"releaseBuffer", 0, 0 };
    static const QUMethod slot_11 = {"adjustNext", 0, 0 };
    static const QMetaData slot_tbl[] = {
      { "decode(int*,int)", &slot_0, QMetaData::Public },
      { "setAptStartFreq(int)", &slot_1, QMetaData::Public },
      { "setAptStopFreq(int)", &slot_2, QMetaData::Public },
      { "setWidth(int)", &slot_3, QMetaData::Public },
      { "setPhasePol(bool)", &slot_4, QMetaData::Public },
      { "skip()", &slot_5, QMetaData::Public },
      { "endReception()", &slot_6, QMetaData::Public },
      { "setColor(bool)", &slot_7, QMetaData::Public },
      { "correctLPM(double)", &slot_8, QMetaData::Public },
      { "correctWidth(int)", &slot_9, QMetaData::Public },
      { "releaseBuffer()", &slot_10, QMetaData::Public },
      { "adjustNext()", &slot_11, QMetaData::Private }
    };
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"aptFound", 1, param_signal_0 };
    static const QUMethod signal_1 = {"aptStopDetected", 0, 0 };
    static const QUParameter param_signal_2[] = {
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_2 = {"setPixel", 4, param_signal_2 };
    static const QUMethod signal_3 = {"startReception", 0, 0 };
    static const QUMethod signal_4 = {"end", 0, 0 };
    static const QUMethod signal_5 = {"startingPhasing", 0, 0 };
    static const QUParameter param_signal_6[] = {
      { 0, &static_QUType_double, 0, QUParameter::In }
    };
    static const QUMethod signal_6 = {"phasingLine", 1, param_signal_6 };
    static const QUParameter param_signal_7[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_7 = {"row", 1, param_signal_7 };
    static const QUParameter param_signal_8[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod signal_8 = {"bufferNotEmpty", 1, param_signal_8 };
    static const QUParameter param_signal_9[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_9 = {"imageWidth", 1, param_signal_9 };
    static const QUParameter param_signal_10[] = {
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In },
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_10 = {"newSize", 4, param_signal_10 };
    static const QUMethod signal_11 = {"imageStarts", 0, 0 };
    static const QUMethod signal_12 = {"redrawStarts", 0, 0 };
    static const QMetaData signal_tbl[] = {
      { "aptFound(int)", &signal_0, QMetaData::Private },
      { "aptStopDetected()", &signal_1, QMetaData::Private },
      { "setPixel(int,int,int,int)", &signal_2, QMetaData::Private },
      { "startReception()", &signal_3, QMetaData::Private },
      { "end()", &signal_4, QMetaData::Private },
      { "startingPhasing()", &signal_5, QMetaData::Private },
      { "phasingLine(double)", &signal_6, QMetaData::Private },
      { "row(int)", &signal_7, QMetaData::Private },
      { "bufferNotEmpty(bool)", &signal_8, QMetaData::Private },
      { "imageWidth(int)", &signal_9, QMetaData::Private },
      { "newSize(int,int,int,int)", &signal_10, QMetaData::Private },
      { "imageStarts()", &signal_11, QMetaData::Private },
      { "redrawStarts()", &signal_12, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
      "FaxReceiver", parentObject,
      slot_tbl, 12,
      signal_tbl, 13,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_FaxReceiver.setMetaObject( metaObj );
    return metaObj;
}

void* FaxReceiver::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "FaxReceiver" ) )
      return this;
    return QObject::qt_cast( clname );
}

// SIGNAL aptFound
void FaxReceiver::aptFound( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

// SIGNAL aptStopDetected
void FaxReceiver::aptStopDetected()
{
    activate_signal( staticMetaObject()->signalOffset() + 1 );
}

#include <qobjectdefs.h>
#include <qsignalslotimp.h>

// SIGNAL setPixel
void FaxReceiver::setPixel( int t0, int t1, int t2, int t3 )
{
    if ( signalsBlocked() )
      return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 2 );
    if ( !clist )
      return;
    QUObject o[5];
    static_QUType_int.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_int.set(o+3,t2);
    static_QUType_int.set(o+4,t3);
    activate_signal( clist, o );
}

// SIGNAL startReception
void FaxReceiver::startReception()
{
    activate_signal( staticMetaObject()->signalOffset() + 3 );
}

// SIGNAL end
void FaxReceiver::end()
{
    activate_signal( staticMetaObject()->signalOffset() + 4 );
}

// SIGNAL startingPhasing
void FaxReceiver::startingPhasing()
{
    activate_signal( staticMetaObject()->signalOffset() + 5 );
}

// SIGNAL phasingLine
void FaxReceiver::phasingLine( double t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 6, t0 );
}

// SIGNAL row
void FaxReceiver::row( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 7, t0 );
}

// SIGNAL bufferNotEmpty
void FaxReceiver::bufferNotEmpty( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 8, t0 );
}

// SIGNAL imageWidth
void FaxReceiver::imageWidth( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 9, t0 );
}

// SIGNAL newSize
void FaxReceiver::newSize( int t0, int t1, int t2, int t3 )
{
    if ( signalsBlocked() )
      return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 10 );
    if ( !clist )
      return;
    QUObject o[5];
    static_QUType_int.set(o+1,t0);
    static_QUType_int.set(o+2,t1);
    static_QUType_int.set(o+3,t2);
    static_QUType_int.set(o+4,t3);
    activate_signal( clist, o );
}

// SIGNAL imageStarts
void FaxReceiver::imageStarts()
{
    activate_signal( staticMetaObject()->signalOffset() + 11 );
}

// SIGNAL redrawStarts
void FaxReceiver::redrawStarts()
{
    activate_signal( staticMetaObject()->signalOffset() + 12 );
}

bool FaxReceiver::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: decode((int*)static_QUType_varptr.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
    case 1: setAptStartFreq((int)static_QUType_int.get(_o+1)); break;
    case 2: setAptStopFreq((int)static_QUType_int.get(_o+1)); break;
    case 3: setWidth((int)static_QUType_int.get(_o+1)); break;
    case 4: setPhasePol((bool)static_QUType_bool.get(_o+1)); break;
    case 5: skip(); break;
    case 6: endReception(); break;
    case 7: setColor((bool)static_QUType_bool.get(_o+1)); break;
    case 8: correctLPM((double)static_QUType_double.get(_o+1)); break;
    case 9: correctWidth((int)static_QUType_int.get(_o+1)); break;
    case 10: releaseBuffer(); break;
    case 11: adjustNext(); break;
    default:
      return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool FaxReceiver::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: aptFound((int)static_QUType_int.get(_o+1)); break;
    case 1: aptStopDetected(); break;
    case 2: setPixel((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 3: startReception(); break;
    case 4: end(); break;
    case 5: startingPhasing(); break;
    case 6: phasingLine((double)static_QUType_double.get(_o+1)); break;
    case 7: row((int)static_QUType_int.get(_o+1)); break;
    case 8: bufferNotEmpty((bool)static_QUType_bool.get(_o+1)); break;
    case 9: imageWidth((int)static_QUType_int.get(_o+1)); break;
    case 10: newSize((int)static_QUType_int.get(_o+1),(int)static_QUType_int.get(_o+2),(int)static_QUType_int.get(_o+3),(int)static_QUType_int.get(_o+4)); break;
    case 11: imageStarts(); break;
    case 12: redrawStarts(); break;
    default:
      return QObject::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool FaxReceiver::qt_property( int id, int f, QVariant* v)
{
    return QObject::qt_property( id, f, v);
}

bool FaxReceiver::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES

Generated by  Doxygen 1.6.0   Back to index