00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../eqtoolbutton.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'eqtoolbutton.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.2.2. 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 static const uint qt_meta_data_EQToolButton[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 2, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 14, 13, 13, 13, 0x0a,
00031 39, 32, 13, 13, 0x0a,
00032
00033 0
00034 };
00035
00036 static const char qt_meta_stringdata_EQToolButton[] = {
00037 "EQToolButton\0\0pintaMenu(QMenu*)\0action\0"
00038 "trataMenu(QAction*)\0"
00039 };
00040
00041 const QMetaObject EQToolButton::staticMetaObject = {
00042 { &QWidget::staticMetaObject, qt_meta_stringdata_EQToolButton,
00043 qt_meta_data_EQToolButton, 0 }
00044 };
00045
00046 const QMetaObject *EQToolButton::metaObject() const
00047 {
00048 return &staticMetaObject;
00049 }
00050
00051 void *EQToolButton::qt_metacast(const char *_clname)
00052 {
00053 if (!_clname) return 0;
00054 if (!strcmp(_clname, qt_meta_stringdata_EQToolButton))
00055 return static_cast<void*>(const_cast<EQToolButton*>(this));
00056 return QWidget::qt_metacast(_clname);
00057 }
00058
00059 int EQToolButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00060 {
00061 _id = QWidget::qt_metacall(_c, _id, _a);
00062 if (_id < 0)
00063 return _id;
00064 if (_c == QMetaObject::InvokeMetaMethod) {
00065 switch (_id) {
00066 case 0: pintaMenu((*reinterpret_cast< QMenu*(*)>(_a[1]))); break;
00067 case 1: trataMenu((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
00068 }
00069 _id -= 2;
00070 }
00071 return _id;
00072 }