diff options
Diffstat (limited to 'languages/cpp/qtbuildconfig.cpp')
-rw-r--r-- | languages/cpp/qtbuildconfig.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/languages/cpp/qtbuildconfig.cpp b/languages/cpp/qtbuildconfig.cpp index 21717dd2..1d20a9f9 100644 --- a/languages/cpp/qtbuildconfig.cpp +++ b/languages/cpp/qtbuildconfig.cpp @@ -25,19 +25,19 @@ #include <stdlib.h> -const TQString TQtBuildConfig::m_configRoot = TQString( "/kdevcppsupport/qt" ); +const TQString QtBuildConfig::m_configRoot = TQString( "/kdevcppsupport/qt" ); -TQtBuildConfig::TQtBuildConfig( CppSupportPart * part, TQDomDocument* dom ) +QtBuildConfig::QtBuildConfig( CppSupportPart * part, TQDomDocument* dom ) : TQObject( part ), m_part( part ), m_dom( dom ) { init(); } -TQtBuildConfig::~TQtBuildConfig() +QtBuildConfig::~QtBuildConfig() { } -void TQtBuildConfig::init( ) +void QtBuildConfig::init( ) { m_used = DomUtil::readBoolEntry( *m_dom, m_configRoot + "/used", false ); m_version = DomUtil::readIntEntry( *m_dom, m_configRoot + "/version", 3 ); @@ -83,7 +83,7 @@ void TQtBuildConfig::init( ) } } -bool TQtBuildConfig::isValidTQtDir( const TQString& path ) const +bool QtBuildConfig::isValidTQtDir( const TQString& path ) const { TQFileInfo inc( path + TQString( TQChar( TQDir::separator() ) )+ "include"+TQString( TQChar( TQDir::separator() ) )+ @@ -91,7 +91,7 @@ bool TQtBuildConfig::isValidTQtDir( const TQString& path ) const return ( m_version == 4 || ( m_version != 4 && inc.exists() ) ); } -void TQtBuildConfig::buildBinDirs( TQStringList & dirs ) const +void QtBuildConfig::buildBinDirs( TQStringList & dirs ) const { if( m_version == 3 ) { @@ -114,7 +114,7 @@ void TQtBuildConfig::buildBinDirs( TQStringList & dirs ) const } -TQString TQtBuildConfig::findExecutable( const TQString& execname ) const +TQString QtBuildConfig::findExecutable( const TQString& execname ) const { TQStringList dirs; buildBinDirs( dirs ); @@ -130,13 +130,13 @@ TQString TQtBuildConfig::findExecutable( const TQString& execname ) const return ""; } -bool TQtBuildConfig::isExecutable( const TQString& path ) const +bool QtBuildConfig::isExecutable( const TQString& path ) const { TQFileInfo fi(path); return( fi.exists() && fi.isExecutable() ); } -void TQtBuildConfig::findTQtDir() +void QtBuildConfig::findTQtDir() { TQStringList qtdirs; if( m_version == 3 ) @@ -158,7 +158,7 @@ void TQtBuildConfig::findTQtDir() } } -void TQtBuildConfig::store( ) +void QtBuildConfig::store( ) { DomUtil::writeBoolEntry( *m_dom, m_configRoot + "/used", m_used ); DomUtil::writeIntEntry( *m_dom, m_configRoot + "/version", m_version ); @@ -172,42 +172,42 @@ void TQtBuildConfig::store( ) emit stored(); } -void TQtBuildConfig::setUsed( bool used ) +void QtBuildConfig::setUsed( bool used ) { m_used = used; } -void TQtBuildConfig::setVersion( int version ) +void QtBuildConfig::setVersion( int version ) { m_version = version; } -void TQtBuildConfig::setIncludeStyle( int style ) +void QtBuildConfig::setIncludeStyle( int style ) { m_includeStyle = style; } -void TQtBuildConfig::setRoot( const TQString& root ) +void QtBuildConfig::setRoot( const TQString& root ) { m_root = root; } -void TQtBuildConfig::setTQMakePath( const TQString& path ) +void QtBuildConfig::setTQMakePath( const TQString& path ) { m_qmakePath = path; } -void TQtBuildConfig::setDesignerPluginPaths( const TQStringList& pfx ) +void QtBuildConfig::setDesignerPluginPaths( const TQStringList& pfx ) { m_designerPluginPaths = pfx; } -void TQtBuildConfig::setDesignerPath( const TQString& path ) +void QtBuildConfig::setDesignerPath( const TQString& path ) { m_designerPath = path; } -void TQtBuildConfig::setDesignerIntegration( const TQString& designerIntegration ) +void QtBuildConfig::setDesignerIntegration( const TQString& designerIntegration ) { m_designerIntegration = designerIntegration; } |