/****************************************************************************
** KNS::Security meta object code from reading C++ file 'security.h'
**
** Created: Wed Dec 27 15:16:53 2017
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "../../src/kdelibs-3.5.10/knewstuff/security.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 *KNS::Security::className() const
{
    return "KNS::Security";
}

QMetaObject *KNS::Security::metaObj = 0;
static QMetaObjectCleanUp cleanUp_KNS__Security( "KNS::Security", &KNS::Security::staticMetaObject );

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

#endif // QT_NO_TRANSLATION

QMetaObject* KNS::Security::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QObject::staticMetaObject();
    static const QUMethod slot_0 = {"readKeys", 0, 0 };
    static const QUMethod slot_1 = {"readSecretKeys", 0, 0 };
    static const QUMethod slot_2 = {"slotCheckValidity", 0, 0 };
    static const QUMethod slot_3 = {"slotSignFile", 0, 0 };
    static const QUParameter param_slot_4[] = {
	{ "process", &static_QUType_ptr, "KProcess", QUParameter::In }
    };
    static const QUMethod slot_4 = {"slotProcessExited", 1, param_slot_4 };
    static const QUParameter param_slot_5[] = {
	{ "process", &static_QUType_ptr, "KProcIO", QUParameter::In }
    };
    static const QUMethod slot_5 = {"slotDataArrived", 1, param_slot_5 };
    static const QMetaData slot_tbl[] = {
	{ "readKeys()", &slot_0, QMetaData::Public },
	{ "readSecretKeys()", &slot_1, QMetaData::Public },
	{ "slotCheckValidity()", &slot_2, QMetaData::Public },
	{ "slotSignFile()", &slot_3, QMetaData::Public },
	{ "slotProcessExited(KProcess*)", &slot_4, QMetaData::Private },
	{ "slotDataArrived(KProcIO*)", &slot_5, QMetaData::Private }
    };
    static const QUParameter param_signal_0[] = {
	{ "result", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"validityResult", 1, param_signal_0 };
    static const QUParameter param_signal_1[] = {
	{ "result", &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_1 = {"fileSigned", 1, param_signal_1 };
    static const QMetaData signal_tbl[] = {
	{ "validityResult(int)", &signal_0, QMetaData::Private },
	{ "fileSigned(int)", &signal_1, QMetaData::Private }
    };
    metaObj = QMetaObject::new_metaobject(
	"KNS::Security", parentObject,
	slot_tbl, 6,
	signal_tbl, 2,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_KNS__Security.setMetaObject( metaObj );
    return metaObj;
}

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

// SIGNAL validityResult
void KNS::Security::validityResult( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

// SIGNAL fileSigned
void KNS::Security::fileSigned( int t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 1, t0 );
}

bool KNS::Security::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: readKeys(); break;
    case 1: readSecretKeys(); break;
    case 2: slotCheckValidity(); break;
    case 3: slotSignFile(); break;
    case 4: slotProcessExited((KProcess*)static_QUType_ptr.get(_o+1)); break;
    case 5: slotDataArrived((KProcIO*)static_QUType_ptr.get(_o+1)); break;
    default:
	return QObject::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool KNS::Security::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: validityResult((int)static_QUType_int.get(_o+1)); break;
    case 1: fileSigned((int)static_QUType_int.get(_o+1)); break;
    default:
	return QObject::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

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

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