From 98c21e42d41589cae17df5898478f44795f0e42e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:21:22 -0600 Subject: [PATCH] Rename additional global TQt functions --- ChangeLog | 2 +- krename/batchrenamer.cpp | 4 ++-- krename/dsdirselectdialog.cpp | 2 +- krename/kmylistbox.cpp | 2 +- krename/krenameimpl.cpp | 2 +- krename/profiledlg.cpp | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0de6976..1496541 100644 --- a/ChangeLog +++ b/ChangeLog @@ -461,7 +461,7 @@ Version 2.3 (Release Date: 03.06.2002) Made OK default button in find and replace dialog Made Start default button in undo dialog Fixed crash when pressing return after startup - Using qDebug instead of cout in some places + Using tqDebug instead of cout in some places Added advanced title bar Fixed bug that config wasn't saved sometimes Removed some asserts diff --git a/krename/batchrenamer.cpp b/krename/batchrenamer.cpp index bbf7322..707a8ac 100644 --- a/krename/batchrenamer.cpp +++ b/krename/batchrenamer.cpp @@ -493,7 +493,7 @@ void BatchRenamer::findNumberAppendix( TQString & text, int pos, int* start, int if( text[pos] == '{' && (end = text.find( "}", pos )) > -1) { - //qDebug("Found an appendix:" + appendix ); + //tqDebug("Found an appendix:" + appendix ); appendix = text.mid( pos + 1, end - pos - 1); text.remove( pos, end - pos + 1 ); @@ -848,7 +848,7 @@ void BatchRenamer::parseSubdirs( data* f ) url.addPath( unEscape( d ) ); if( !NetAccess::exists( url ) && !NetAccess::mkdir( url ) ) // TODO: GUI bug report - qDebug("Can't create %s", url.prettyURL().latin1() ); + tqDebug("Can't create %s", url.prettyURL().latin1() ); f->dst.url.addPath( d ); f->dst.directory.append( d + "/" ); diff --git a/krename/dsdirselectdialog.cpp b/krename/dsdirselectdialog.cpp index 70fc81f..e28cbac 100644 --- a/krename/dsdirselectdialog.cpp +++ b/krename/dsdirselectdialog.cpp @@ -41,7 +41,7 @@ DSDirSelectDialog::DSDirSelectDialog( TQWidget* parent ) if( layout() ) layout()->add( vbox ); else - qDebug("KFileDialog does not have a layout!!!"); + tqDebug("KFileDialog does not have a layout!!!"); checkDir = new TQCheckBox( i18n("Add directory names &with filenames"), vbox ); check = new TQCheckBox( i18n("Add subdirectories &recursively"), vbox ); diff --git a/krename/kmylistbox.cpp b/krename/kmylistbox.cpp index 134b899..a9dccce 100644 --- a/krename/kmylistbox.cpp +++ b/krename/kmylistbox.cpp @@ -724,7 +724,7 @@ void KMyListBox::positionLabel() void KMyListBox::paintEvent( TQPaintEvent* e ) { - // qDebug("Updates=%i", (int)isUpdatesEnabled() ); + // tqDebug("Updates=%i", (int)isUpdatesEnabled() ); //if( isUpdatesEnabled() ) KListBox::paintEvent( e ); } diff --git a/krename/krenameimpl.cpp b/krename/krenameimpl.cpp index 457b6c6..b03989a 100644 --- a/krename/krenameimpl.cpp +++ b/krename/krenameimpl.cpp @@ -1174,7 +1174,7 @@ bool KRenameImpl::setupBatchRenamer( BatchRenamer* b, bool preview ) while( (d += url.section( "/", i, i, TQString::SectionSkipEmpty )) && ! d.isEmpty() ) { // asignment here! if( !KIO::NetAccess::exists( d ) && !KIO::NetAccess::mkdir( d ) ) { - qDebug( "Can't create %s", d.latin1() ); + tqDebug( "Can't create %s", d.latin1() ); break; } d.append( "/" ); diff --git a/krename/profiledlg.cpp b/krename/profiledlg.cpp index 304f45f..17a2906 100644 --- a/krename/profiledlg.cpp +++ b/krename/profiledlg.cpp @@ -137,7 +137,7 @@ void ProfileManager::writeXML( const TQString & name ) if( !file.open( IO_WriteOnly ) ) { - qDebug("Cannot write to: %s", path.latin1() ); + tqDebug("Cannot write to: %s", path.latin1() ); return; } @@ -211,7 +211,7 @@ bool ProfileManager::loadXML( const TQString & path ) if( !file.open( IO_ReadOnly ) ) { - qDebug("Cannot read from: %s", path.latin1() ); + tqDebug("Cannot read from: %s", path.latin1() ); return false; }