int Cursor::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: slotArrow(); break; case 1: slotBusy(); break; case 2: slotCloseHand(); break; case 3: slotCross(); break; case 4: slotForbidden(); break; case 5: slotHand(); break; case 6: slotHSplit(); break; case 7: slotIbeam(); break; case 8: slotOpenHand(); break; case 9: slotSizeAll(); break; case 10: slotSizeB(); break; case 11: slotSizeF(); break; case 12: slotSizeH(); break; case 13: slotSizeV(); break; case 14: slotUpArrow(); break; case 15: slotVSplit(); break; case 16: slotWait(); break; case 17: slotWhatsThis(); break; case 18: slotCustom(); break; default: ; } _id -= 19; } return _id; }
void ImageshackWindow::slotGetGalleriesDone(int errCode, const QString &errMsg) { slotBusy(false); m_widget->m_progressBar->setVisible(false); if (errCode) { QMessageBox::critical(this, QString(), i18n("Failed to get galleries list: %1\n", errMsg)); } }
void ImageshackWindow::slotLoginDone(int errCode, const QString& errMsg) { m_widget->updateLabels(); if (!errCode && m_imageshack->loggedIn()) { m_imageshack->saveSettings(); startButton()->setEnabled(!m_widget->imagesList()->imageUrls().isEmpty()); m_talker->getGalleries(); } else { QMessageBox::critical(this, QString(), i18n("Login failed: %1\n", errMsg)); startButton()->setEnabled(false); m_widget->m_progressBar->setVisible(false); slotBusy(false); } }