Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/fileundomanager_p.h
Show All 20 Lines | |||||
21 | #ifndef FILEUNDOMANAGER_P_H | 21 | #ifndef FILEUNDOMANAGER_P_H | ||
22 | #define FILEUNDOMANAGER_P_H | 22 | #define FILEUNDOMANAGER_P_H | ||
23 | 23 | | |||
24 | #include "fileundomanager.h" | 24 | #include "fileundomanager.h" | ||
25 | #include <QtCore/QStack> | 25 | #include <QtCore/QStack> | ||
26 | #include <QUndoCommand> | 26 | #include <QUndoCommand> | ||
27 | #include <QDateTime> | 27 | #include <QDateTime> | ||
28 | 28 | | |||
29 | #include <job_base.h> | ||||
30 | | ||||
29 | class KJob; | 31 | class KJob; | ||
30 | 32 | | |||
31 | namespace KIO | 33 | namespace KIO | ||
32 | { | 34 | { | ||
33 | 35 | | |||
34 | class FileUndoManagerAdaptor; | 36 | class FileUndoManagerAdaptor; | ||
35 | 37 | | |||
36 | struct BasicOperation { | 38 | struct BasicOperation { | ||
▲ Show 20 Lines • Show All 107 Lines • ▼ Show 20 Line(s) | 110 | public: | |||
144 | QStack<QUrl> m_dirCleanupStack; | 146 | QStack<QUrl> m_dirCleanupStack; | ||
145 | QStack<QUrl> m_fileCleanupStack; // files and links | 147 | QStack<QUrl> m_fileCleanupStack; // files and links | ||
146 | QList<QUrl> m_dirsToUpdate; | 148 | QList<QUrl> m_dirsToUpdate; | ||
147 | FileUndoManager::UiInterface *m_uiInterface; | 149 | FileUndoManager::UiInterface *m_uiInterface; | ||
148 | 150 | | |||
149 | UndoJob *m_undoJob; | 151 | UndoJob *m_undoJob; | ||
150 | quint64 m_nextCommandIndex; | 152 | quint64 m_nextCommandIndex; | ||
151 | 153 | | |||
154 | JobFlag m_privilegeExecFlag; | ||||
155 | | ||||
152 | FileUndoManager *q; | 156 | FileUndoManager *q; | ||
153 | 157 | | |||
154 | // DBUS interface | 158 | // DBUS interface | ||
155 | Q_SIGNALS: | 159 | Q_SIGNALS: | ||
156 | /// DBUS signal | 160 | /// DBUS signal | ||
157 | void push(const QByteArray &command); | 161 | void push(const QByteArray &command); | ||
158 | /// DBUS signal | 162 | /// DBUS signal | ||
159 | void pop(); | 163 | void pop(); | ||
Show All 19 Lines |