/dports/graphics/qgis/qgis-3.22.3/src/app/ |
H A D | qgsundowidget.cpp | 79 mUndoStack = nullptr; in unsetStack() 108 if ( mUndoStack ) in indexChanged() 110 canRedo = mUndoStack->canRedo(); in indexChanged() 111 curCount = mUndoStack->count(); in indexChanged() 145 if ( mUndoStack ) in undo() 146 mUndoStack->undo(); in undo() 151 if ( mUndoStack ) in redo() 152 mUndoStack->redo(); in redo() 164 mUndoStack = undoStack; in setUndoStack() 165 mPreviousIndex = mUndoStack->index(); in setUndoStack() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/app/ |
H A D | qgsundowidget.cpp | 79 mUndoStack = nullptr; in unsetStack() 108 if ( mUndoStack ) in indexChanged() 110 canRedo = mUndoStack->canRedo(); in indexChanged() 111 curCount = mUndoStack->count(); in indexChanged() 145 if ( mUndoStack ) in undo() 146 mUndoStack->undo(); in undo() 151 if ( mUndoStack ) in redo() 152 mUndoStack->redo(); in redo() 164 mUndoStack = undoStack; in setUndoStack() 165 mPreviousIndex = mUndoStack->index(); in setUndoStack() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/editor/txmgr/ |
H A D | TransactionItem.cpp | 26 delete mUndoStack; in ~TransactionItem() 35 if (mUndoStack) { in CleanUp() 36 mUndoStack->DoUnlink(); in CleanUp() 56 if (tmp->mUndoStack) { 57 tmp->mUndoStack->DoTraverse(cb); 65 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 69 mUndoStack->Push(&aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 118 if (!mUndoStack) { in UndoChildren() 150 transactionItem = mUndoStack->Pop(); in UndoChildren() 240 NS_WARNING_ASSERTION(!mUndoStack || mUndoStack->GetSize() > 0, in NumberOfUndoItems() [all …]
|
H A D | TransactionManager.cpp | 27 mUndoStack(TransactionStack::FOR_UNDO), in TransactionManager() 35 tmp->mUndoStack.DoUnlink(); 43 tmp->mUndoStack.DoTraverse(cb); 129 transactionItem = mUndoStack.Pop(); in Undo() 177 mUndoStack.Push(transactionItem.forget()); in Redo() 313 mUndoStack.Clear(); in EnableUndoRedo() 395 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 422 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 452 mUndoStack.Clear(); in ClearUndoStack() 747 topTransactionItem = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/editor/txmgr/ |
H A D | TransactionItem.cpp | 25 delete mUndoStack; in ~TransactionItem() 34 if (mUndoStack) { in CleanUp() 35 mUndoStack->DoUnlink(); in CleanUp() 55 if (tmp->mUndoStack) { 56 tmp->mUndoStack->DoTraverse(cb); 64 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 68 mUndoStack->Push(&aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 117 if (!mUndoStack) { in UndoChildren() 149 transactionItem = mUndoStack->Pop(); in UndoChildren() 239 NS_WARNING_ASSERTION(!mUndoStack || mUndoStack->GetSize() > 0, in NumberOfUndoItems() [all …]
|
H A D | TransactionManager.cpp | 26 mUndoStack(TransactionStack::FOR_UNDO), in TransactionManager() 34 tmp->mUndoStack.DoUnlink(); 42 tmp->mUndoStack.DoTraverse(cb); 128 transactionItem = mUndoStack.Pop(); in Undo() 176 mUndoStack.Push(transactionItem.forget()); in Redo() 312 mUndoStack.Clear(); in EnableUndoRedo() 394 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 421 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 451 mUndoStack.Clear(); in ClearUndoStack() 746 topTransactionItem = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/www/firefox/firefox-99.0/editor/txmgr/ |
H A D | TransactionItem.cpp | 26 delete mUndoStack; in ~TransactionItem() 35 if (mUndoStack) { in CleanUp() 36 mUndoStack->DoUnlink(); in CleanUp() 56 if (tmp->mUndoStack) { 57 tmp->mUndoStack->DoTraverse(cb); 65 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 69 mUndoStack->Push(&aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 118 if (!mUndoStack) { in UndoChildren() 150 transactionItem = mUndoStack->Pop(); in UndoChildren() 240 NS_WARNING_ASSERTION(!mUndoStack || mUndoStack->GetSize() > 0, in NumberOfUndoItems() [all …]
|
H A D | TransactionManager.cpp | 27 mUndoStack(TransactionStack::FOR_UNDO), in TransactionManager() 35 tmp->mUndoStack.DoUnlink(); 43 tmp->mUndoStack.DoTraverse(cb); 129 transactionItem = mUndoStack.Pop(); in Undo() 177 mUndoStack.Push(transactionItem.forget()); in Redo() 313 mUndoStack.Clear(); in EnableUndoRedo() 395 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 422 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 452 mUndoStack.Clear(); in ClearUndoStack() 747 topTransactionItem = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/editor/txmgr/ |
H A D | TransactionItem.cpp | 26 delete mUndoStack; in ~TransactionItem() 35 if (mUndoStack) { in CleanUp() 36 mUndoStack->DoUnlink(); in CleanUp() 56 if (tmp->mUndoStack) { 57 tmp->mUndoStack->DoTraverse(cb); 65 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 69 mUndoStack->Push(&aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 118 if (!mUndoStack) { in UndoChildren() 150 transactionItem = mUndoStack->Pop(); in UndoChildren() 240 NS_WARNING_ASSERTION(!mUndoStack || mUndoStack->GetSize() > 0, in NumberOfUndoItems() [all …]
|
H A D | TransactionManager.cpp | 27 mUndoStack(TransactionStack::FOR_UNDO), in TransactionManager() 35 tmp->mUndoStack.DoUnlink(); 43 tmp->mUndoStack.DoTraverse(cb); 129 transactionItem = mUndoStack.Pop(); in Undo() 177 mUndoStack.Push(transactionItem.forget()); in Redo() 313 mUndoStack.Clear(); in EnableUndoRedo() 395 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 422 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 452 mUndoStack.Clear(); in ClearUndoStack() 747 topTransactionItem = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/cad/librepcb/librepcb-0.1.6/libs/librepcb/projecteditor/ |
H A D | projecteditor.cpp | 56 mUndoStack(nullptr), in ProjectEditor() 61 mUndoStack = new UndoStack(); in ProjectEditor() 62 mLastAutosaveStateId = mUndoStack->getUniqueStateId(); in ProjectEditor() 73 delete mUndoStack; in ProjectEditor() 74 mUndoStack = nullptr; in ProjectEditor() 96 Q_ASSERT(!mUndoStack->isCommandGroupActive()); in ~ProjectEditor() 101 mUndoStack->clear(); in ~ProjectEditor() 109 delete mUndoStack; in ~ProjectEditor() 110 mUndoStack = nullptr; in ~ProjectEditor() 251 mUndoStack->setClean(); in saveProject() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/editor/txmgr/ |
H A D | nsTransactionItem.cpp | 21 delete mUndoStack; in ~nsTransactionItem() 30 if (mUndoStack) { in CleanUp() 31 mUndoStack->DoUnlink(); in CleanUp() 51 if (tmp->mUndoStack) { 52 tmp->mUndoStack->DoTraverse(cb); 62 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 66 mUndoStack->Push(aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 167 if (mUndoStack) { in UndoChildren() 168 if (!mRedoStack && mUndoStack) { in UndoChildren() 194 item = mUndoStack->Pop(); in UndoChildren() [all …]
|
H A D | nsTransactionManager.cpp | 33 tmp->mUndoStack.DoUnlink(); 40 tmp->mUndoStack.DoTraverse(cb); 114 tx = mUndoStack.Pop(); in UndoTransaction() 158 mUndoStack.Push(tx.forget()); in RedoTransaction() 351 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 359 lastUndo = mUndoStack.Pop(); in BatchTopUndo() 362 previousUndo = mUndoStack.Peek(); in BatchTopUndo() 377 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 399 mUndoStack.Clear(); in ClearUndoStack() 647 top = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/editor/txmgr/ |
H A D | nsTransactionItem.cpp | 24 delete mUndoStack; in ~nsTransactionItem() 35 if (mUndoStack) { in CleanUp() 36 mUndoStack->DoUnlink(); in CleanUp() 56 if (tmp->mUndoStack) { 57 tmp->mUndoStack->DoTraverse(cb); 69 if (!mUndoStack) { in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 73 mUndoStack->Push(aTransactionItem); in NS_IMPL_CYCLE_COLLECTION_ROOT_NATIVE() 186 if (mUndoStack) { in UndoChildren() 187 if (!mRedoStack && mUndoStack) { in UndoChildren() 213 item = mUndoStack->Pop(); in UndoChildren() [all …]
|
H A D | nsTransactionManager.cpp | 39 tmp->mUndoStack.DoUnlink(); 46 tmp->mUndoStack.DoTraverse(cb); 122 tx = mUndoStack.Pop(); in UndoTransaction() 167 mUndoStack.Push(tx.forget()); in RedoTransaction() 395 if (mUndoStack.GetSize() < 2) { in BatchTopUndo() 403 lastUndo = mUndoStack.Pop(); in BatchTopUndo() 406 previousUndo = mUndoStack.Peek(); in BatchTopUndo() 423 if (mUndoStack.IsEmpty()) { in RemoveTopUndo() 448 mUndoStack.Clear(); in ClearUndoStack() 717 top = mUndoStack.Peek(); in EndTransaction() [all …]
|
/dports/graphics/kimageannotator/kImageAnnotator-0.5.3/src/annotations/core/ |
H A D | AnnotationArea.cpp | 31 mUndoStack(new UndoStack), in AnnotationArea() 73 delete mUndoStack; in ~AnnotationArea() 93 mUndoStack->push(new AddCommand(imageItem, this)); in insertImageItem() 132 mUndoAction = mUndoStack->createUndoAction(this); in undoAction() 140 mRedoAction = mUndoStack->createRedoAction(this); in redoAction() 180 mUndoStack->push(new FlipCommand(mBackgroundImage.data(), direction)); in flip() 196 mUndoStack->push(new ChangePropertiesCommand(item, properties)); in itemSettingsChanged() 248 mUndoStack->push(new ModifyCanvasCommand(canvasRect, color, this)); in modifyCanvas() 363 mUndoStack->push(new AddCommand(mCurrentItem, this)); in addItemAtPosition() 393 mUndoStack->clear(); in resetAnnotationArea() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/src/core/layout/ |
H A D | qgslayoutundostack.cpp | 25 , mUndoStack( new QUndoStack( layout ) ) in QgsLayoutUndoStack() 27 connect( mUndoStack.get(), &QUndoStack::indexChanged, this, &QgsLayoutUndoStack::indexChanged ); in QgsLayoutUndoStack() 33 mUndoStack->beginMacro( commandText ); in beginMacro() 39 mUndoStack->endMacro(); in endMacro() 61 mUndoStack->push( mActiveCommands.back().release() ); in endCommand() 78 return mUndoStack.get(); in stack() 110 mUndoStack->push( cmd ); in push()
|
H A D | qgslayout.cpp | 53 mUndoStack->blockCommands( true ); in ~QgsLayout() 108 mUndoStack->stack()->clear(); in initializeDefaults() 129 mUndoStack->stack()->clear(); in clear() 552 if ( !mUndoStack->isBlocked() ) in addLayoutItem() 559 if ( !mUndoStack->isBlocked() ) in removeLayoutItem() 568 mUndoStack->endMacro(); in removeLayoutItem() 688 return mUndoStack.get(); in undoStack() 693 return mUndoStack.get(); in undoStack() 759 mUndoStack->endMacro(); in groupItems() 784 mUndoStack->endMacro(); in ungroupItems() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/layout/ |
H A D | qgslayoutundostack.cpp | 25 , mUndoStack( new QUndoStack( layout ) ) in QgsLayoutUndoStack() 27 connect( mUndoStack.get(), &QUndoStack::indexChanged, this, &QgsLayoutUndoStack::indexChanged ); in QgsLayoutUndoStack() 33 mUndoStack->beginMacro( commandText ); in beginMacro() 39 mUndoStack->endMacro(); in endMacro() 61 mUndoStack->push( mActiveCommands.back().release() ); in endCommand() 78 return mUndoStack.get(); in stack() 110 mUndoStack->push( cmd ); in push()
|
H A D | qgslayout.cpp | 53 mUndoStack->blockCommands( true ); in ~QgsLayout() 108 mUndoStack->stack()->clear(); in initializeDefaults() 129 mUndoStack->stack()->clear(); in clear() 552 if ( !mUndoStack->isBlocked() ) in addLayoutItem() 559 if ( !mUndoStack->isBlocked() ) in removeLayoutItem() 568 mUndoStack->endMacro(); in removeLayoutItem() 688 return mUndoStack.get(); in undoStack() 693 return mUndoStack.get(); in undoStack() 759 mUndoStack->endMacro(); in groupItems() 784 mUndoStack->endMacro(); in ungroupItems() [all …]
|
/dports/net/akonadi-calendar/akonadi-calendar-21.12.3/src/ |
H A D | history.cpp | 79 if (!d->mUndoStack.isEmpty()) { in nextUndoDescription() 80 return d->mUndoStack.top()->mDescription; in nextUndoDescription() 123 d->mUndoStack.clear(); in clear() 140 return !d->mUndoStack.isEmpty() && d->mOperationTypeInProgress == TypeNone; in undoAvailable() 152 for (const Entry::Ptr &entry : std::as_const(mUndoStack)) { in updateIds() 195 mUndoStack.push(entry); in handleFinished() 212 …opEntry = (mOperationTypeInProgress == TypeNone) ? (mUndoStack.isEmpty() ? Entry::Ptr() : mUndoSta… in stackEntry() 235 mUndoStack.push(entryToPush); in stackEntry() 266 return type == TypeUndo ? mUndoStack : mRedoStack; in stack() 281 return mUndoStack.count(); in undoCount() [all …]
|
/dports/cad/librepcb/librepcb-0.1.6/libs/librepcb/projecteditor/dialogs/ |
H A D | editnetclassesdialog.cpp | 55 mUndoStack(undoStack) { in EditNetClassesDialog() 62 mUndoStack.beginCmdGroup(tr("Edit Netclasses")); in EditNetClassesDialog() 91 mUndoStack.commitCmdGroup(); in ~EditNetClassesDialog() 96 mUndoStack.abortCmdGroup(); in ~EditNetClassesDialog() 119 mUndoStack.appendToCmdGroup(cmd); in on_tableWidget_itemChanged() 139 mUndoStack.appendToCmdGroup(cmd); in on_btnAdd_clicked() 168 mUndoStack.appendToCmdGroup(cmd); in on_btnRemove_clicked()
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/opencs/model/world/ |
H A D | commandmacro.cpp | 8 : mUndoStack (undoStack), mDescription (description), mStarted (false) in CommandMacro() 14 mUndoStack.endMacro(); in ~CommandMacro() 21 mUndoStack.beginMacro (mDescription.isEmpty() ? command->text() : mDescription); in push() 25 mUndoStack.push (command); in push()
|
/dports/cad/librepcb/librepcb-0.1.6/libs/librepcb/libraryeditor/cmp/ |
H A D | componentsymbolvariantlistwidget.cpp | 50 mUndoStack(nullptr), in ComponentSymbolVariantListWidget() 106 mUndoStack = undoStack; in setReferences() 117 if (uuid && mSymbolVariantList && mUndoStack && mEditorProvider) { in btnEditClicked() 124 if (index.isValid() && mSymbolVariantList && mUndoStack && mEditorProvider) { in viewDoubleClicked() 145 mUndoStack->execCmd(cmd.take()); in editVariant()
|
/dports/misc/actiona/actiona-3.10.1/gui/ |
H A D | scriptmodel.cpp | 45 mUndoStack(new QUndoStack(this)) in ScriptModel() 56 mUndoStack->push(new ChangeEnabledCommand(rows, enabled, this, mProxyModel)); in setActionsEnabled() 66 mUndoStack->push(new ChangeEnabledCommand(rows, enabled, this, mProxyModel)); in setActionsEnabled() 76 mUndoStack->push(new ChangeColorCommand(rows, color, this, mProxyModel)); in setActionsColor() 83 mUndoStack->push(new InsertNewActionCommand(row, actionInstanceBuffer, this, mProxyModel)); in insertAction() 102 mUndoStack->push(new RemoveActionCommand(localRows, this, mProxyModel)); in removeActions() 121 mUndoStack->push(new MoveActionOneRowCommand(rows, (moveDirection == UP), this, mProxyModel)); in moveActions() 402 mUndoStack->push(new ChangeLabelCommand(finalValue, index.row(), this, mProxyModel)); in setData() 413 … mUndoStack->push(new ChangeCommentCommand(value.toString(), index.row(), this, mProxyModel)); in setData() 542 mUndoStack->push(new CopyActionCommand(row, actionInstanceBuffers, this, mProxyModel)); in dropMimeData() [all …]
|