Logo Search packages:      
Sourcecode: d3lphin version File versions  Download package

UndoManager Class Reference

#include <undomanager.h>

List of all members.

Detailed Description

Stores all file manager commands which can be undone and redone.

During the undo and redo operations a progress information is shown in the status bar.

Peter Penz <peter.penz@gmx.at>

Definition at line 83 of file undomanager.h.

Public Slots

void redo ()
void undo ()


void redoAvailable (bool available)
void redoTextChanged (const QString &text)
void undoAvailable (bool available)
void undoTextChanged (const QString &text)

Public Member Functions

void addCommand (const DolphinCommand &command)
void beginMacro ()
void endMacro ()

Static Public Member Functions

static UndoManagerinstance ()

Protected Member Functions

QString commandText (const DolphinCommand &command) const

Private Slots

void slotPercent (KIO::Job *job, unsigned long percent)
void updateProgress ()

Private Member Functions

void calcStepsCount (int &macroCount, int &progressCount)

Private Attributes

QValueList< DolphinCommandm_history
int m_historyIndex
int m_macroCounter
bool m_recordMacro

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index