#include <kshred.h>
Signals | |
| void | processedSize (KIO::filesize_t bytes) |
| void | infoMessage (const QString &) |
Public Methods | |
| KShred (QString fileName) | |
| bool | fill1s () |
| bool | fill0s () |
| bool | fillbyte (unsigned int byte) |
| bool | fillrandom () |
| bool | fillpattern (unsigned char *pattern, unsigned int size) |
| bool | shred () |
Static Public Methods | |
| bool | shred (QString fileName) |
Definition at line 45 of file kshred.h.
|
|
Initialize the class using the name of the file to 'shred'.
|
|
|
Writes all 0's over the entire file and flushes the file buffers.
|
|
|
Writes all 1's over the entire file and flushes the file buffers.
|
|
|
Writes the specified byte over the entire file and flushes the file buffers.
|
|
||||||||||||
|
Writes the specified byte array over the entire file and flushes the file buffers.
|
|
|
Writes random bites over the entire file and flushes the file buffers.
|
|
|
Shows a message in the progress dialog
|
|
|
Shows progress of the shredding.
|
|
|
The simplest method to shred a file. No need to create an instance of the class.
|
|
|
Shreds a file by writing a series of values over it (uses fill0s, then fill1s, then fillrandom, then fillbyte with 0101..., then fillbyte with 1010....
|
1.2.18