summaryrefslogtreecommitdiffstats
path: root/scribus/scribusdoc.h
diff options
context:
space:
mode:
authorcraig <craig@11d20701-8431-0410-a711-e3c959e3b870>2012-01-18 21:40:59 +0000
committercraig <craig@11d20701-8431-0410-a711-e3c959e3b870>2012-01-18 21:40:59 +0000
commit88de2d21f5857354baf6efd80c4103e896d53cbe (patch)
tree39ea45e38b6529219ed6d7bfa9e35f134ee14f74 /scribus/scribusdoc.h
parentee0934d391fd8bce3702706d8d46deeed48e795f (diff)
downloadscribus-88de2d21f5857354baf6efd80c4103e896d53cbe.tar.gz
scribus-88de2d21f5857354baf6efd80c4103e896d53cbe.tar.xz
scribus-88de2d21f5857354baf6efd80c4103e896d53cbe.zip
#4828: Allow undo/redo of moving pages
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17212 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/scribusdoc.h')
-rw-r--r--scribus/scribusdoc.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/scribus/scribusdoc.h b/scribus/scribusdoc.h
index b364469..48ec7b9 100644
--- a/scribus/scribusdoc.h
+++ b/scribus/scribusdoc.h
@@ -179,12 +179,12 @@ public:
void setLocationBasedPageLRMargins(uint pageIndex);
/**
* @brief Move page(s) within the document
- * @param from page index
- * @param to page index
- * @param ziel target to move to (page index)
- * @param art Before, After or at the end
+ * @param fromPage page index
+ * @param toPage page index
+ * @param count target to move to (page index)
+ * @param position Before, After or at the end
*/
- void movePage(const int from, const int to, const int ziel, const int art);
+ void movePage(const int fromPage, const int toPage, const int dest, const int position);
/**
* @brief Copy a page (pageNumberToCopy) copyCount times, whereToInsert(before or after) the existingPage or at the end.
@@ -554,7 +554,8 @@ public:
* @brief Undo function for applying a master page
*/
void restoreMasterPageApplying(SimpleState *state, bool isUndo);
- void restorePageCopy(SimpleState *state, bool isUndo);
+ void restoreCopyPage(SimpleState *state, bool isUndo);
+ void restoreMovePage(SimpleState *state, bool isUndo);
/**
* @brief Undo function for grouping/ungrouping
*/