kfloppy
#include <format.h>

Public Member Functions | |
KFActionQueue (QObject *parent=0L) | |
virtual | ~KFActionQueue () |
virtual void | exec () |
void | queue (KFAction *) |
![]() | |
KFAction (QObject *parent=0L) | |
virtual | ~KFAction () |
Protected Slots | |
void | actionDone (KFAction *, bool) |
Additional Inherited Members | |
![]() | |
virtual void | quit () |
![]() | |
void | done (KFAction *me, bool success) |
void | error (const QString &msg, const QString &details) |
void | status (const QString &msg, int progress) |
Detailed Description
Acts as a queue and executes the actions in the queue in FIFO order.
Constructor & Destructor Documentation
KFActionQueue::KFActionQueue | ( | QObject * | parent = 0L | ) |
Definition at line 80 of file format.cpp.
|
virtual |
Definition at line 87 of file format.cpp.
Member Function Documentation
|
protectedslot |
Definition at line 110 of file format.cpp.
|
virtual |
Exec() should return quickly to ensire that the GUI thread stays alive.
quit() should abort the action.
Reimplemented from KFAction.
Definition at line 103 of file format.cpp.
void KFActionQueue::queue | ( | KFAction * | p | ) |
Add a KFAction to the queue.
When exec() is called, the actions are called one after the other (if each action is successful; if any action fails, the whole queue fails and the unsuccessful action is the last one run.) Actions become the property of the queue action. Note that queues can be nested.
Definition at line 95 of file format.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:08:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.