[pim/kmail] src: Prepare undo/redo actionText

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f2daedefbd6289d563f119c4546cc061371eeb3a by Laurent Montel.
Committed on 02/08/2026 at 12:59.
Pushed by mlaurent into branch 'master'.

Prepare undo/redo actionText

M  +16   -0    src/kmundoredomanager.cpp
M  +4    -0    src/kmundoredomanager.h

https://invent.kde.org/pim/kmail/-/commit/f2daedefbd6289d563f119c4546cc061371eeb3a

diff --git a/src/kmundoredomanager.cpp b/src/kmundoredomanager.cpp
index 00cd381d2..a9571dfb6 100644
--- a/src/kmundoredomanager.cpp
+++ b/src/kmundoredomanager.cpp
@@ -140,3 +140,19 @@ void KMUndoInfoChangeStatusItems::setItems(const Akonadi::Item::List &newItems)
 {
     mItems = newItems;
 }
+
+void KMUndoInfoChangeStatusItems::undo()
+{
+    // TODO
+}
+
+void KMUndoInfoChangeStatusItems::redo()
+{
+    // TODO
+}
+
+QString KMUndoInfoChangeStatusItems::actionText() const
+{
+    // TODO
+    return {};
+}
diff --git a/src/kmundoredomanager.h b/src/kmundoredomanager.h
index c1ea8dd2a..3d1c9b2a3 100644
--- a/src/kmundoredomanager.h
+++ b/src/kmundoredomanager.h
@@ -48,6 +48,10 @@ public:
     [[nodiscard]] Akonadi::Item::List items() const;
     void setItems(const Akonadi::Item::List &newItems);
 
+    void undo() override;
+    void redo() override;
+    [[nodiscard]] QString actionText() const;
+
 private:
     Akonadi::Item::List mItems;
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.