void AlbumChooserWidget::slotAlbumDeletionDone(KJob* kjob) { SLOT_JOB_DONE_INIT(Vkontakte::DeleteAlbumJob) startAlbumsReload(); updateBusyStatus(true); }
void AlbumChooserWidget::slotReloadAlbumsRequest() { updateBusyStatus(true); int aid = 0; if (getCurrentAlbumId(aid)) { m_albumToSelect = aid; } startAlbumsReload(); }
void AlbumChooserWidget::slotAlbumCreationDone(KJob* kjob) { Vkontakte::CreateAlbumJob* const job = dynamic_cast<Vkontakte::CreateAlbumJob*>(kjob); Q_ASSERT(job); if (job == 0 || job->error()) { handleVkError(job); updateBusyStatus(false); } else { // Select the newly created album in the combobox later (in "slotAlbumsReloadDone()") m_albumToSelect = job->album().aid(); startAlbumsReload(); updateBusyStatus(true); } }