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

kbibpreview.moc.cpp

/****************************************************************************
** KBibPreview meta object code from reading C++ file 'kbibpreview.h'
**
** Created: Sat Apr 21 16:06:46 2007
**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

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

QMetaObject *KBibPreview::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KBibPreview( "KBibPreview", &KBibPreview::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KBibPreview::staticMetaObject()
{
    if ( metaObj )
      return metaObj;
    QMetaObject* parentObject = QTextBrowser::staticMetaObject();
    static const QUParameter param_slot_0[] = {
      { "link", &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_0 = {"slotLinkClicked", 1, param_slot_0 };
    static const QUMethod slot_1 = {"slotCopyAll", 0, 0 };
    static const QUMethod slot_2 = {"slotCopySelected", 0, 0 };
    static const QUParameter param_slot_3[] = {
      { 0, &static_QUType_bool, 0, QUParameter::In }
    };
    static const QUMethod slot_3 = {"slotCopyAvailableChange", 1, param_slot_3 };
    static const QMetaData slot_tbl[] = {
      { "slotLinkClicked(const QString&)", &slot_0, QMetaData::Public },
      { "slotCopyAll()", &slot_1, QMetaData::Public },
      { "slotCopySelected()", &slot_2, QMetaData::Public },
      { "slotCopyAvailableChange(bool)", &slot_3, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
      "KBibPreview", parentObject,
      slot_tbl, 4,
      0, 0,
#ifndef QT_NO_PROPERTIES
      0, 0,
      0, 0,
#endif // QT_NO_PROPERTIES
      0, 0 );
    cleanUp_KBibPreview.setMetaObject( metaObj );
    return metaObj;
}

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

bool KBibPreview::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: slotLinkClicked((const QString&)static_QUType_QString.get(_o+1)); break;
    case 1: slotCopyAll(); break;
    case 2: slotCopySelected(); break;
    case 3: slotCopyAvailableChange((bool)static_QUType_bool.get(_o+1)); break;
    default:
      return QTextBrowser::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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

Generated by  Doxygen 1.6.0   Back to index