void WalletStack::setEncryptionStatus() { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->setEncryptionStatus(); }
void WalletStack::changePassphrase() { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->changePassphrase(); }
void WalletStack::unlockWallet() { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->unlockWallet(); }
void WalletStack::encryptWallet(bool status) { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->encryptWallet(status); }
void WalletStack::backupWallet() { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->backupWallet(); }
void ActionView::slotCurrentChanged(QAction *action) { // emit only for currently visible if (sender() == currentWidget()) emit currentChanged(action); }
DataSourceWidget *MainTabWidget::currentDataSource() { return static_cast<DataSourceWidget*>(currentWidget()); }
void PlayQueueView::setFocus() { currentWidget()->setFocus(); }
bool PlayQueueView::hasFocus() { return currentWidget()->hasFocus(); }
WorkSheet *Workspace::currentWorkSheet() { return (WorkSheet*)currentWidget(); }
void PlayQueueView::saveConfig() { if (treeView==currentWidget()) { treeView->saveHeader(); } }
void Workspace::exportWorkSheet() { exportWorkSheet( (WorkSheet*)currentWidget() ); }
void ImagePropertiesVersionsTab::writeSettings(KConfigGroup& group) { group.writeEntry(d->configActiveTab, currentWidget() == d->versionsWidget ? "versions" : "filters"); d->versionsWidget->writeSettings(group); }
void WalletStack::decryptForMinting(bool status) { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->decryptForMinting(status); }
QSize WWidgetStack::minimumSizeHint() const { QWidget* pWidget = currentWidget(); return pWidget ? pWidget->minimumSizeHint() : QSize(); }
void ByteViewTab::clear() { while (currentWidget()) { delete currentWidget(); } }
int ActionView::viewMode() const { return currentWidget() == m_actionListView ? IconView : DetailedView; }
void WalletStack::gotoVerifyMessageTab(QString addr) { WalletView *walletView = (WalletView*)currentWidget(); if (walletView) walletView->gotoVerifyMessageTab(addr); }
QueueListView* QueuePool::currentQueue() const { return (dynamic_cast<QueueListView*>(currentWidget())); }
void KexiMobileWidget::showNavigator() { if (currentWidget() != m_navWidget) { setCurrentWidget(m_navWidget); } }