/****************************************************************************
** SearchView 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/searchview.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 *SearchView::className() const
{
    return "SearchView";
}

TQMetaObject *SearchView::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_SearchView( "SearchView", &SearchView::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* SearchView::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 = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"search", 0, 0 };
    static const TQUParameter param_slot_1[] = {
	{ "term", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"setSearchTerm", 1, param_slot_1 };
    static const TQUMethod slot_2 = {"askSearchTerm", 0, 0 };
    static const TQUMethod slot_3 = {"updateConfig", 0, 0 };
    static const TQUMethod slot_4 = {"updateIndex", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ 0, &static_QUType_ptr, "TDEProcess", TQUParameter::In },
	{ "buffer", &static_QUType_charstar, 0, TQUParameter::In },
	{ "len", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"htsearchStdout", 3, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ 0, &static_QUType_ptr, "TDEProcess", TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"htsearchExited", 1, param_slot_6 };
    static const TQUParameter param_slot_7[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"executed", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ "button", &static_QUType_int, 0, TQUParameter::In },
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ "pos", &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ "c", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"itemMouseButtonPressed", 4, param_slot_8 };
    static const TQMetaData slot_tbl[] = {
	{ "search()", &slot_0, TQMetaData::Public },
	{ "setSearchTerm(const TQString&)", &slot_1, TQMetaData::Public },
	{ "askSearchTerm()", &slot_2, TQMetaData::Public },
	{ "updateConfig()", &slot_3, TQMetaData::Protected },
	{ "updateIndex()", &slot_4, TQMetaData::Protected },
	{ "htsearchStdout(TDEProcess*,char*,int)", &slot_5, TQMetaData::Protected },
	{ "htsearchExited(TDEProcess*)", &slot_6, TQMetaData::Protected },
	{ "executed(TQListViewItem*)", &slot_7, TQMetaData::Protected },
	{ "itemMouseButtonPressed(int,TQListViewItem*,const TQPoint&,int)", &slot_8, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"SearchView", parentObject,
	slot_tbl, 9,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_SearchView.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool SearchView::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: search(); break;
    case 1: setSearchTerm((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 2: askSearchTerm(); break;
    case 3: updateConfig(); break;
    case 4: updateIndex(); break;
    case 5: htsearchStdout((TDEProcess*)static_QUType_ptr.get(_o+1),(char*)static_QUType_charstar.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 6: htsearchExited((TDEProcess*)static_QUType_ptr.get(_o+1)); break;
    case 7: executed((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
    case 8: itemMouseButtonPressed((int)static_QUType_int.get(_o+1),(TQListViewItem*)static_QUType_ptr.get(_o+2),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+3)),(int)static_QUType_int.get(_o+4)); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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