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

TQMetaObject *MarkerWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_MarkerWidget( "MarkerWidget", &MarkerWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* MarkerWidget::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 = {"doRepaint", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "doRepaint()", &slot_0, TQMetaData::Public }
    };
    static const TQUMethod signal_0 = {"markersChanged", 0, 0 };
    static const TQUParameter param_signal_1[] = {
	{ "p", &static_QUType_ptr, "TQTextParagraph", TQUParameter::In }
    };
    static const TQUMethod signal_1 = {"expandFunction", 1, param_signal_1 };
    static const TQUParameter param_signal_2[] = {
	{ "p", &static_QUType_ptr, "TQTextParagraph", TQUParameter::In }
    };
    static const TQUMethod signal_2 = {"collapseFunction", 1, param_signal_2 };
    static const TQUParameter param_signal_3[] = {
	{ "all", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_3 = {"collapse", 1, param_signal_3 };
    static const TQUParameter param_signal_4[] = {
	{ "all", &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod signal_4 = {"expand", 1, param_signal_4 };
    static const TQUMethod signal_5 = {"editBreakPoints", 0, 0 };
    static const TQUParameter param_signal_6[] = {
	{ "possible", &static_QUType_bool, 0, TQUParameter::InOut },
	{ "code", &static_QUType_TQString, 0, TQUParameter::In },
	{ "line", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod signal_6 = {"isBreakpointPossible", 3, param_signal_6 };
    static const TQUParameter param_signal_7[] = {
	{ "msg", &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod signal_7 = {"showMessage", 1, param_signal_7 };
    static const TQMetaData signal_tbl[] = {
	{ "markersChanged()", &signal_0, TQMetaData::Public },
	{ "expandFunction(TQTextParagraph*)", &signal_1, TQMetaData::Public },
	{ "collapseFunction(TQTextParagraph*)", &signal_2, TQMetaData::Public },
	{ "collapse(bool)", &signal_3, TQMetaData::Public },
	{ "expand(bool)", &signal_4, TQMetaData::Public },
	{ "editBreakPoints()", &signal_5, TQMetaData::Public },
	{ "isBreakpointPossible(bool&,const TQString&,int)", &signal_6, TQMetaData::Public },
	{ "showMessage(const TQString&)", &signal_7, TQMetaData::Public }
    };
    metaObj = TQMetaObject::new_metaobject(
	"MarkerWidget", parentObject,
	slot_tbl, 1,
	signal_tbl, 8,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_MarkerWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

// TQ_SIGNAL markersChanged
void MarkerWidget::markersChanged()
{
    activate_signal( staticMetaObject()->signalOffset() + 0 );
}

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

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

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

// TQ_SIGNAL collapse
void MarkerWidget::collapse( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 3, t0 );
}

// TQ_SIGNAL expand
void MarkerWidget::expand( bool t0 )
{
    activate_signal_bool( staticMetaObject()->signalOffset() + 4, t0 );
}

// TQ_SIGNAL editBreakPoints
void MarkerWidget::editBreakPoints()
{
    activate_signal( staticMetaObject()->signalOffset() + 5 );
}

// TQ_SIGNAL isBreakpointPossible
void MarkerWidget::isBreakpointPossible( bool& t0, const TQString& t1, int t2 )
{
    if ( signalsBlocked() )
	return;
    TQConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 6 );
    if ( !clist )
	return;
    TQUObject o[4];
    static_QUType_bool.set(o+1,t0);
    static_QUType_TQString.set(o+2,t1);
    static_QUType_int.set(o+3,t2);
    o[3].isLastObject = true;
    activate_signal( clist, o );
    t0 = static_QUType_bool.get(o+1);
}

// TQ_SIGNAL showMessage
void MarkerWidget::showMessage( const TQString& t0 )
{
    activate_signal( staticMetaObject()->signalOffset() + 7, t0 );
}

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

bool MarkerWidget::tqt_emit( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: markersChanged(); break;
    case 1: expandFunction((TQTextParagraph*)static_QUType_ptr.get(_o+1)); break;
    case 2: collapseFunction((TQTextParagraph*)static_QUType_ptr.get(_o+1)); break;
    case 3: collapse((bool)static_QUType_bool.get(_o+1)); break;
    case 4: expand((bool)static_QUType_bool.get(_o+1)); break;
    case 5: editBreakPoints(); break;
    case 6: isBreakpointPossible((bool&)static_QUType_bool.get(_o+1),(const TQString&)static_QUType_TQString.get(_o+2),(int)static_QUType_int.get(_o+3)); break;
    case 7: showMessage((const TQString&)static_QUType_TQString.get(_o+1)); break;
    default:
	return TQWidget::tqt_emit(_id,_o);
    }
    return true;
}
#ifndef TQT_NO_PROPERTIES

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

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