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

kfloppy

ZipFormat Class Reference

#include <zip.h>

Inheritance diagram for ZipFormat:

Inheritance graph
[legend]

List of all members.


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

ZipFormat::ZipFormat ( QWidget *  w,
const char *  n 
)

Definition at line 41 of file zip.cpp.


Member Function Documentation

FilesystemList ZipFormat::FSLabels (  )  const [virtual]

Definition at line 74 of file zip.cpp.

void ZipFormat::setEnabled ( bool  b  )  [virtual]

Definition at line 93 of file zip.cpp.

void ZipFormat::format ( FilesystemData *  f  )  [virtual]

Definition at line 125 of file zip.cpp.

void ZipFormat::quit (  )  [virtual]

Definition at line 115 of file zip.cpp.

void ZipFormat::readSettings ( KConfig *  c  )  [virtual]

Definition at line 99 of file zip.cpp.

void ZipFormat::writeSettings ( KConfig *  c  )  [virtual]

Definition at line 108 of file zip.cpp.

bool ZipFormat::runtimeCheck (  )  [static]

Check for dd and newfs, which we need to do the formatting.

Definition at line 82 of file zip.cpp.

void ZipFormat::transition (  )  [protected, slot]

transition() realises the state machine we use to handle the different phases of the format: startup, dd and newfs.

Definition at line 155 of file zip.cpp.

void ZipFormat::processResult ( K3Process *  ,
char *  b,
int  l 
) [protected, slot]

processResult() reads output from either dd or newfs and interprets it.

Definition at line 245 of file zip.cpp.

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.

Definition at line 290 of file zip.cpp.


Member Data Documentation

QCheckBox* ZipFormat::zeroWholeDisk [protected]

Definition at line 71 of file zip.h.

QCheckBox* ZipFormat::enableSoftUpdates [protected]

Definition at line 72 of file zip.h.

QString ZipFormat::newfs [static, protected]

Definition at line 74 of file zip.h.

QString ZipFormat::dd [static, protected]

Definition at line 74 of file zip.h.

K3Process* ZipFormat::p [protected]

dd or newfs, doing the real work

Definition at line 76 of file zip.h.

int ZipFormat::formatStep [protected]

keeps track of what phase we are in

Definition at line 77 of file zip.h.

int ZipFormat::totalBlocks [protected]

Definition at line 80 of file zip.h.

QTimer* ZipFormat::statusTimer [protected]

Definition at line 81 of file zip.h.


The documentation for this class was generated from the following files:
  • zip.h
  • zip.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