Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 1196 → Rev 1197

/branches/Version13x/Scribus/scribus/undomanager.h
30,6 → 30,7
#include "undoobject.h"
 
class UndoGui;
class PrefsContext;
 
typedef std::pair<UndoObject*, UndoState*> ActionPair;
typedef std::vector<ActionPair> ActionList;
69,6 → 70,8
/** @brief Should undo states be stored or ignored */
static bool _undoEnabled;
 
PrefsContext *prefs;
 
/** @brief Doc to which the currently active stack belongs */
QString currentDoc;
 
103,6 → 106,7
void connectGuis();
void disconnectGuis();
void initIcons();
void checkStackLength();
 
public:
/**
198,14 → 202,6
void showObject(int uid);
 
/**
* @brief Sets the length of the undo stack.
*
* Tells how many UndoStates are stored.
* @param steps number of UndoStates to store in the undo stack
*/
void setHistoryLength(int steps);
 
/**
* @brief Returns the maximum length of the undostack.
* @return the maximum length of the undostack
*/
290,6 → 286,14
*/
void redo(int steps);
 
/**
* @brief Sets the length of the undo stack.
*
* Tells how many UndoStates are stored.
* @param steps number of UndoStates to store in the undo stack
*/
void setHistoryLength(int steps);
 
signals:
/**
* @brief Emitted when a new undo action is stored to the undo stack.