From 91ef45e89ef1bb0994d49220556e514d608a664c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:39:40 -0600 Subject: Remove additional unneeded tq method conversions (cherry picked from commit 1fc61c6e1d0a2b34f7b1d0de181bb4e6f954a8c2) --- src/itemdocumentdata.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/itemdocumentdata.cpp') diff --git a/src/itemdocumentdata.cpp b/src/itemdocumentdata.cpp index f9085b8..61271f0 100644 --- a/src/itemdocumentdata.cpp +++ b/src/itemdocumentdata.cpp @@ -110,7 +110,7 @@ bool ItemDocumentData::loadData( const KURL &url ) TQFile file(target); if ( !file.open( IO_ReadOnly ) ) { - KMessageBox::sorry( 0l, i18n("Could not open %1 for reading").tqarg(target) ); + KMessageBox::sorry( 0l, i18n("Could not open %1 for reading").arg(target) ); return false; } @@ -132,7 +132,7 @@ bool ItemDocumentData::fromXML( const TQString &xml ) TQString errorMessage; if ( !doc.setContent( xml, &errorMessage ) ) { - KMessageBox::sorry( 0l, i18n("Couldn't parse xml:\n%1").tqarg(errorMessage) ); + KMessageBox::sorry( 0l, i18n("Couldn't parse xml:\n%1").arg(errorMessage) ); return false; } @@ -180,7 +180,7 @@ bool ItemDocumentData::saveData( const KURL &url ) TQFile file( url.path() ); if ( !file.open(IO_WriteOnly) ) { - KMessageBox::sorry( 0l, i18n("Could not open '%1' for writing. Check that you have write permissions").tqarg(url.path()), i18n("Saving File") ); + KMessageBox::sorry( 0l, i18n("Could not open '%1' for writing. Check that you have write permissions").arg(url.path()), i18n("Saving File") ); return false; } @@ -1001,7 +1001,7 @@ void ItemDocumentData::mergeWithDocument( ItemDocument *itemDocument, bool selec if (item) { //HACK We move the item now before restoreFromItemData is called later, in case it is to be parented - //(as we don't want to move tqchildren)... + //(as we don't want to move children)... item->move( it.data().x, it.data().y ); } } -- cgit v1.2.3