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

TQMetaObject *TextEdit::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_TextEdit( "TextEdit", &TextEdit::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* TextEdit::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 = TQTextEdit::staticMetaObject();
    metaObj = TQMetaObject::new_metaobject(
	"TextEdit", parentObject,
	0, 0,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_TextEdit.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool TextEdit::tqt_invoke( int _id, TQUObject* _o )
{
    return TQTextEdit::tqt_invoke(_id,_o);
}

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

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

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


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

TQMetaObject *ToolBarItem::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ToolBarItem( "ToolBarItem", &ToolBarItem::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* ToolBarItem::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 = TQAction::staticMetaObject();
    static const TQUMethod slot_0 = {"wasActivated", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "wasActivated()", &slot_0, TQMetaData::Protected }
    };
    static const TQUParameter param_signal_0[] = {
	{ "t", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"clicked", 1, param_signal_0 };
    static const TQMetaData signal_tbl[] = {
	{ "clicked(const TQString&)", &signal_0, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ToolBarItem", parentObject,
	slot_tbl, 1,
	signal_tbl, 1,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ToolBarItem.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL clicked
void ToolBarItem::clicked( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}

bool ToolBarItem::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: wasActivated(); break;
    default:
	return TQAction::tqt_invoke( _id, _o );
    }
    return true;
}

bool ToolBarItem::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: clicked((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return TQAction::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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


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

TQMetaObject *MultiLineEditor::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_MultiLineEditor( "MultiLineEditor", &MultiLineEditor::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* MultiLineEditor::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 = MultiLineEditorBase::staticMetaObject();
    static const TQUMethod slot_0 = {"okClicked", 0, 0 };
    static const TQUMethod slot_1 = {"applyClicked", 0, 0 };
    static const TQUMethod slot_2 = {"cancelClicked", 0, 0 };
    static const TQUParameter param_slot_3[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_3 = {"insertTags", 1, param_slot_3 };
    static const TQUMethod slot_4 = {"insertBR", 0, 0 };
    static const TQUMethod slot_5 = {"showFontDialog", 0, 0 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"changeWrapMode", 1, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ "e", &static_QUType_ptr, "TQCloseEvent", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"closeEvent", 1, param_slot_7 };
    static const TQMetaData slot_tbl[] = {
	{ "okClicked()", &slot_0, TQMetaData::Protected },
	{ "applyClicked()", &slot_1, TQMetaData::Protected },
	{ "cancelClicked()", &slot_2, TQMetaData::Protected },
	{ "insertTags(const TQString&)", &slot_3, TQMetaData::Protected },
	{ "insertBR()", &slot_4, TQMetaData::Protected },
	{ "showFontDialog()", &slot_5, TQMetaData::Protected },
	{ "changeWrapMode(bool)", &slot_6, TQMetaData::Protected },
	{ "closeEvent(TQCloseEvent*)", &slot_7, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"MultiLineEditor", parentObject,
	slot_tbl, 8,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_MultiLineEditor.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool MultiLineEditor::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: okClicked(); break;
    case 1: applyClicked(); break;
    case 2: cancelClicked(); break;
    case 3: insertTags((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 4: insertBR(); break;
    case 5: showFontDialog(); break;
    case 6: changeWrapMode((bool)static_QUType_bool.get(_o+1)); break;
    case 7: closeEvent((TQCloseEvent*)static_QUType_ptr.get(_o+1)); break;
    default:
	return MultiLineEditorBase::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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