Rename additional global TQt functions

pull/1/head
Timothy Pearson 12 years ago
parent bd4c97bcd8
commit 98c21e42d4

@ -461,7 +461,7 @@ Version 2.3 (Release Date: 03.06.2002)
Made OK default button in find and replace dialog Made OK default button in find and replace dialog
Made Start default button in undo dialog Made Start default button in undo dialog
Fixed crash when pressing return after startup 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 Added advanced title bar
Fixed bug that config wasn't saved sometimes Fixed bug that config wasn't saved sometimes
Removed some asserts Removed some asserts

@ -493,7 +493,7 @@ void BatchRenamer::findNumberAppendix( TQString & text, int pos, int* start, int
if( text[pos] == '{' && (end = text.find( "}", pos )) > -1) 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); appendix = text.mid( pos + 1, end - pos - 1);
text.remove( pos, end - pos + 1 ); text.remove( pos, end - pos + 1 );
@ -848,7 +848,7 @@ void BatchRenamer::parseSubdirs( data* f )
url.addPath( unEscape( d ) ); url.addPath( unEscape( d ) );
if( !NetAccess::exists( url ) && !NetAccess::mkdir( url ) ) if( !NetAccess::exists( url ) && !NetAccess::mkdir( url ) )
// TODO: GUI bug report // 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.url.addPath( d );
f->dst.directory.append( d + "/" ); f->dst.directory.append( d + "/" );

@ -41,7 +41,7 @@ DSDirSelectDialog::DSDirSelectDialog( TQWidget* parent )
if( layout() ) if( layout() )
layout()->add( vbox ); layout()->add( vbox );
else 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 ); checkDir = new TQCheckBox( i18n("Add directory names &with filenames"), vbox );
check = new TQCheckBox( i18n("Add subdirectories &recursively"), vbox ); check = new TQCheckBox( i18n("Add subdirectories &recursively"), vbox );

@ -724,7 +724,7 @@ void KMyListBox::positionLabel()
void KMyListBox::paintEvent( TQPaintEvent* e ) void KMyListBox::paintEvent( TQPaintEvent* e )
{ {
// qDebug("Updates=%i", (int)isUpdatesEnabled() ); // tqDebug("Updates=%i", (int)isUpdatesEnabled() );
//if( isUpdatesEnabled() ) //if( isUpdatesEnabled() )
KListBox::paintEvent( e ); KListBox::paintEvent( e );
} }

@ -1174,7 +1174,7 @@ bool KRenameImpl::setupBatchRenamer( BatchRenamer* b, bool preview )
while( (d += url.section( "/", i, i, TQString::SectionSkipEmpty )) && ! d.isEmpty() ) { // asignment here! while( (d += url.section( "/", i, i, TQString::SectionSkipEmpty )) && ! d.isEmpty() ) { // asignment here!
if( !KIO::NetAccess::exists( d ) && !KIO::NetAccess::mkdir( d ) ) if( !KIO::NetAccess::exists( d ) && !KIO::NetAccess::mkdir( d ) )
{ {
qDebug( "Can't create %s", d.latin1() ); tqDebug( "Can't create %s", d.latin1() );
break; break;
} }
d.append( "/" ); d.append( "/" );

@ -137,7 +137,7 @@ void ProfileManager::writeXML( const TQString & name )
if( !file.open( IO_WriteOnly ) ) if( !file.open( IO_WriteOnly ) )
{ {
qDebug("Cannot write to: %s", path.latin1() ); tqDebug("Cannot write to: %s", path.latin1() );
return; return;
} }
@ -211,7 +211,7 @@ bool ProfileManager::loadXML( const TQString & path )
if( !file.open( IO_ReadOnly ) ) if( !file.open( IO_ReadOnly ) )
{ {
qDebug("Cannot read from: %s", path.latin1() ); tqDebug("Cannot read from: %s", path.latin1() );
return false; return false;
} }

Loading…
Cancel
Save