Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_corelib_io_qiodevice.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

gzip start ("gzip", QStringList()<< "-c")
 
 if (!gzip.waitForStarted()) return false
 
gzip write ("uncompressed data")
 
 while (gzip.waitForReadyRead()) compressed+
 
 if (file.open(QFile::ReadOnly))
 
bool isExeFile (QFile *file)
 [3]
 

Variables

QProcess gzip
 [0]
 
QByteArray compressed
 
QFile file ("box.txt")
 [1]
 

Function Documentation

◆ if() [1/2]

if ( !gzip. waitForStarted())

◆ if() [2/2]

if ( file. openQFile::ReadOnly)

Definition at line 28 of file src_corelib_io_qiodevice.cpp.

References file, and QIODevice::readLine().

+ Here is the call graph for this function:

◆ isExeFile()

bool isExeFile ( QFile * file)

[3]

[4]

[5]

Definition at line 47 of file src_corelib_io_qiodevice.cpp.

References file, and QIODevice::peek().

+ Here is the call graph for this function:

◆ start()

gzip start ( "gzip" ,
QStringList()<< "-c"  )

◆ while()

while ( gzip. waitForReadyRead())

References QIODevice::bytesAvailable().

+ Here is the call graph for this function:

◆ write()

Variable Documentation

◆ compressed

◆ file

QFile file("box.txt") ( "box.txt" )

[1]

[2]

◆ gzip

QProcess gzip

[0]

Definition at line 5 of file src_corelib_io_qiodevice.cpp.

Referenced by zip().