summaryrefslogtreecommitdiffstats
path: root/nsplugins/viewer/nsplugin.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 18:08:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-27 10:24:24 +0900
commit0a439ac80bdf6ffb9cac104ad3098a321ee0403c (patch)
tree737edb6e89138f645d20bab7378e1ba90df09863 /nsplugins/viewer/nsplugin.cpp
parent0ba4723b7fad260e7bfe1848d0d16329779b090f (diff)
downloadtdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.tar.gz
tdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'nsplugins/viewer/nsplugin.cpp')
-rw-r--r--nsplugins/viewer/nsplugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/nsplugins/viewer/nsplugin.cpp b/nsplugins/viewer/nsplugin.cpp
index 1aec3dd44..5a873c45d 100644
--- a/nsplugins/viewer/nsplugin.cpp
+++ b/nsplugins/viewer/nsplugin.cpp
@@ -1574,7 +1574,7 @@ void NSPluginClass::destroyInstance( NSPluginInstance* inst )
{
// mark for destruction
_trash.append( inst );
- timer(); //_timer->start( 0, TRUE );
+ timer(); //_timer->start( 0, true );
}
/****************************************************************************/
@@ -1642,7 +1642,7 @@ void NSPluginStreamBase::inform()
// stream into temporary file (use lower() in case the
// filename as an upper case X in it)
_tempFile = new KTempFile;
- _tempFile->setAutoDelete( TRUE );
+ _tempFile->setAutoDelete( true );
_fileURL = _tempFile->name();
kdDebug() << "saving into " << _fileURL << endl;
}
@@ -1949,7 +1949,7 @@ void NSPluginStream::data(TDEIO::Job * job, const TQByteArray &data)
queue( data );
if ( !pump() ) {
_job->suspend();
- _resumeTimer->start( 100, TRUE );
+ _resumeTimer->start( 100, true );
}
}
@@ -1986,7 +1986,7 @@ void NSPluginStream::resume()
_job->resume();
} else {
kdDebug(1431) << "restart timer" << endl;
- _resumeTimer->start( 100, TRUE );
+ _resumeTimer->start( 100, true );
}
}