diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 12:35:00 +0900 |
commit | 5198c9d3ac02aa9c7949f49e3cf374f683facb18 (patch) | |
tree | 6b2429d827560c3abd4ae62a941d84ceebaa7a3b /languages/php/phpsupportpart.cpp | |
parent | 8c206b21c4f83d07c23d59989988291cfee38009 (diff) | |
download | tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.tar.gz tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'languages/php/phpsupportpart.cpp')
-rw-r--r-- | languages/php/phpsupportpart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp index 9226104a..ab73766c 100644 --- a/languages/php/phpsupportpart.cpp +++ b/languages/php/phpsupportpart.cpp @@ -443,7 +443,7 @@ bool PHPSupportPart::parseProject() _jd->dir.setPath( project()->projectDirectory() ); TQTimer::singleShot( 0, this, TQ_SLOT( slotParseFiles() ) ); - return TRUE; + return true; } void PHPSupportPart::slotParseFiles() @@ -609,7 +609,7 @@ void PHPSupportPart::customEvent( TQCustomEvent* ev ) nClass->setStartPosition( event->posititon(), 0); m_file->addClass( nClass ); - if ( event->arguments().isEmpty() != TRUE ) + if ( !event->arguments().isEmpty() ) nClass->addBaseClass( event->arguments() ); ns->addClass( nClass ); @@ -690,10 +690,10 @@ void PHPSupportPart::customEvent( TQCustomEvent* ev ) nVariable->setStartPosition( event->posititon(), 0 ); nVariable->setAccess(VariableModel::Public); - if ( event->arguments().isEmpty() != TRUE ) + if ( !event->arguments().isEmpty() ) nVariable->setType( event->arguments() ); - if ( LastClass != NULL && ( LastMethod == NULL || event->global() == TRUE ) ) { + if ( LastClass != NULL && ( LastMethod == NULL || event->global() ) ) { // kdDebug(9018) << "AddVariable To Class " << LastClass->name() << " " << nVariable->name() << endl; LastClass->addVariable(nVariable); } else { |