moc_QtOgreViewer.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Meta object code from reading C++ file 'QtOgreViewer.h'
00003 **
00004 ** Created: Sun Nov 23 02:13:25 2008
00005 **      by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #include "viewer/qtogre/QtOgreViewer.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'QtOgreViewer.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.3. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018 
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_sofa__gui__qt__viewer__qtogre__QtOgreViewer[] = {
00021 
00022  // content:
00023        1,       // revision
00024        0,       // classname
00025        0,    0, // classinfo
00026        7,   10, // methods
00027        0,    0, // properties
00028        0,    0, // enums/sets
00029 
00030  // signals: signature, parameters, type, tag, flags
00031       45,   44,   44,   44, 0x05,
00032       55,   44,   44,   44, 0x05,
00033       68,   44,   44,   44, 0x05,
00034 
00035  // slots: signature, parameters, type, tag, flags
00036       81,   44,   44,   44, 0x0a,
00037       93,   44,   44,   44, 0x0a,
00038      104,   44,   44,   44, 0x0a,
00039      118,   44,   44,   44, 0x0a,
00040 
00041        0        // eod
00042 };
00043 
00044 static const char qt_meta_stringdata_sofa__gui__qt__viewer__qtogre__QtOgreViewer[] = {
00045     "sofa::gui::qt::viewer::qtogre::QtOgreViewer\0"
00046     "\0redrawn()\0resizeW(int)\0resizeH(int)\0"
00047     "resetView()\0saveView()\0setSizeW(int)\0"
00048     "setSizeH(int)\0"
00049 };
00050 
00051 const QMetaObject sofa::gui::qt::viewer::qtogre::QtOgreViewer::staticMetaObject = {
00052     { &QWidget::staticMetaObject, qt_meta_stringdata_sofa__gui__qt__viewer__qtogre__QtOgreViewer,
00053       qt_meta_data_sofa__gui__qt__viewer__qtogre__QtOgreViewer, 0 }
00054 };
00055 
00056 const QMetaObject *sofa::gui::qt::viewer::qtogre::QtOgreViewer::metaObject() const
00057 {
00058     return &staticMetaObject;
00059 }
00060 
00061 void *sofa::gui::qt::viewer::qtogre::QtOgreViewer::qt_metacast(const char *_clname)
00062 {
00063     if (!_clname) return 0;
00064     if (!strcmp(_clname, qt_meta_stringdata_sofa__gui__qt__viewer__qtogre__QtOgreViewer))
00065         return static_cast<void*>(const_cast< QtOgreViewer*>(this));
00066     if (!strcmp(_clname, "sofa::gui::qt::viewer::SofaViewer"))
00067         return static_cast< sofa::gui::qt::viewer::SofaViewer*>(const_cast< QtOgreViewer*>(this));
00068     return QWidget::qt_metacast(_clname);
00069 }
00070 
00071 int sofa::gui::qt::viewer::qtogre::QtOgreViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00072 {
00073     _id = QWidget::qt_metacall(_c, _id, _a);
00074     if (_id < 0)
00075         return _id;
00076     if (_c == QMetaObject::InvokeMetaMethod) {
00077         switch (_id) {
00078         case 0: redrawn(); break;
00079         case 1: resizeW((*reinterpret_cast< int(*)>(_a[1]))); break;
00080         case 2: resizeH((*reinterpret_cast< int(*)>(_a[1]))); break;
00081         case 3: resetView(); break;
00082         case 4: saveView(); break;
00083         case 5: setSizeW((*reinterpret_cast< int(*)>(_a[1]))); break;
00084         case 6: setSizeH((*reinterpret_cast< int(*)>(_a[1]))); break;
00085         }
00086         _id -= 7;
00087     }
00088     return _id;
00089 }
00090 
00091 // SIGNAL 0
00092 void sofa::gui::qt::viewer::qtogre::QtOgreViewer::redrawn()
00093 {
00094     QMetaObject::activate(this, &staticMetaObject, 0, 0);
00095 }
00096 
00097 // SIGNAL 1
00098 void sofa::gui::qt::viewer::qtogre::QtOgreViewer::resizeW(int _t1)
00099 {
00100     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00101     QMetaObject::activate(this, &staticMetaObject, 1, _a);
00102 }
00103 
00104 // SIGNAL 2
00105 void sofa::gui::qt::viewer::qtogre::QtOgreViewer::resizeH(int _t1)
00106 {
00107     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00108     QMetaObject::activate(this, &staticMetaObject, 2, _a);
00109 }
00110 QT_END_MOC_NAMESPACE

Generated on Sun Nov 23 02:28:35 2008 for Sofa by  doxygen 1.5.7.1