Searched refs:m_switchPinState (Results 1 – 1 of 1) sorted by relevance
118 QAction* m_switchPinState; member in SKGMainPanelPrivate160 …m_closePageAction = nullptr; m_closeAllOtherPagesAction = nullptr; m_switchPinState = nullptr; m_s… in SKGMainPanelPrivate()981 …d->m_switchPinState = new QAction(SKGServices::fromTheme(QStringLiteral("document-encrypt")), i18n… in setupActions()982 connect(d->m_switchPinState, &QAction::triggered, this, [ = ] {this->switchPinPage(nullptr);}); in setupActions()983 registerGlobalAction(QStringLiteral("tab_switchpin"), d->m_switchPinState); in setupActions()1698 if (d->m_switchPinState != nullptr) { in refresh()1700 d->m_switchPinState->setText(i18nc("Noun, user action", "Unpin this page")); in refresh()1702 d->m_switchPinState->setText(i18nc("Noun, user action", "Pin this page")); in refresh()1708 if (d->m_switchPinState != nullptr) { in refresh()1709 d->m_switchPinState->setEnabled(atLeastOnePageOpened); in refresh()