/****************************************************************************
** EmbedViewImp meta object code from reading C++ file 'standard input'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "./embedviewimp.h"

#include <ntqmetaobject.h>
#include <ntqapplication.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.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

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

TQMetaObject *EmbedViewImp::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_EmbedViewImp( "EmbedViewImp", &EmbedViewImp::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString EmbedViewImp::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "EmbedViewImp", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString EmbedViewImp::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "EmbedViewImp", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* EmbedViewImp::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = EmbedView::staticMetaObject();
    static const TQUMethod slot_0 = {"cancelClicked", 0, 0 };
    static const TQUMethod slot_1 = {"okClicked", 0, 0 };
    static const TQUMethod slot_2 = {"consoleClicked", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_TQVariant, 0, TQUParameter::Out }
    };
    static const TQUMethod slot_3 = {"someValue", 1, param_slot_3 };
    static const TQUParameter param_slot_4[] = {
	{ "var", &static_QUType_TQVariant, 0, TQUParameter::In }
    };
    static const TQUMethod slot_4 = {"setSomeValue", 1, param_slot_4 };
    static const TQMetaData slot_tbl[] = {
	{ "cancelClicked()", &slot_0, TQMetaData::Public },
	{ "okClicked()", &slot_1, TQMetaData::Public },
	{ "consoleClicked()", &slot_2, TQMetaData::Public },
	{ "someValue()", &slot_3, TQMetaData::Public },
	{ "setSomeValue(const TQVariant&)", &slot_4, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"EmbedViewImp", parentObject,
	slot_tbl, 5,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_EmbedViewImp.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* EmbedViewImp::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "EmbedViewImp" ) )
	return this;
    return EmbedView::tqt_cast( clname );
}

bool EmbedViewImp::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: cancelClicked(); break;
    case 1: okClicked(); break;
    case 2: consoleClicked(); break;
    case 3: static_QUType_TQVariant.set(_o,someValue()); break;
    case 4: setSomeValue((const TQVariant&)static_QUType_TQVariant.get(_o+1)); break;
    default:
	return EmbedView::tqt_invoke( _id, _o );
    }
    return true;
}

bool EmbedViewImp::tqt_emit( int _id, TQUObject* _o )
{
    return EmbedView::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool EmbedViewImp::tqt_property( int id, int f, TQVariant* v)
{
    return EmbedView::tqt_property( id, f, v);
}

bool EmbedViewImp::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
