Logo Search packages:      
Sourcecode: partitionmanager version File versions  Download package

CreateFileSystemOperation Class Reference

#include <createfilesystemoperation.h>

Inheritance diagram for CreateFileSystemOperation:

Operation

List of all members.


Detailed Description

Create a FileSystem.

Creates a FileSystem on a given Partition and Device.

Author:
vl@fidra.de

Definition at line 43 of file createfilesystemoperation.h.


Public Types

enum  OperationStatus {
  StatusNone = 0, StatusPending, StatusRunning, StatusFinishedSuccess,
  StatusFinishedWarning, StatusError
}

Signals

void jobFinished (Job *, Operation *)
void jobStarted (Job *, Operation *)
int progressChanged (int)

Public Member Functions

 CreateFileSystemOperation (Device &d, Partition &p, FileSystem::Type newType)
QString description () const
bool execute (Report &parent)
QString iconName () const
void preview ()
 Apply the Operation to the current preview.
virtual void setStatus (OperationStatus s)
virtual OperationStatus status () const
virtual QIcon statusIcon () const
virtual QString statusText () const
qint32 totalProgress () const
void undo ()
 Undo applying the Operation to the current preview.

Protected Slots

void onJobFinished ()
void onJobStarted ()

Protected Member Functions

void addJob (Job *job)
CheckFileSystemJobcheckJob ()
CreateFileSystemJobcreateJob ()
DeleteFileSystemJobdeleteJob ()
void insertPreviewPartition (Device &targetDevice, Partition &newPartition)
const QList< Job * > & jobs () const
QList< Job * > & jobs ()
FileSystemnewFileSystem () const
FileSystemoldFileSystem () const
const Partitionpartition () const
Partitionpartition ()
qint32 progressBase () const
void removePreviewPartition (Device &device, Partition &p)
void setProgressBase (qint32 i)
const DevicetargetDevice () const
DevicetargetDevice ()

Private Attributes

CheckFileSystemJobm_CheckJob
CreateFileSystemJobm_CreateJob
DeleteFileSystemJobm_DeleteJob
FileSystemm_NewFileSystem
FileSystemm_OldFileSystem
Partitionm_Partition
Devicem_TargetDevice

Friends

class OperationStack

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index