Lines Matching refs:pAction

627     QAction *pAction = actionPool()->action(UIActionIndexRT_M_Input_M_Mouse_T_Integration);
628 pAction->setEnabled(fIsMouseSupportsAbsolute && fIsMouseSupportsRelative && !fIsMouseHostCursorNeeded);
630 pAction->setChecked(true);
831 QAction *pAction = actions.at(i);
832 pAction->setText(QApplication::translate("UIMachineLogic", "Preview Monitor %1").arg(pAction->data().toInt() + 1));
839 foreach (QAction *pAction, m_pSharedClipboardActions->actions())
840 pAction->setText(gpConverter->toString(pAction->data().value<KClipboardMode>()));
844 foreach (QAction *pAction, m_pDragAndDropActions->actions())
845 pAction->setText(gpConverter->toString(pAction->data().value<KDnDMode>()));
1136 UIAction *pAction = qobject_cast<UIAction*>(actions.at(i));
1138 if (!pAction)
1141 if (pAction->menuRole() != QAction::NoRole)
1144 if (qobject_cast<UIActionMenu*>(pAction))
1173 QAction *pAction = new QAction(m_pDockPreviewSelectMonitorGroup);
1174 pAction->setCheckable(true);
1175 pAction->setData(i);
1177 pAction->setChecked(true);
1763 QAction *pAction = qobject_cast<QAction*>(sender());
1764 AssertMsgReturnVoid(pAction, ("This slot should only be called by menu action!\n"));
1767 const UIMediumTarget target = pAction->data().value<UIMediumTarget>();
1776 QAction *pAction = qobject_cast<QAction*>(sender());
1777 AssertMsg(pAction, ("This slot should only be called on selecting USB menu item!\n"));
1780 USBTarget target = pAction->data().value<USBTarget>();
1819 QAction *pAction = qobject_cast<QAction*>(sender());
1820 AssertReturnVoid(pAction);
1823 WebCamTarget target = pAction->data().value<WebCamTarget>();
1848 void UIMachineLogic::sltChangeSharedClipboardType(QAction *pAction)
1851 KClipboardMode mode = pAction->data().value<KClipboardMode>();
1862 QAction *pAction = qobject_cast<QAction*>(sender());
1863 AssertMsgReturnVoid(pAction, ("Sender action should NOT be null!\n"));
1866 CNetworkAdapter adapter = machine().GetNetworkAdapter((ULONG)pAction->property("slot").toInt());
1882 void UIMachineLogic::sltChangeDragAndDropType(QAction *pAction)
1885 KDnDMode mode = pAction->data().value<KDnDMode>();
1999 void UIMachineLogic::sltDockPreviewModeChanged(QAction *pAction)
2001 bool fEnabled = pAction != actionPool()->action(UIActionIndexRT_M_Dock_M_DockSettings_T_DisableMonitor);
2006 void UIMachineLogic::sltDockPreviewMonitorChanged(QAction *pAction)
2008 gEDataManager->setRealtimeDockIconUpdateMonitor(pAction->data().toInt(), vboxGlobal().managedVMUuid());
2183 QAction *pAction = pMenu->addAction(UIIconPool::iconSet(adapterData[iSlot] ? ":/connect_16px.png": ":/disconnect_16px.png"),
2186 pAction->setProperty("slot", iSlot);
2187 pAction->setCheckable(true);
2188 pAction->setChecked(adapterData[iSlot]);
2290 QAction *pAction = new QAction(gpConverter->toString(mode), m_pSharedClipboardActions);
2291 pMenu->addAction(pAction);
2292 pAction->setData(QVariant::fromValue(mode));
2293 pAction->setCheckable(true);
2294 pAction->setChecked(machine().GetClipboardMode() == mode);
2301 foreach (QAction *pAction, m_pSharedClipboardActions->actions())
2302 if (pAction->data().value<KClipboardMode>() == machine().GetClipboardMode())
2303 pAction->setChecked(true);
2315 QAction *pAction = new QAction(gpConverter->toString(mode), m_pDragAndDropActions);
2316 pMenu->addAction(pAction);
2317 pAction->setData(QVariant::fromValue(mode));
2318 pAction->setCheckable(true);
2319 pAction->setChecked(machine().GetDnDMode() == mode);
2326 foreach (QAction *pAction, m_pDragAndDropActions->actions())
2327 if (pAction->data().value<KDnDMode>() == machine().GetDnDMode())
2328 pAction->setChecked(true);