• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kfloppy

Public Member Functions | Protected Slots | List of all members
KFActionQueue Class Reference

#include <format.h>

Inheritance diagram for KFActionQueue:
Inheritance graph
[legend]

Public Member Functions

 KFActionQueue (QObject *parent=0L)
 
virtual ~KFActionQueue ()
 
virtual void exec ()
 
void queue (KFAction *)
 
- Public Member Functions inherited from KFAction
 KFAction (QObject *parent=0L)
 
virtual ~KFAction ()
 

Protected Slots

void actionDone (KFAction *, bool)
 

Additional Inherited Members

- Public Slots inherited from KFAction
virtual void quit ()
 
- Signals inherited from KFAction
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.

Definition at line 115 of file format.h.

Constructor & Destructor Documentation

KFActionQueue::KFActionQueue ( QObject *  parent = 0L)

Definition at line 80 of file format.cpp.

KFActionQueue::~KFActionQueue ( )
virtual

Definition at line 87 of file format.cpp.

Member Function Documentation

void KFActionQueue::actionDone ( KFAction *  p,
bool  success 
)
protectedslot

Definition at line 110 of file format.cpp.

void KFActionQueue::exec ( )
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:
  • format.h
  • format.cpp
This file is part of the KDE documentation.
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.

kfloppy

Skip menu "kfloppy"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • kremotecontrol
  • ktimer
  • kwallet
  • superkaramba
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal