kfloppy
ZipFormat Class Reference
#include <zip.h>
Inheritance diagram for ZipFormat:

Detailed Description
Definition at line 47 of file zip.h.
Public Member Functions | |
| ZipFormat (QWidget *w, const char *n) | |
| virtual FilesystemList | FSLabels () const |
| virtual void | setEnabled (bool) |
| virtual void | format (FilesystemData *) |
| virtual void | quit () |
| virtual void | readSettings (KConfig *) |
| virtual void | writeSettings (KConfig *) |
Static Public Member Functions | |
| static bool | runtimeCheck () |
Protected Slots | |
| void | transition () |
| void | processResult (K3Process *, char *, int) |
| void | statusRequest () |
Protected Attributes | |
| QCheckBox * | zeroWholeDisk |
| QCheckBox * | enableSoftUpdates |
| K3Process * | p |
| int | formatStep |
| int | totalBlocks |
| QTimer * | statusTimer |
Static Protected Attributes | |
| static QString | newfs |
| static QString | dd |
Constructor & Destructor Documentation
Member Function Documentation
| bool ZipFormat::runtimeCheck | ( | ) | [static] |
| void ZipFormat::transition | ( | ) | [protected, slot] |
transition() realises the state machine we use to handle the different phases of the format: startup, dd and newfs.
| void ZipFormat::processResult | ( | K3Process * | , | |
| char * | b, | |||
| int | l | |||
| ) | [protected, slot] |
processResult() reads output from either dd or newfs and interprets it.
| void ZipFormat::statusRequest | ( | ) | [protected, slot] |
statusRequest() sends dd a SIGINFO to get it to print out block counts, which then triggers processResult() so that we can keep the progress bar moving.
Member Data Documentation
QCheckBox* ZipFormat::zeroWholeDisk [protected] |
QCheckBox* ZipFormat::enableSoftUpdates [protected] |
QString ZipFormat::newfs [static, protected] |
QString ZipFormat::dd [static, protected] |
K3Process* ZipFormat::p [protected] |
int ZipFormat::formatStep [protected] |
int ZipFormat::totalBlocks [protected] |
QTimer* ZipFormat::statusTimer [protected] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference