int VCCueListProperties::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QDialog::qt_metacall(_c, _id, _a); if (_id < 0) return _id; if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: accept(); break; case 1: slotTabChanged(); break; case 2: slotAddClicked(); break; case 3: slotRemoveClicked(); break; case 4: slotRaiseClicked(); break; case 5: slotLowerClicked(); break; case 6: slotCutClicked(); break; case 7: slotCopyClicked(); break; case 8: slotPasteClicked(); break; case 9: slotNextAttachClicked(); break; case 10: slotNextDetachClicked(); break; case 11: slotNextChooseInputClicked(); break; case 12: slotNextAutoDetectInputToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; case 13: slotNextInputValueChanged((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break; case 14: slotPreviousAttachClicked(); break; case 15: slotPreviousDetachClicked(); break; case 16: slotPreviousChooseInputClicked(); break; case 17: slotPreviousAutoDetectInputToggled((*reinterpret_cast< bool(*)>(_a[1]))); break; case 18: slotPreviousInputValueChanged((*reinterpret_cast< quint32(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break; default: ; } _id -= 19; } return _id; }
SceneEditor::SceneEditor(QWidget* parent, Scene* scene) : QDialog(parent) { Q_ASSERT(scene != NULL); m_original = scene; m_currentTab = KTabGeneral; /* Create a copy of the original scene so that we can freely modify it. Keep also a pointer to the original so that we can move the contents from the copied chaser to the original when OK is clicked */ m_scene = new Scene(_app->doc()); m_scene->copyFrom(scene); Q_ASSERT(m_scene != NULL); setupUi(this); init(); slotTabChanged(KTabGeneral); }
EFXEditor::EFXEditor(QWidget* parent, EFX* efx, Doc* doc) : QWidget(parent) , m_doc(doc) , m_efx(efx) , m_previewArea(NULL) , m_points(NULL) , m_speedDials(NULL) { Q_ASSERT(doc != NULL); Q_ASSERT(efx != NULL); setupUi(this); connect(m_speedDial, SIGNAL(toggled(bool)), this, SLOT(slotSpeedDialToggle(bool))); initGeneralPage(); initMovementPage(); // Start new (==empty) scenes from the first tab and ones with something in them // on the first fixture page. if (m_tab->count() == 0) slotTabChanged(KTabGeneral); else m_tab->setCurrentIndex(efxUiState()->currentTab()); /* Tab widget */ connect(m_tab, SIGNAL(currentChanged(int)), this, SLOT(slotTabChanged(int))); // Used for UI parameter changes m_testTimer.setSingleShot(true); m_testTimer.setInterval(500); connect(&m_testTimer, SIGNAL(timeout()), this, SLOT(slotRestartTest())); connect(m_doc, SIGNAL(modeChanged(Doc::Mode)), this, SLOT(slotModeChanged(Doc::Mode))); updateSpeedDials(); // Set focus to the editor m_nameEdit->setFocus(); }