Logo Search packages:      
Sourcecode: valkyrie version File versions  Download package

tool_object.moc.cpp

/****************************************************************************
** ToolObject meta object code from reading C++ file 'tool_object.h'
**
** Created: Sat Feb 21 11:49:29 2009
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.8   edited Feb 2 14:59 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "tool_object.h"
#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.3.8b. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

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

QMetaObject *ToolObject::metaObj = 0;
static QMetaObjectCleanUp cleanUp_ToolObject( "ToolObject", &ToolObject::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* ToolObject::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = VkObject::staticMetaObject();
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"running", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
      { 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"message", 1, param_signal_1 };
    static const QUMethod signal_2 = {"fatal", 0, 0 };
    static const QMetaData signal_tbl[] = {
      { "running(bool)", &signal_0, QMetaData::Public },
      { "message(QString)", &signal_1, QMetaData::Public },
      { "fatal()", &signal_2, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "ToolObject", parentObject,
      0, 0,
      signal_tbl, 3,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_ToolObject.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL running
void ToolObject::running( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 0, t0 );
}

// SIGNAL message
void ToolObject::message( QString t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
}

// SIGNAL fatal
void ToolObject::fatal()
{
    activate_signal( staticMetaObject()->signalOffset() + 2 );
}

bool ToolObject::qt_invoke( int _id, QUObject* _o )
{
    return VkObject::qt_invoke(_id,_o);
}

bool ToolObject::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: running((bool)static_QUType_bool.get(_o+1)); break;
    case 1: message((QString)static_QUType_QString.get(_o+1)); break;
    case 2: fatal(); break;
    default:
      return VkObject::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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

Generated by  Doxygen 1.6.0   Back to index