📄 moc_editor.cpp
字号:
/****************************************************************************
** Editor meta object code from reading C++ file 'editor.h'
**
** Created: ??? ?? 22 10:23:56 2008
** by: The Qt MOC ($Id: $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#undef QT_NO_COMPAT
#include "../editor.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.3.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
const char *Editor::className() const
{
return "Editor";
}
QMetaObject *Editor::metaObj = 0;
static QMetaObjectCleanUp cleanUp_Editor( "Editor", &Editor::staticMetaObject );
#ifndef QT_NO_TRANSLATION
QString Editor::tr( const char *s, const char *c )
{
if ( qApp )
return qApp->translate( "Editor", s, c, QApplication::DefaultCodec );
else
return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString Editor::trUtf8( const char *s, const char *c )
{
if ( qApp )
return qApp->translate( "Editor", s, c, QApplication::UnicodeUTF8 );
else
return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8
#endif // QT_NO_TRANSLATION
QMetaObject* Editor::staticMetaObject()
{
if ( metaObj )
return metaObj;
QMetaObject* parentObject = QTextEdit::staticMetaObject();
static const QUParameter param_signal_0[] = {
{ "fileName", &static_QUType_QString, 0, QUParameter::In },
{ "delay", &static_QUType_int, 0, QUParameter::In }
};
static const QUMethod signal_0 = {"message", 2, param_signal_0 };
static const QMetaData signal_tbl[] = {
{ "message(const QString&,int)", &signal_0, QMetaData::Public }
};
metaObj = QMetaObject::new_metaobject(
"Editor", parentObject,
0, 0,
signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
0, 0,
0, 0,
#endif // QT_NO_PROPERTIES
0, 0 );
cleanUp_Editor.setMetaObject( metaObj );
return metaObj;
}
void* Editor::qt_cast( const char* clname )
{
if ( !qstrcmp( clname, "Editor" ) )
return this;
return QTextEdit::qt_cast( clname );
}
#include <qobjectdefs.h>
#include <qsignalslotimp.h>
// SIGNAL message
void Editor::message( const QString& t0, int t1 )
{
if ( signalsBlocked() )
return;
QConnectionList *clist = receivers( staticMetaObject()->signalOffset() + 0 );
if ( !clist )
return;
QUObject o[3];
static_QUType_QString.set(o+1,t0);
static_QUType_int.set(o+2,t1);
activate_signal( clist, o );
}
bool Editor::qt_invoke( int _id, QUObject* _o )
{
return QTextEdit::qt_invoke(_id,_o);
}
bool Editor::qt_emit( int _id, QUObject* _o )
{
switch ( _id - staticMetaObject()->signalOffset() ) {
case 0: message((const QString&)static_QUType_QString.get(_o+1),(int)static_QUType_int.get(_o+2)); break;
default:
return QTextEdit::qt_emit(_id,_o);
}
return TRUE;
}
#ifndef QT_NO_PROPERTIES
bool Editor::qt_property( int id, int f, QVariant* v)
{
return QTextEdit::qt_property( id, f, v);
}
bool Editor::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -