diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 11:48:11 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-29 19:06:41 +0900 |
| commit | f8e06865b749bd589201376cd26f82615de517a0 (patch) | |
| tree | 19aa19a732b8334b35442dfd11298726521f58cf /src/kuarantine.cpp | |
| parent | a6263d7d3b2d5021f3fb1ca4b8f6479c2c8eeae0 (diff) | |
| download | klamav-f8e06865.tar.gz klamav-f8e06865.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 355597852b2532cf7fa2fceb25e46ae2bc08ef70)
Diffstat (limited to 'src/kuarantine.cpp')
| -rw-r--r-- | src/kuarantine.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kuarantine.cpp b/src/kuarantine.cpp index a436ba4..3e03ec1 100644 --- a/src/kuarantine.cpp +++ b/src/kuarantine.cpp @@ -42,7 +42,7 @@ Kuarantine::Kuarantine(TQWidget *parent, const char *name) }else{ for (TQStringList::Iterator it = lastQuarLocations.begin(); it == lastQuarLocations.begin(); it++ ) quarloc = *it; - if (!(TDEIO::NetAccess::exists(quarloc,TRUE,NULL))){ + if (!(TDEIO::NetAccess::exists(quarloc,true,NULL))){ KMessageBox::information (this,i18n( "Your current quarantine location ('%1') no longer exists. I'm going to attempt to create a new one.").arg(quarloc)); createQuarDir(); } @@ -254,7 +254,7 @@ void Kuarantine::refresh() config->setGroup("Kuarantine"); lastQuarItems = config->readListEntry(TQString("Items %1").arg(quarloc)); - if (!(TDEIO::NetAccess::exists(quarloc,TRUE,NULL))){ + if (!(TDEIO::NetAccess::exists(quarloc,true,NULL))){ KMessageBox::information (this,i18n("Your current quarantine location ('%1') no longer exists. I'm going to attempt to create a new one.").arg(quarloc)); createQuarDir(); }else{ @@ -266,14 +266,14 @@ void Kuarantine::refresh() TQString itemname = getVirusName(*it); TQString when = getWhen(*it); - TQStringList tokens = TQStringList::split ( "/", fname, FALSE ); + TQStringList tokens = TQStringList::split ( "/", fname, false ); TQString qname = tokens.last(); qname.prepend("/"); qname.prepend(quarloc); qname.append(":"+when); //kdDebug() << qname << endl; - if (TDEIO::NetAccess::exists(qname,TRUE,NULL)){ + if (TDEIO::NetAccess::exists(qname,true,NULL)){ //currentbox->insertItem(*it); new TQListViewItem( currentbox, fname, itemname,when); }else{ @@ -345,7 +345,7 @@ void Kuarantine::slotSearch() TQString fname = tItem->text(0); - TQStringList tokens = TQStringList::split ( "/", fname, FALSE ); + TQStringList tokens = TQStringList::split ( "/", fname, false ); TQString qname = tokens.last(); qname.prepend("/"); qname.prepend(quarloc); @@ -425,12 +425,12 @@ void Kuarantine::slotCancel() - //TQStringList tokens = TQStringList::split ( ":", ( it.current() )->text(), FALSE ); + //TQStringList tokens = TQStringList::split ( ":", ( it.current() )->text(), false ); TQString fname = ( it.current() )->text(0); TQString itemname = ( it.current() )->text(1); TQString when = ( it.current() )->text(2); - TQStringList tokens = TQStringList::split ( "/", fname, FALSE ); + TQStringList tokens = TQStringList::split ( "/", fname, false ); TQString qname = tokens.last(); qname.prepend("/"); qname.prepend(QuarLocation); |
