void init()
Initialize the FileGallery. This sets f using the file name from file. It also calls Gallery::init.
-
function definition:
void init()
-
parameters: NONE
- output: (void)
qint64 totalSize()
Get the total size of the file. This is useful for estimating progress.
-
function definition:
qint64 totalSize()
-
parameters: NONE
- output: (qint64) Returns the total size of the file in bytes
qint64 position()
Get the current index in the file. This is useful for reading and writing blocks of data
-
function definition:
qint64 position()
-
parameters: NONE
- output: (qint64) Returns the current position in the file
bool readOpen()
Open f in read-only mode
-
function definition:
bool readOpen()
-
parameters: NONE
- output: (bool) Returns true if the file was opened successfully, false otherwise
void writeOnly()
Open f in write-only mode
-
function definition:
void writeOpen()
-
parameters: NONE
- output: (void)