/****************************************************************************
** DocumentationPart 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 "/tmp/buildd/tde-packaging/arch/tde-devel/tde-tdevelop/src/tdevelop-trinity-14.1.6/parts/documentation/documentation_part.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 *DocumentationPart::className() const
{
    return "DocumentationPart";
}

TQMetaObject *DocumentationPart::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_DocumentationPart( "DocumentationPart", &DocumentationPart::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* DocumentationPart::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 = KDevPlugin::staticMetaObject();
    static const TQUMethod slot_0 = {"lookInDocumentationIndex", 0, 0 };
    static const TQUParameter param_slot_1[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"lookInDocumentationIndex", 1, param_slot_1 };
    static const TQUMethod slot_2 = {"contextLookInDocumentationIndex", 0, 0 };
    static const TQUMethod slot_3 = {"contextFindDocumentation", 0, 0 };
    static const TQUMethod slot_4 = {"findInDocumentation", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"findInDocumentation", 1, param_slot_5 };
    static const TQUMethod slot_6 = {"searchInDocumentation", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"searchInDocumentation", 1, param_slot_7 };
    static const TQUMethod slot_8 = {"contextSearchInDocumentation", 0, 0 };
    static const TQUMethod slot_9 = {"manPage", 0, 0 };
    static const TQUParameter param_slot_10[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"manPage", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"contextManPage", 0, 0 };
    static const TQUMethod slot_12 = {"infoPage", 0, 0 };
    static const TQUParameter param_slot_13[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_13 = {"infoPage", 1, param_slot_13 };
    static const TQUMethod slot_14 = {"contextInfoPage", 0, 0 };
    static const TQUMethod slot_15 = {"projectOpened", 0, 0 };
    static const TQUMethod slot_16 = {"projectClosed", 0, 0 };
    static const TQUParameter param_slot_17[] = {
	{ "dlg", &static_QUType_ptr, "KDialogBase", TQUParameter::In },
	{ "page", &static_QUType_ptr, "TQWidget", TQUParameter::In },
	{ "pageNo", &static_QUType_ptr, "unsigned int", TQUParameter::In }
    };
    static const TQUMethod slot_17 = {"insertConfigWidget", 3, param_slot_17 };
    static const TQUParameter param_slot_18[] = {
	{ "popup", &static_QUType_ptr, "TQPopupMenu", TQUParameter::In },
	{ "context", &static_QUType_ptr, "Context", TQUParameter::In }
    };
    static const TQUMethod slot_18 = {"contextMenu", 2, param_slot_18 };
    static const TQUMethod slot_19 = {"init", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "lookInDocumentationIndex()", &slot_0, TQMetaData::Public },
	{ "lookInDocumentationIndex(const TQString&)", &slot_1, TQMetaData::Public },
	{ "contextLookInDocumentationIndex()", &slot_2, TQMetaData::Public },
	{ "contextFindDocumentation()", &slot_3, TQMetaData::Public },
	{ "findInDocumentation()", &slot_4, TQMetaData::Public },
	{ "findInDocumentation(const TQString&)", &slot_5, TQMetaData::Public },
	{ "searchInDocumentation()", &slot_6, TQMetaData::Public },
	{ "searchInDocumentation(const TQString&)", &slot_7, TQMetaData::Public },
	{ "contextSearchInDocumentation()", &slot_8, TQMetaData::Public },
	{ "manPage()", &slot_9, TQMetaData::Public },
	{ "manPage(const TQString&)", &slot_10, TQMetaData::Public },
	{ "contextManPage()", &slot_11, TQMetaData::Public },
	{ "infoPage()", &slot_12, TQMetaData::Public },
	{ "infoPage(const TQString&)", &slot_13, TQMetaData::Public },
	{ "contextInfoPage()", &slot_14, TQMetaData::Public },
	{ "projectOpened()", &slot_15, TQMetaData::Public },
	{ "projectClosed()", &slot_16, TQMetaData::Public },
	{ "insertConfigWidget(const KDialogBase*,TQWidget*,unsigned int)", &slot_17, TQMetaData::Protected },
	{ "contextMenu(TQPopupMenu*,const Context*)", &slot_18, TQMetaData::Protected },
	{ "init()", &slot_19, TQMetaData::Private }
    };
    static const TQUParameter param_signal_0[] = {
	{ "indexBox", &static_QUType_ptr, "IndexBox", TQUParameter::In }
    };
    static const TQUMethod signal_0 = {"indexSelected", 1, param_signal_0 };
    static const TQUParameter param_signal_1[] = {
	{ "title", &static_QUType_TQString, 0, TQUParameter::In },
	{ "url", &static_QUType_ptr, "KURL", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"bookmarkLocation", 2, param_signal_1 };
    static const TQMetaData signal_tbl[] = {
	{ "indexSelected(IndexBox*)", &signal_0, TQMetaData::Public },
	{ "bookmarkLocation(const TQString&,const KURL&)", &signal_1, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"DocumentationPart", parentObject,
	slot_tbl, 20,
	signal_tbl, 2,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_DocumentationPart.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

#include <ntqobjectdefs.h>
#include <ntqsignalslotimp.h>

// TQ_SIGNAL indexSelected
void DocumentationPart::indexSelected( IndexBox* t0 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
	return;
    TQUObject o[2];
    static_QUType_ptr.set(o+1,t0);
    o[1].isLastObject = true;
    activate_signal( clist, o );
}

// TQ_SIGNAL bookmarkLocation
void DocumentationPart::bookmarkLocation( const TQString& t0, const KURL& t1 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 1 );
    if ( !clist )
	return;
    TQUObject o[3];
    static_QUType_TQString.set(o+1,t0);
    static_QUType_ptr.set(o+2,&t1);
    o[2].isLastObject = true;
    activate_signal( clist, o );
}

bool DocumentationPart::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: lookInDocumentationIndex(); break;
    case 1: lookInDocumentationIndex((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 2: contextLookInDocumentationIndex(); break;
    case 3: contextFindDocumentation(); break;
    case 4: findInDocumentation(); break;
    case 5: findInDocumentation((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 6: searchInDocumentation(); break;
    case 7: searchInDocumentation((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 8: contextSearchInDocumentation(); break;
    case 9: manPage(); break;
    case 10: manPage((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 11: contextManPage(); break;
    case 12: infoPage(); break;
    case 13: infoPage((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 14: contextInfoPage(); break;
    case 15: projectOpened(); break;
    case 16: projectClosed(); break;
    case 17: insertConfigWidget((const KDialogBase*)static_QUType_ptr.get(_o+1),(TQWidget*)static_QUType_ptr.get(_o+2),(unsigned int)(*((unsigned int*)static_QUType_ptr.get(_o+3)))); break;
    case 18: contextMenu((TQPopupMenu*)static_QUType_ptr.get(_o+1),(const Context*)static_QUType_ptr.get(_o+2)); break;
    case 19: init(); break;
    default:
	return KDevPlugin::tqt_invoke( _id, _o );
    }
    return true;
}

bool DocumentationPart::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: indexSelected((IndexBox*)static_QUType_ptr.get(_o+1)); break;
    case 1: bookmarkLocation((const TQString&)static_QUType_TQString.get(_o+1),(const KURL&)*((const KURL*)static_QUType_ptr.get(_o+2))); break;
    default:
	return KDevPlugin::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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