Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 08/20/2012 05:51 PM, Timothy Pearson wrote:
Can you please post the generated kdefilepicker.moc.cxx file?  I am
somewhat surprised that moc is failing to generate valid code in this
case.

attached

Stephan

/****************************************************************************
** KDEFileDialog meta object code from reading C++ file 'kdefilepicker.hxx'
**
** Created: Mon Aug 20 17:59:23 2012
**      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 "../../../../../../../vcl/unx/kde/fpicker/kdefilepicker.hxx"
#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 *KDEFileDialog::className() const
{
    return "KDEFileDialog";
}

QMetaObject *KDEFileDialog::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KDEFileDialog( "KDEFileDialog", &KDEFileDialog::staticMetaObject 
);

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

#endif // QT_NO_TRANSLATION

QMetaObject* KDEFileDialog::staticMetaObject()
{
    if ( metaObj )
        return metaObj;
    QMetaObject* parentObject = KFileDialog::staticMetaObject();
    static const QUParameter param_slot_0[] = {
        { 0, &static_QUType_ptr, "TQString", QUParameter::In }
    };
    static const QUMethod slot_0 = {"fileHighlightedCommand", 1, param_slot_0 };
    static const QUParameter param_slot_1[] = {
        { 0, &static_QUType_QString, 0, QUParameter::In }
    };
    static const QUMethod slot_1 = {"fileHighlightedCommand", 1, param_slot_1 };
    static const QUMethod slot_2 = {"selectionChangedCommand", 0, 0 };
    static const QMetaData slot_tbl[] = {
        { "fileHighlightedCommand(const TQString&)", &slot_0, QMetaData::Protected },
        { "fileHighlightedCommand(const QString&)", &slot_1, QMetaData::Protected },
        { "selectionChangedCommand()", &slot_2, QMetaData::Protected }
    };
    metaObj = QMetaObject::new_metaobject(
        "KDEFileDialog", parentObject,
        slot_tbl, 3,
        0, 0,
#ifndef QT_NO_PROPERTIES
        0, 0,
        0, 0,
#endif // QT_NO_PROPERTIES
        0, 0 );
    cleanUp_KDEFileDialog.setMetaObject( metaObj );
    return metaObj;
}

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

bool KDEFileDialog::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: fileHighlightedCommand((const TQString&)*((const 
TQString*)static_QUType_ptr.get(_o+1))); break;
    case 1: fileHighlightedCommand((const QString&)static_QUType_QString.get(_o+1)); break;
    case 2: selectionChangedCommand(); break;
    default:
        return KFileDialog::qt_invoke( _id, _o );
    }
    return TRUE;
}

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

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

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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.