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

options_window.moc.cpp

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

QMetaObject *OptionsWindow::metaObj = 0;
static QMetaObjectCleanUp cleanUp_OptionsWindow( "OptionsWindow", &OptionsWindow::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* OptionsWindow::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QMainWindow::staticMetaObject();
    static const QUMethod slot_0 = {"accept", 0, 0 };
    static const QUMethod slot_1 = {"reject", 0, 0 };
    static const QUParameter param_slot_2[] = {
      { 0, &static_QUType_bool, 0, QUParameter::Out }
    };
    static const QUMethod slot_2 = {"apply", 1, param_slot_2 };
    static const QUMethod slot_3 = {"modified", 0, 0 };
    static const QUMethod slot_4 = {"resetDefaults", 0, 0 };
    static const QUMethod slot_5 = {"save", 0, 0 };
    static const QUParameter param_slot_6[] = {
      { 0, &static_QUType_ptr, "QListBoxItem", QUParameter::In }
    };
    static const QUMethod slot_6 = {"categoryClicked", 1, param_slot_6 };
    static const QMetaData slot_tbl[] = {
      { "accept()", &slot_0, QMetaData::Private },
      { "reject()", &slot_1, QMetaData::Private },
      { "apply()", &slot_2, QMetaData::Private },
      { "modified()", &slot_3, QMetaData::Private },
      { "resetDefaults()", &slot_4, QMetaData::Private },
      { "save()", &slot_5, QMetaData::Private },
      { "categoryClicked(QListBoxItem*)", &slot_6, QMetaData::Private }
    };
    static const QUMethod signal_0 = {"flagsChanged", 0, 0 };
    static const QMetaData signal_tbl[] = {
      { "flagsChanged()", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "OptionsWindow", parentObject,
      slot_tbl, 7,
      signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_OptionsWindow.setMetaObject( metaObj );
    return metaObj;
}

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

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

bool OptionsWindow::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: accept(); break;
    case 1: reject(); break;
    case 2: static_QUType_bool.set(_o,apply()); break;
    case 3: modified(); break;
    case 4: resetDefaults(); break;
    case 5: save(); break;
    case 6: categoryClicked((QListBoxItem*)static_QUType_ptr.get(_o+1)); break;
    default:
      return QMainWindow::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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

Generated by  Doxygen 1.6.0   Back to index