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.
142 lines
4.2 KiB
142 lines
4.2 KiB
/****************************************************************************
|
|
** KviMdiChild meta object code from reading C++ file 'kvi_mdichild.h'
|
|
**
|
|
** Created: Mon Feb 25 00:12:34 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_mdichild.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 *KviMdiChild::className() const
|
|
{
|
|
return "KviMdiChild";
|
|
}
|
|
|
|
TQMetaObject *KviMdiChild::metaObj = 0;
|
|
static TQMetaObjectCleanUp cleanUp_KviMdiChild( "KviMdiChild", &KviMdiChild::staticMetaObject );
|
|
|
|
#ifndef TQT_NO_TRANSLATION
|
|
TQString KviMdiChild::tr( const char *s, const char *c )
|
|
{
|
|
if ( tqApp )
|
|
return tqApp->translate( "KviMdiChild", s, c, TQApplication::DefaultCodec );
|
|
else
|
|
return TQString::tqfromLatin1( s );
|
|
}
|
|
#ifndef TQT_NO_TRANSLATION_UTF8
|
|
TQString KviMdiChild::trUtf8( const char *s, const char *c )
|
|
{
|
|
if ( tqApp )
|
|
return tqApp->translate( "KviMdiChild", s, c, TQApplication::UnicodeUTF8 );
|
|
else
|
|
return TQString::fromUtf8( s );
|
|
}
|
|
#endif // TQT_NO_TRANSLATION_UTF8
|
|
|
|
#endif // TQT_NO_TRANSLATION
|
|
|
|
TQMetaObject* KviMdiChild::staticMetaObject()
|
|
{
|
|
if ( metaObj )
|
|
return metaObj;
|
|
TQMetaObject* tqparentObject = TQFrame::staticMetaObject();
|
|
static const TQUMethod slot_0 = {"maximize", 0, 0 };
|
|
static const TQUMethod slot_1 = {"minimize", 0, 0 };
|
|
static const TQUMethod slot_2 = {"restore", 0, 0 };
|
|
static const TQUMethod slot_3 = {"systemPopupSlot", 0, 0 };
|
|
static const TQUMethod slot_4 = {"closeRequest", 0, 0 };
|
|
static const TQMetaData slot_tbl[] = {
|
|
{ "maximize()", &slot_0, TQMetaData::Public },
|
|
{ "minimize()", &slot_1, TQMetaData::Public },
|
|
{ "restore()", &slot_2, TQMetaData::Public },
|
|
{ "systemPopupSlot()", &slot_3, TQMetaData::Public },
|
|
{ "closeRequest()", &slot_4, TQMetaData::Public }
|
|
};
|
|
static const TQUParameter param_signal_0[] = {
|
|
{ "pnt", &static_TQUType_varptr, "\x0e", TQUParameter::In }
|
|
};
|
|
static const TQUMethod signal_0 = {"systemPopupRequest", 1, param_signal_0 };
|
|
static const TQMetaData signal_tbl[] = {
|
|
{ "systemPopupRequest(const TQPoint&)", &signal_0, TQMetaData::Public }
|
|
};
|
|
metaObj = TQMetaObject::new_metaobject(
|
|
"KviMdiChild", tqparentObject,
|
|
slot_tbl, 5,
|
|
signal_tbl, 1,
|
|
#ifndef TQT_NO_PROPERTIES
|
|
0, 0,
|
|
0, 0,
|
|
#endif // TQT_NO_PROPERTIES
|
|
0, 0 );
|
|
cleanUp_KviMdiChild.setMetaObject( metaObj );
|
|
return metaObj;
|
|
}
|
|
|
|
void* KviMdiChild::tqqt_cast( const char* clname )
|
|
{
|
|
if ( !qstrcmp( clname, "KviMdiChild" ) )
|
|
return this;
|
|
return TQFrame::tqqt_cast( clname );
|
|
}
|
|
|
|
#include <tqobjectdefs.h>
|
|
#include <tqtqsignalslotimp.h>
|
|
|
|
// TQT_SIGNAL systemPopupRequest
|
|
void KviMdiChild::systemPopupRequest( const TQPoint& t0 )
|
|
{
|
|
if ( signalsBlocked() )
|
|
return;
|
|
TQConnectionList *clist = tqreceivers( staticMetaObject()->signalOffset() + 0 );
|
|
if ( !clist )
|
|
return;
|
|
TQUObject o[2];
|
|
static_TQUType_varptr.set(o+1,&t0);
|
|
activate_signal( clist, o );
|
|
}
|
|
|
|
bool KviMdiChild::qt_invoke( int _id, TQUObject* _o )
|
|
{
|
|
switch ( _id - staticMetaObject()->slotOffset() ) {
|
|
case 0: maximize(); break;
|
|
case 1: minimize(); break;
|
|
case 2: restore(); break;
|
|
case 3: systemPopupSlot(); break;
|
|
case 4: closeRequest(); break;
|
|
default:
|
|
return TQFrame::qt_invoke( _id, _o );
|
|
}
|
|
return TRUE;
|
|
}
|
|
|
|
bool KviMdiChild::qt_emit( int _id, TQUObject* _o )
|
|
{
|
|
switch ( _id - staticMetaObject()->signalOffset() ) {
|
|
case 0: systemPopupRequest((const TQPoint&)*((const TQPoint*)static_TQUType_ptr.get(_o+1))); break;
|
|
default:
|
|
return TQFrame::qt_emit(_id,_o);
|
|
}
|
|
return TRUE;
|
|
}
|
|
#ifndef TQT_NO_PROPERTIES
|
|
|
|
bool KviMdiChild::qt_property( int id, int f, TQVariant* v)
|
|
{
|
|
return TQFrame::qt_property( id, f, v);
|
|
}
|
|
|
|
bool KviMdiChild::qt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
|
|
#endif // TQT_NO_PROPERTIES
|