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

options_widgets.moc.cpp

/****************************************************************************
** OptionWidget meta object code from reading C++ file 'options_widgets.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 "options_widgets.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 *OptionWidget::className() const
{
    return "OptionWidget";
}

QMetaObject *OptionWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_OptionWidget( "OptionWidget", &OptionWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* OptionWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In },
      { 0, &static_QUType_ptr, "OptionWidget", QUParameter::In }
    };
    static const QUMethod signal_0 = {"valueChanged", 2, param_signal_0 };
    static const QMetaData signal_tbl[] = {
      { "valueChanged(bool,OptionWidget*)", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "OptionWidget", parentObject,
      0, 0,
      signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_OptionWidget.setMetaObject( metaObj );
    return metaObj;
}

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

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

// SIGNAL valueChanged
void OptionWidget::valueChanged( bool t0, OptionWidget* t1 )
{
    if ( signalsBlocked() )
      return;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
      return;
    QUObject o[3];
    static_QUType_bool.set(o+1,t0);
    static_QUType_ptr.set(o+2,t1);
    activate_signal( clist, o );
}

bool OptionWidget::qt_invoke( int _id, QUObject* _o )
{
    return QObject::qt_invoke(_id,_o);
}

bool OptionWidget::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: valueChanged((bool)static_QUType_bool.get(_o+1),(OptionWidget*)static_QUType_ptr.get(_o+2)); break;
    default:
      return QObject::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *CkWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CkWidget( "CkWidget", &CkWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* CkWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"ckChanged", 1, param_slot_0 };
    static const QMetaData slot_tbl[] = {
      { "ckChanged(bool)", &slot_0, QMetaData::Private }
    };
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"clicked", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"changed", 1, param_signal_1 };
    static const QMetaData signal_tbl[] = {
      { "clicked(int)", &signal_0, QMetaData::Public },
      { "changed(bool)", &signal_1, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "CkWidget", parentObject,
      slot_tbl, 1,
      signal_tbl, 2,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_CkWidget.setMetaObject( metaObj );
    return metaObj;
}

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

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

// SIGNAL changed
void CkWidget::changed( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 1, t0 );
}

bool CkWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: ckChanged((bool)static_QUType_bool.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool CkWidget::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: clicked((int)static_QUType_int.get(_o+1)); break;
    case 1: changed((bool)static_QUType_bool.get(_o+1)); break;
    default:
      return OptionWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *RbWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_RbWidget( "RbWidget", &RbWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* RbWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"rbChanged", 1, param_slot_0 };
    static const QMetaData slot_tbl[] = {
      { "rbChanged(bool)", &slot_0, QMetaData::Private }
    };
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"clicked", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"changed", 1, param_signal_1 };
    static const QMetaData signal_tbl[] = {
      { "clicked(int)", &signal_0, QMetaData::Public },
      { "changed(bool)", &signal_1, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "RbWidget", parentObject,
      slot_tbl, 1,
      signal_tbl, 2,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_RbWidget.setMetaObject( metaObj );
    return metaObj;
}

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

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

// SIGNAL changed
void RbWidget::changed( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 1, t0 );
}

bool RbWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: rbChanged((bool)static_QUType_bool.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool RbWidget::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: clicked((int)static_QUType_int.get(_o+1)); break;
    case 1: changed((bool)static_QUType_bool.get(_o+1)); break;
    default:
      return OptionWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *LeWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_LeWidget( "LeWidget", &LeWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* LeWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { "disable", &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"setDisabled", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
      { "txt", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"leChanged", 1, param_slot_1 };
    static const QMetaData slot_tbl[] = {
      { "setDisabled(bool)", &slot_0, QMetaData::Public },
      { "leChanged(const QString&)", &slot_1, QMetaData::Private }
    };
    static const QUMethod signal_0 = {"returnPressed", 0, 0 };
    static const QMetaData signal_tbl[] = {
      { "returnPressed()", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "LeWidget", parentObject,
      slot_tbl, 2,
      signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_LeWidget.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL returnPressed
void LeWidget::returnPressed()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

bool LeWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: setDisabled((bool)static_QUType_bool.get(_o+1)); break;
    case 1: leChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool LeWidget::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: returnPressed(); break;
    default:
      return OptionWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *CbWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_CbWidget( "CbWidget", &CbWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* CbWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { "txt", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"cbChanged", 1, param_slot_0 };
    static const QMetaData slot_tbl[] = {
      { "cbChanged(const QString&)", &slot_0, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
      "CbWidget", parentObject,
      slot_tbl, 1,
      0, 0,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_CbWidget.setMetaObject( metaObj );
    return metaObj;
}

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

bool CbWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: cbChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool CbWidget::qt_emit( int _id, QUObject* _o )
{
    return OptionWidget::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *SpWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_SpWidget( "SpWidget", &SpWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* SpWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { "val", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"spChanged", 1, param_slot_0 };
    static const QMetaData slot_tbl[] = {
      { "spChanged(const QString&)", &slot_0, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
      "SpWidget", parentObject,
      slot_tbl, 1,
      0, 0,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_SpWidget.setMetaObject( metaObj );
    return metaObj;
}

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

bool SpWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: spChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool SpWidget::qt_emit( int _id, QUObject* _o )
{
    return OptionWidget::qt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES

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

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


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

QMetaObject *LbWidget::metaObj = 0;
static QMetaObjectCleanUp cleanUp_LbWidget( "LbWidget", &LbWidget::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* LbWidget::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = OptionWidget::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"insertItem", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
      { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In },
      { 0, &static_QUType_varptr, "\x0e", QUParameter::In }
    };
    static const QUMethod slot_1 = {"popupMenu", 2, param_slot_1 };
    static const QUParameter param_slot_2[] = {
      { "lb_item", &static_QUType_ptr, "QListBoxItem", QUParameter::In }
    };
    static const QUMethod slot_2 = {"selectItem", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
      { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In }
    };
    static const QUMethod slot_3 = {"popupSuppDirs", 1, param_slot_3 };
    static const QUParameter param_slot_4[] = {
      { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In }
    };
    static const QUMethod slot_4 = {"popupSuppAvail", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
      { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In }
    };
    static const QUMethod slot_5 = {"popupSuppSel", 1, param_slot_5 };
    static const QMetaData slot_tbl[] = {
      { "insertItem(const QString&)", &slot_0, QMetaData::Public },
      { "popupMenu(QListBoxItem*,const QPoint&)", &slot_1, QMetaData::Private },
      { "selectItem(QListBoxItem*)", &slot_2, QMetaData::Private },
      { "popupSuppDirs(QListBoxItem*)", &slot_3, QMetaData::Private },
      { "popupSuppAvail(QListBoxItem*)", &slot_4, QMetaData::Private },
      { "popupSuppSel(QListBoxItem*)", &slot_5, QMetaData::Private }
    };
    static const QUParameter param_signal_0[] = {
      { 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"itemSelected", 1, param_signal_0 };
    static const QUMethod signal_1 = {"listChanged", 0, 0 };
    static const QMetaData signal_tbl[] = {
      { "itemSelected(const QString&)", &signal_0, QMetaData::Public },
      { "listChanged()", &signal_1, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "LbWidget", parentObject,
      slot_tbl, 6,
      signal_tbl, 2,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_LbWidget.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL itemSelected
void LbWidget::itemSelected( const QString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

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

bool LbWidget::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: insertItem((const QString&)static_QUType_QString.get(_o+1)); break;
    case 1: popupMenu((QListBoxItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2))); break;
    case 2: selectItem((QListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 3: popupSuppDirs((QListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 4: popupSuppAvail((QListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    case 5: popupSuppSel((QListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    default:
      return OptionWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool LbWidget::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: itemSelected((const QString&)static_QUType_QString.get(_o+1)); break;
    case 1: listChanged(); break;
    default:
      return OptionWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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

Generated by  Doxygen 1.6.0   Back to index