Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_io_qiodevice.cpp File Reference

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]

Referenced by if(), and isExeFile().

◆ gzip

QProcess gzip

[0]

Definition at line 5 of file src_corelib_io_qiodevice.cpp.

Referenced by zip().