/****************************************************************************
** Qwt3D::SurfacePlot meta object code from reading C++ file 'qwt3d_surfaceplot.h'
**
** Created: Tue Sep 6 20:43:23 2005
** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.1 edited Feb 18 14:21 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#undef QT_NO_COMPAT
#include "qwt3d_surfaceplot.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.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
const char *Qwt3D::SurfacePlot::className() const
{
return "Qwt3D::SurfacePlot";
}
QMetaObject *Qwt3D::SurfacePlot::metaObj = 0;
static QMetaObjectCleanUp cleanUp_Qwt3D__SurfacePlot( "Qwt3D::SurfacePlot", &Qwt3D::SurfacePlot::staticMetaObject );
#ifndef QT_NO_TRANSLATION
QString Qwt3D::SurfacePlot::tr( const char *s, const char *c )
{
if ( qApp )
return qApp->translate( "Qwt3D::SurfacePlot", s, c, QApplication::DefaultCodec );
else
return QString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
QString Qwt3D::SurfacePlot::trUtf8( const char *s, const char *c )
{
if ( qApp )
return qApp->translate( "Qwt3D::SurfacePlot", s, c, QApplication::UnicodeUTF8 );
else
return QString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8
#endif // QT_NO_TRANSLATION
QMetaObject* Qwt3D::SurfacePlot::staticMetaObject()
{
if ( metaObj )
return metaObj;
QMetaObject* parentObject = Plot3D::staticMetaObject();
static const QUParameter param_slot_0[] = {
{ 0, &static_QUType_int, 0, QUParameter::In }
};
static const QUMethod slot_0 = {"setResolution", 1, param_slot_0 };
static const QMetaData slot_tbl[] = {
{ "setResolution(int)", &slot_0, QMetaData::Public }
};
static const QUParameter param_signal_0[] = {
{ 0, &static_QUType_int, 0, QUParameter::In }
};
static const QUMethod signal_0 = {"resolutionChanged", 1, param_signal_0 };
static const QMetaData signal_tbl[] = {
{ "resolutionChanged(int)", &signal_0, QMetaData::Public }
};
metaObj = QMetaObject::new_metaobject(
"Qwt3D::SurfacePlot", parentObject,
slot_tbl, 1,
signal_tbl, 1,
#ifndef QT_NO_PROPERTIES
0, 0,
0, 0,
#endif // QT_NO_PROPERTIES
0, 0 );
cleanUp_Qwt3D__SurfacePlot.setMetaObject( metaObj );
return metaObj;
}
void* Qwt3D::SurfacePlot::qt_cast( const char* clname )
{
if ( !qstrcmp( clname, "Qwt3D::SurfacePlot" ) )
return this;
return Plot3D::qt_cast( clname );
}
// SIGNAL resolutionChanged
void Qwt3D::SurfacePlot::resolutionChanged( int t0 )
{
activate_signal( staticMetaObject()->signalOffset() + 0, t0 );
}
bool Qwt3D::SurfacePlot::qt_invoke( int _id, QUObject* _o )
{
switch ( _id - staticMetaObject()->slotOffset() ) {
case 0: setResolution((int)static_QUType_int.get(_o+1)); break;
default:
return Plot3D::qt_invoke( _id, _o );
}
return TRUE;
}
bool Qwt3D::SurfacePlot::qt_emit( int _id, QUObject* _o )
{
switch ( _id - staticMetaObject()->signalOffset() ) {
case 0: resolutionChanged((int)static_QUType_int.get(_o+1)); break;
default:
return Plot3D::qt_emit(_id,_o);
}
return TRUE;
}
#ifndef QT_NO_PROPERTIES
bool Qwt3D::SurfacePlot::qt_property( int id, int f, QVariant* v)
{
return Plot3D::qt_property( id, f, v);
}
bool Qwt3D::SurfacePlot::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES
syntax highlighted by Code2HTML, v. 0.9.1