You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
3.8 KiB
125 lines
3.8 KiB
/****************************************************************************
|
|
** KviMexServerImport meta object code from reading C++ file 'kvi_mexserverimport.h'
|
|
**
|
|
** Created: Mon Feb 25 00:12:15 2008
|
|
** by: The TQt TQMOC ($Id: qt/tqmoc_yacc.cpp 3.3.8 edited Feb 2 14:59 $)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#undef TQT_NO_COMPAT
|
|
#include "kvi_mexserverimport.h"
|
|
#include <tqmetaobject.h>
|
|
#include <tqapplication.h>
|
|
|
|
#include <private/tqucomextra_p.h>
|
|
#if !defined(TQ_TQMOC_OUTPUT_REVISION) || (TQ_TQMOC_OUTPUT_REVISION != 26)
|
|
#error "This file was generated using the tqmoc from 3.3.8. It"
|
|
#error "cannot be used with the include files from this version of TQt."
|
|
#error "(The tqmoc has changed too much.)"
|
|
#endif
|
|
|
|
const char *KviMexServerImport::className() const
|
|
{
|
|
return "KviMexServerImport";
|
|
}
|
|
|
|
TQMetaObject *KviMexServerImport::metaObj = 0;
|
|
static TQMetaObjectCleanUp cleanUp_KviMexServerImport( "KviMexServerImport", &KviMexServerImport::staticMetaObject );
|
|
|
|
#ifndef TQT_NO_TRANSLATION
|
|
TQString KviMexServerImport::tr( const char *s, const char *c )
|
|
{
|
|
if ( tqApp )
|
|
return tqApp->translate( "KviMexServerImport", s, c, TQApplication::DefaultCodec );
|
|
else
|
|
return TQString::tqfromLatin1( s );
|
|
}
|
|
#ifndef TQT_NO_TRANSLATION_UTF8
|
|
TQString KviMexServerImport::trUtf8( const char *s, const char *c )
|
|
{
|
|
if ( tqApp )
|
|
return tqApp->translate( "KviMexServerImport", s, c, TQApplication::UnicodeUTF8 );
|
|
else
|
|
return TQString::fromUtf8( s );
|
|
}
|
|
#endif // TQT_NO_TRANSLATION_UTF8
|
|
|
|
#endif // TQT_NO_TRANSLATION
|
|
|
|
TQMetaObject* KviMexServerImport::staticMetaObject()
|
|
{
|
|
if ( metaObj )
|
|
return metaObj;
|
|
TQMetaObject* tqparentObject = TQObject::staticMetaObject();
|
|
static const TQUParameter param_signal_0[] = {
|
|
{ "s", &static_TQUType_ptr, "KviIrcServer", TQUParameter::In },
|
|
{ "network", &static_TQUType_charstar, 0, TQUParameter::In }
|
|
};
|
|
static const TQUMethod signal_0 = {"server", 2, param_signal_0 };
|
|
static const TQMetaData signal_tbl[] = {
|
|
{ "server(const KviIrcServer&,const char*)", &signal_0, TQMetaData::Public }
|
|
};
|
|
metaObj = TQMetaObject::new_metaobject(
|
|
"KviMexServerImport", tqparentObject,
|
|
0, 0,
|
|
signal_tbl, 1,
|
|
#ifndef TQT_NO_PROPERTIES
|
|
0, 0,
|
|
0, 0,
|
|
#endif // TQT_NO_PROPERTIES
|
|
0, 0 );
|
|
cleanUp_KviMexServerImport.setMetaObject( metaObj );
|
|
return metaObj;
|
|
}
|
|
|
|
void* KviMexServerImport::tqqt_cast( const char* clname )
|
|
{
|
|
if ( !qstrcmp( clname, "KviMexServerImport" ) )
|
|
return this;
|
|
if ( !qstrcmp( clname, "KviModuleExtension" ) )
|
|
return (KviModuleExtension*)this;
|
|
return TQObject::tqqt_cast( clname );
|
|
}
|
|
|
|
#include <tqobjectdefs.h>
|
|
#include <tqtqsignalslotimp.h>
|
|
|
|
// TQT_SIGNAL server
|
|
void KviMexServerImport::server( const KviIrcServer& t0, const char* t1 )
|
|
{
|
|
if ( signalsBlocked() )
|
|
return;
|
|
TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 0 );
|
|
if ( !clist )
|
|
return;
|
|
TQUObject o[3];
|
|
static_TQUType_ptr.set(o+1,&t0);
|
|
static_TQUType_charstar.set(o+2,t1);
|
|
activate_signal( clist, o );
|
|
}
|
|
|
|
bool KviMexServerImport::qt_invoke( int _id, TQUObject* _o )
|
|
{
|
|
return TQObject::qt_invoke(_id,_o);
|
|
}
|
|
|
|
bool KviMexServerImport::qt_emit( int _id, TQUObject* _o )
|
|
{
|
|
switch ( _id - staticMetaObject()->signalOffset() ) {
|
|
case 0: server((const KviIrcServer&)*((const KviIrcServer*)static_TQUType_ptr.get(_o+1)),(const char*)static_TQUType_charstar.get(_o+2)); break;
|
|
default:
|
|
return TQObject::qt_emit(_id,_o);
|
|
}
|
|
return TRUE;
|
|
}
|
|
#ifndef TQT_NO_PROPERTIES
|
|
|
|
bool KviMexServerImport::qt_property( int id, int f, TQVariant* v)
|
|
{
|
|
return TQObject::qt_property( id, f, v);
|
|
}
|
|
|
|
bool KviMexServerImport::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
|
|
#endif // TQT_NO_PROPERTIES
|