Lines Matching refs:pAction

99     QAction* pAction = nullptr;  in actions()  local
107 pAction = new QAction(actionText, this); in actions()
108 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotCompareWith); in actions()
109 pAction->setEnabled(m_list.count() > 0 && historyCount > 0); in actions()
110 pActionMenu->addAction(pAction); in actions()
113 pAction = new QAction(actionText, this); in actions()
114 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotMergeWith); in actions()
115 pAction->setEnabled(m_list.count() > 0 && historyCount > 0); in actions()
116 pActionMenu->addAction(pAction); in actions()
119 pAction = new QAction(actionText, this); in actions()
120 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotSaveForLater); in actions()
121 pAction->setEnabled(m_list.count() > 0); in actions()
122 pActionMenu->addAction(pAction); in actions()
124 pAction = new QAction(i18n("3-way merge with base"), this); in actions()
125 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotMergeThreeWay); in actions()
126 pAction->setEnabled(m_list.count() > 0 && historyCount >= 2); in actions()
127 pActionMenu->addAction(pAction); in actions()
138 pAction = new QAction(file, this); in actions()
139 pAction->setData(file); in actions()
140 … connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotCompareWithHistoryItem); in actions()
141 pHistoryMenu->addAction(pAction); in actions()
144 pAction = new QAction(i18n("Clear list"), this); in actions()
145 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotClearList); in actions()
146 pActionMenu->addAction(pAction); in actions()
147 pAction->setEnabled(historyCount > 0); in actions()
152 pAction = new QAction(i18n("Compare"), this); in actions()
153 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotCompareTwoFiles); in actions()
154 pActionMenu->addAction(pAction); in actions()
158 pAction = new QAction(i18n("3 way comparison"), this); in actions()
159 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotCompareThreeFiles); in actions()
160 pActionMenu->addAction(pAction); in actions()
162 pAction = new QAction(i18n("About KDiff3 menu plugin..."), this); in actions()
163 connect(pAction, &QAction::triggered, this, &KDiff3FileItemAction::slotAbout); in actions()
164 pActionMenu->addAction(pAction); in actions()
188 const QAction* pAction = dynamic_cast<const QAction*>(sender()); in slotCompareWithHistoryItem() local
189 if(!m_list.isEmpty() && pAction) in slotCompareWithHistoryItem()
192 args << pAction->data().toString(); in slotCompareWithHistoryItem()