summaryrefslogtreecommitdiffstats
path: root/kig/misc/lists.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:17 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kig/misc/lists.cc
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kig/misc/lists.cc')
-rw-r--r--kig/misc/lists.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/misc/lists.cc b/kig/misc/lists.cc
index 7d2bee62..a294105e 100644
--- a/kig/misc/lists.cc
+++ b/kig/misc/lists.cc
@@ -27,7 +27,7 @@
#include <klocale.h>
#include <kmessagebox.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqdom.h>
#include <tqregexp.h>
#include <algorithm>
@@ -301,13 +301,13 @@ bool MacroList::load( const TQString& f, std::vector<Macro*>& ret, const KigPart
TQFile file( f );
if ( ! file.open( IO_ReadOnly ) )
{
- KMessageBox::sorry( 0, i18n( "Could not open macro file '%1'" ).tqarg( f ) );
+ KMessageBox::sorry( 0, i18n( "Could not open macro file '%1'" ).arg( f ) );
return false;
}
TQDomDocument doc( "KigMacroFile" );
if ( !doc.setContent( &file ) )
{
- KMessageBox::sorry( 0, i18n( "Could not open macro file '%1'" ).tqarg( f ) );
+ KMessageBox::sorry( 0, i18n( "Could not open macro file '%1'" ).arg( f ) );
return false;
}
file.close();
@@ -318,7 +318,7 @@ bool MacroList::load( const TQString& f, std::vector<Macro*>& ret, const KigPart
else
{
KMessageBox::detailedSorry(
- 0, i18n( "Kig cannot open the macro file \"%1\"." ).tqarg( f ),
+ 0, i18n( "Kig cannot open the macro file \"%1\"." ).arg( f ),
i18n( "This file was created by a very old Kig version (pre-0.4). "
"Support for this format has been removed from recent Kig versions. "
"You can try to import this macro using a previous Kig version "
@@ -372,7 +372,7 @@ bool MacroList::loadNew( const TQDomElement& docelem, std::vector<Macro*>& ret,
assert( hierarchy );
// if the macro has no name, we give it a bogus name...
if ( name.isEmpty() )
- name = i18n( "Unnamed Macro #%1" ).tqarg( unnamedindex++ );
+ name = i18n( "Unnamed Macro #%1" ).arg( unnamedindex++ );
MacroConstructor* ctor =
new MacroConstructor( *hierarchy, i18n( name.latin1() ), i18n( description.latin1() ), iconfile );
delete hierarchy;