UndoGlobalReplace
-
class UndoGlobalReplace : public QDialog
UndoGlobalReplace class undo global replaced words.
It provides list of global replace made and allows to undo them at once or by specific selecion.
See also
displayListForUndoOperation(), on_cancelButton_clicked(), highlightChecked(), on_applyButton_clicked(), getFinalUndoMap()
Public Functions
-
explicit UndoGlobalReplace(QMap<QString, QString> reversedGRMap, QWidget *parent = nullptr)
This class is used to show undo global replace window.
- Parameters:
reversedGRMap –
parent –
-
~UndoGlobalReplace()
Destructor.
Public Slots
-
void highlightChecked(QListWidgetItem*)
Highlights checked items from the list.
- Parameters:
item –
-
bool on_applyButton_clicked()
Updates the finalUndoMap variable with checked items only.
- Returns:
bool
-
QMap<QString, QString> getFinalUndoMap()
returns finalUndoMap variable.
- Returns:
Final Undo map
-
explicit UndoGlobalReplace(QMap<QString, QString> reversedGRMap, QWidget *parent = nullptr)