summaryrefslogtreecommitdiffstats
path: root/languages/php/phpsupportpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:59:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-10 17:35:38 +0900
commitd2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch)
tree6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /languages/php/phpsupportpart.cpp
parentb9618de13e8f38c3558e9ed393a75c1f13af665c (diff)
downloadtdevelop-r14.1.4.tar.gz
tdevelop-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'languages/php/phpsupportpart.cpp')
-rw-r--r--languages/php/phpsupportpart.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/php/phpsupportpart.cpp b/languages/php/phpsupportpart.cpp
index cf498060..25de7864 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 {