QtBase  v6.3.1
Public Types | Public Member Functions | Protected Member Functions | List of all members
QMakeSourceFileInfo Class Reference

#include <makefiledeps.h>

Inheritance diagram for QMakeSourceFileInfo:
Inheritance graph
[legend]

Public Types

enum  DependencyMode { Recursive , NonRecursive }
 
enum  SourceFileType { TYPE_UNKNOWN , TYPE_C , TYPE_UI , TYPE_QRC }
 
enum  SourceFileSeek { SEEK_DEPS =0x01 , SEEK_MOCS =0x02 }
 

Public Member Functions

 QMakeSourceFileInfo ()
 
virtual ~QMakeSourceFileInfo ()
 
QList< QMakeLocalFileNamedependencyPaths () const
 
void setDependencyPaths (const QList< QMakeLocalFileName > &)
 
void setDependencyMode (DependencyMode mode)
 
DependencyMode dependencyMode () const
 
void setSystemIncludes (const ProStringList &list)
 
void addSourceFiles (const ProStringList &, uchar seek, SourceFileType type=TYPE_C)
 
void addSourceFile (const QString &, uchar seek, SourceFileType type=TYPE_C)
 
bool containsSourceFile (const QString &, SourceFileType type=TYPE_C)
 
bool isSystemInclude (const QString &)
 
int included (const QString &file)
 
QStringList dependencies (const QString &file)
 
bool mocable (const QString &file)
 

Protected Member Functions

virtual QMakeLocalFileName fixPathForFile (const QMakeLocalFileName &, bool forOpen=false)
 
virtual QMakeLocalFileName findFileForDep (const QMakeLocalFileName &, const QMakeLocalFileName &)
 
virtual QFileInfo findFileInfo (const QMakeLocalFileName &)
 

Detailed Description

Definition at line 63 of file makefiledeps.h.

Member Enumeration Documentation

◆ DependencyMode

Enumerator
Recursive 
NonRecursive 

Definition at line 95 of file makefiledeps.h.

◆ SourceFileSeek

Enumerator
SEEK_DEPS 
SEEK_MOCS 

Definition at line 103 of file makefiledeps.h.

◆ SourceFileType

Enumerator
TYPE_UNKNOWN 
TYPE_C 
TYPE_UI 
TYPE_QRC 

Definition at line 102 of file makefiledeps.h.

Constructor & Destructor Documentation

◆ QMakeSourceFileInfo()

QMakeSourceFileInfo::QMakeSourceFileInfo ( )

Definition at line 249 of file makefiledeps.cpp.

◆ ~QMakeSourceFileInfo()

QMakeSourceFileInfo::~QMakeSourceFileInfo ( )
virtual

Definition at line 263 of file makefiledeps.cpp.

Member Function Documentation

◆ addSourceFile()

void QMakeSourceFileInfo::addSourceFile ( const QString f,
uchar  seek,
QMakeSourceFileInfo::SourceFileType  type = TYPE_C 
)

Definition at line 283 of file makefiledeps.cpp.

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

◆ addSourceFiles()

void QMakeSourceFileInfo::addSourceFiles ( const ProStringList l,
uchar  seek,
QMakeSourceFileInfo::SourceFileType  type = TYPE_C 
)

Definition at line 277 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ containsSourceFile()

bool QMakeSourceFileInfo::containsSourceFile ( const QString f,
SourceFileType  type = TYPE_C 
)

Definition at line 309 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ dependencies()

QStringList QMakeSourceFileInfo::dependencies ( const QString file)

Definition at line 206 of file makefiledeps.cpp.

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

◆ dependencyMode()

DependencyMode QMakeSourceFileInfo::dependencyMode ( ) const
inline

Definition at line 97 of file makefiledeps.h.

◆ dependencyPaths()

QList<QMakeLocalFileName> QMakeSourceFileInfo::dependencyPaths ( ) const
inline

Definition at line 92 of file makefiledeps.h.

Here is the caller graph for this function:

◆ findFileForDep()

QMakeLocalFileName QMakeSourceFileInfo::findFileForDep ( const QMakeLocalFileName ,
const QMakeLocalFileName  
)
protectedvirtual

Reimplemented in MakefileGenerator.

Definition at line 355 of file makefiledeps.cpp.

Here is the caller graph for this function:

◆ findFileInfo()

QFileInfo QMakeSourceFileInfo::findFileInfo ( const QMakeLocalFileName dep)
protectedvirtual

Reimplemented in MakefileGenerator.

Definition at line 361 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ fixPathForFile()

QMakeLocalFileName QMakeSourceFileInfo::fixPathForFile ( const QMakeLocalFileName f,
bool  forOpen = false 
)
protectedvirtual

Reimplemented in MakefileGenerator.

Definition at line 350 of file makefiledeps.cpp.

◆ included()

int QMakeSourceFileInfo::included ( const QString file)

Definition at line 232 of file makefiledeps.cpp.

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

◆ isSystemInclude()

bool QMakeSourceFileInfo::isSystemInclude ( const QString name)

Definition at line 316 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ mocable()

bool QMakeSourceFileInfo::mocable ( const QString file)

Definition at line 242 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ setDependencyMode()

void QMakeSourceFileInfo::setDependencyMode ( DependencyMode  mode)
inline

Definition at line 96 of file makefiledeps.h.

◆ setDependencyPaths()

void QMakeSourceFileInfo::setDependencyPaths ( const QList< QMakeLocalFileName > &  l)

Definition at line 195 of file makefiledeps.cpp.

Here is the call graph for this function:

◆ setSystemIncludes()

void QMakeSourceFileInfo::setSystemIncludes ( const ProStringList list)
inline

Definition at line 99 of file makefiledeps.h.


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