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
Scanner Class Reference
+ Collaboration diagram for Scanner:

Public Member Functions

 Scanner ()
 
 ~Scanner ()
 
bool parseArguments (int argc, char **argv)
 
void printUsage ()
 
bool process ()
 
void printErrors ()
 

Detailed Description

Definition at line 11 of file qtwaylandscanner.cpp.

Constructor & Destructor Documentation

◆ Scanner()

Scanner::Scanner ( )
inlineexplicit

Definition at line 14 of file qtwaylandscanner.cpp.

◆ ~Scanner()

Scanner::~Scanner ( )
inline

Definition at line 15 of file qtwaylandscanner.cpp.

Member Function Documentation

◆ parseArguments()

bool Scanner::parseArguments ( int argc,
char ** argv )

Definition at line 96 of file qtwaylandscanner.cpp.

References args, i, QByteArray::mid(), pos, QByteArray(), and QList< T >::reserve().

+ Here is the call graph for this function:

◆ printErrors()

void Scanner::printErrors ( )

Definition at line 1305 of file qtwaylandscanner.cpp.

◆ printUsage()

void Scanner::printUsage ( )

Definition at line 140 of file qtwaylandscanner.cpp.

References QByteArray::constData().

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ process()

bool Scanner::process ( )

Definition at line 397 of file qtwaylandscanner.cpp.

References QFileInfo::completeBaseName(), QByteArray::constData(), file, fileName, interface, interfaceName(), QByteArray::isEmpty(), QFile::open(), QByteArray::push_back(), QByteArray(), qPrintable, QStringLiteral, QIODeviceBase::ReadOnly, QByteArray::size(), stripped(), QIODeviceBase::Text, and QString::toLocal8Bit().

+ Here is the call graph for this function:

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