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:04:11 +0900 |
| commit | 355597852b2532cf7fa2fceb25e46ae2bc08ef70 (patch) | |
| tree | acaca2f7a2cee510d7cfddf066d1b1a5c507d010 /src/kuarantine.cpp | |
| parent | 321205fac0871f42bbe73b25f4a445320079c6f1 (diff) | |
| download | klamav-355597852b2532cf7fa2fceb25e46ae2bc08ef70.tar.gz klamav-355597852b2532cf7fa2fceb25e46ae2bc08ef70.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 a197b5f..fba9219 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); |
