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

kfloppy

FDFormat Class Reference

#include <format.h>

Inheritance diagram for FDFormat:

Inheritance graph
[legend]

List of all members.


Detailed Description

Concrete class that runs fdformat(1).

Definition at line 249 of file format.h.


Public Member Functions

 FDFormat (QObject *parent=0L)
virtual void exec ()
bool configure (bool verify)
virtual void processStdOut (K3Process *, char *, int)

Static Public Member Functions

static bool runtimeCheck ()

Protected Attributes

int formatTrackCount
bool doVerify

Static Protected Attributes

static QString fdformatName = QString()

Constructor & Destructor Documentation

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

Definition at line 385 of file format.cpp.


Member Function Documentation

void FDFormat::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 406 of file format.cpp.

bool FDFormat::runtimeCheck (  )  [static]

Concrete classes can provide a runtimeCheck function (heck, this is static, so the name is up to you) that checks if the required applications are available.

This way, the calling application can decide not to use actions whose prerequisites are absent anyway.

Definition at line 394 of file format.cpp.

bool FDFormat::configure ( bool  verify  ) 

verify instructs fdformat(1) to verify the medium as well.

Definition at line 400 of file format.cpp.

void FDFormat::processStdOut ( K3Process *  ,
char *  b,
int  l 
) [virtual]

Provide handling of stdout.

Reimplemented from FloppyAction.

Definition at line 464 of file format.cpp.


Member Data Documentation

QString FDFormat::fdformatName = QString() [static, protected]

path to executable.

Definition at line 276 of file format.h.

int FDFormat::formatTrackCount [protected]

How many tracks formatted.

Definition at line 277 of file format.h.

bool FDFormat::doVerify [protected]

Definition at line 278 of file format.h.


The documentation for this class was generated from the following files:
  • format.h
  • format.cpp

kfloppy

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal