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

hand_book.moc.cpp

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

QMetaObject *VkTextBrowser::metaObj = 0;
static QMetaObjectCleanUp cleanUp_VkTextBrowser( "VkTextBrowser", &VkTextBrowser::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* VkTextBrowser::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QTextBrowser::staticMetaObject();
    static const QUMethod slot_0 = {"reload", 0, 0 };
    static const QUParameter param_slot_1[] = {
      { "link", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"doLinkClicked", 1, param_slot_1 };
    static const QMetaData slot_tbl[] = {
      { "reload()", &slot_0, QMetaData::Public },
      { "doLinkClicked(const QString&)", &slot_1, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
      "VkTextBrowser", parentObject,
      slot_tbl, 2,
      0, 0,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_VkTextBrowser.setMetaObject( metaObj );
    return metaObj;
}

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

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

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

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

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


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

QMetaObject *HandBook::metaObj = 0;
static QMetaObjectCleanUp cleanUp_HandBook( "HandBook", &HandBook::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* HandBook::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QMainWindow::staticMetaObject();
    static const QUMethod slot_0 = {"showYourself", 0, 0 };
    static const QUParameter param_slot_1[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"setBackwardAvailable", 1, param_slot_1 };
    static const QUParameter param_slot_2[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_2 = {"setForwardAvailable", 1, param_slot_2 };
    static const QUParameter param_slot_3[] = {
      { "url", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"sourceChanged", 1, param_slot_3 };
    static const QUMethod slot_4 = {"openFile", 0, 0 };
    static const QUMethod slot_5 = {"print", 0, 0 };
    static const QUParameter param_slot_6[] = {
      { 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_6 = {"pathSelected", 1, param_slot_6 };
    static const QUParameter param_slot_7[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_7 = {"historyChosen", 1, param_slot_7 };
    static const QUParameter param_slot_8[] = {
      { 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod slot_8 = {"bookmarkChosen", 1, param_slot_8 };
    static const QUMethod slot_9 = {"addBookmark", 0, 0 };
    static const QMetaData slot_tbl[] = {
      { "showYourself()", &slot_0, QMetaData::Public },
      { "setBackwardAvailable(bool)", &slot_1, QMetaData::Private },
      { "setForwardAvailable(bool)", &slot_2, QMetaData::Private },
      { "sourceChanged(const QString&)", &slot_3, QMetaData::Private },
      { "openFile()", &slot_4, QMetaData::Private },
      { "print()", &slot_5, QMetaData::Private },
      { "pathSelected(const QString&)", &slot_6, QMetaData::Private },
      { "historyChosen(int)", &slot_7, QMetaData::Private },
      { "bookmarkChosen(int)", &slot_8, QMetaData::Private },
      { "addBookmark()", &slot_9, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
      "HandBook", parentObject,
      slot_tbl, 10,
      0, 0,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_HandBook.setMetaObject( metaObj );
    return metaObj;
}

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

bool HandBook::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: showYourself(); break;
    case 1: setBackwardAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 2: setForwardAvailable((bool)static_QUType_bool.get(_o+1)); break;
    case 3: sourceChanged((const QString&)static_QUType_QString.get(_o+1)); break;
    case 4: openFile(); break;
    case 5: print(); break;
    case 6: pathSelected((const QString&)static_QUType_QString.get(_o+1)); break;
    case 7: historyChosen((int)static_QUType_int.get(_o+1)); break;
    case 8: bookmarkChosen((int)static_QUType_int.get(_o+1)); break;
    case 9: addBookmark(); break;
    default:
      return QMainWindow::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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

Generated by  Doxygen 1.6.0   Back to index