⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moc_my.cpp

📁 qt类库是非微软类库
💻 CPP
字号:
/****************************************************************************
** MyMainWindow meta object code from reading C++ file 'my.h'
**
** Created: ??? ??? 14 21:26:53 2007
**      by: The Qt MOC ($Id: $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef QT_NO_COMPAT
#include "my.h"
#include <qmetaobject.h>
#include <qapplication.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.2.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

const char *MyMainWindow::className() const
{
    return "MyMainWindow";
}

QMetaObject *MyMainWindow::metaObj = 0;
static QMetaObjectCleanUp cleanUp_MyMainWindow( "MyMainWindow", &MyMainWindow::staticMetaObject );

#ifndef QT_NO_TRANSLATION
QString MyMainWindow::tr( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "MyMainWindow", s, c, QApplication::DefaultCodec );
    else
	return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString MyMainWindow::trUtf8( const char *s, const char *c )
{
    if ( qApp )
	return qApp->translate( "MyMainWindow", s, c, QApplication::UnicodeUTF8 );
    else
	return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8

#endif // QT_NO_TRANSLATION

QMetaObject* MyMainWindow::staticMetaObject()
{
    if ( metaObj )
	return metaObj;
    QMetaObject* parentObject = QWidget::staticMetaObject();
    static const QUMethod slot_0 = {"MyHandle", 0, 0 };
    static const QUMethod slot_1 = {"MyHandleCancel", 0, 0 };
    static const QMetaData slot_tbl[] = {
	{ "MyHandle()", &slot_0, QMetaData::Public },
	{ "MyHandleCancel()", &slot_1, QMetaData::Public }
    };
    static const QUParameter param_signal_0[] = {
	{ 0, &static_QUType_int, 0, QUParameter::Out },
	{ 0, &static_QUType_int, 0, QUParameter::In }
    };
    static const QUMethod signal_0 = {"YY", 2, param_signal_0 };
    static const QMetaData signal_tbl[] = {
	{ "YY(int)", &signal_0, QMetaData::Public }
    };
    metaObj = QMetaObject::new_metaobject(
	"MyMainWindow", parentObject,
	slot_tbl, 2,
	signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // QT_NO_PROPERTIES
	0, 0 );
    cleanUp_MyMainWindow.setMetaObject( metaObj );
    return metaObj;
}

void* MyMainWindow::qt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "MyMainWindow" ) )
	return this;
    return QWidget::qt_cast( clname );
}

#include <qobjectdefs.h>
#include <qsignalslotimp.h>

// SIGNAL YY
int MyMainWindow::YY( int t0 )
{
    int something;
    if ( signalsBlocked() )
	return something;
    QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
    if ( !clist )
	return something;
    QUObject o[2];
    static_QUType_int.set(o,something);
    static_QUType_int.set(o+1,t0);
    activate_signal( clist, o );
    return static_QUType_int.get(o);
}

bool MyMainWindow::qt_invoke( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: MyHandle(); break;
    case 1: MyHandleCancel(); break;
    default:
	return QWidget::qt_invoke( _id, _o );
    }
    return TRUE;
}

bool MyMainWindow::qt_emit( int _id, QUObject* _o )
{
    switch ( _id - staticMetaObject()->signalOffset() ) {
    case 0: static_QUType_int.set(_o,YY((int)static_QUType_int.get(_o+1))); break;
    default:
	return QWidget::qt_emit(_id,_o);
    }
    return TRUE;
}
#ifndef QT_NO_PROPERTIES

bool MyMainWindow::qt_property( int id, int f, QVariant* v)
{
    return QWidget::qt_property( id, f, v);
}

bool MyMainWindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -