KIO
fileundomanager.h
91 virtual bool copiedFileWasModified(const QUrl &src, const QUrl &dest, const QDateTime &srcTime, const QDateTime &destTime);
130 Put, ///< Represents the creation of a file from data in memory. Used when pasting data from clipboard or drag-n-drop. @since 4.7
132 BatchRename ///< Represents a KIO::batchRename() job. Used when renaming multiple files. @since 5.42
Interface for the gui handling of FileUndoManager.
Definition fileundomanager.h:57
QWidget * parentWidget() const
Definition fileundomanager.cpp:746
void setShowProgressInfo(bool b)
Sets whether to show progress info when running the KIO jobs for undoing.
Definition fileundomanager.cpp:756
virtual bool copiedFileWasModified(const QUrl &src, const QUrl &dest, const QDateTime &srcTime, const QDateTime &destTime)
Called when dest was modified since it was copied from src.
Definition fileundomanager.cpp:722
virtual void jobError(KIO::Job *job)
Called when an undo job errors; default implementation displays a message box.
Definition fileundomanager.cpp:717
virtual void virtual_hook(int id, void *data)
Definition fileundomanager.cpp:766
void setParentWidget(QWidget *parentWidget)
Sets the parent widget to use for message boxes.
Definition fileundomanager.cpp:751
bool showProgressInfo() const
Definition fileundomanager.cpp:761
void undoJobFinished()
Emitted when an undo job finishes. Used for unit testing.
void jobRecordingFinished(FileUndoManager::CommandType op)
Emitted when a job that has been recorded by FileUndoManager::recordJob() or FileUndoManager::recordC...
void undoAvailable(bool avail)
Emitted when the value of isUndoAvailable() changes.
void setUiInterface(UiInterface *ui)
Set a new UiInterface implementation.
Definition fileundomanager.cpp:691
void jobRecordingStarted(CommandType op)
Emitted when a job recording has been started by FileUndoManager::recordJob() or FileUndoManager::rec...
void undoTextChanged(const QString &text)
Emitted when the value of undoText() changes.
UiInterface * uiInterface() const
Definition fileundomanager.cpp:696
@ Put
Represents the creation of a file from data in memory. Used when pasting data from clipboard or drag-...
Definition fileundomanager.h:130
@ BatchRename
Represents a KIO::batchRename() job. Used when renaming multiple files.
Definition fileundomanager.h:132
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.