diff options
Diffstat (limited to 'kmyfirewall/kmfwidgets/kmftemplatechooser.cpp')
-rw-r--r-- | kmyfirewall/kmfwidgets/kmftemplatechooser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp index c1e4c27..d82ba5c 100644 --- a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp +++ b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp @@ -110,7 +110,7 @@ void KMFTemplateChooser::parseTemplates(){ } TQStringList templates = dir.entryList( type ); if ( templates.isEmpty() ) { - KMessageBox::information( this, i18n("No templates (%1) could be found; please check your installation.").tqarg( type ) ); + KMessageBox::information( this, i18n("No templates (%1) could be found; please check your installation.").arg( type ) ); return; } for ( TQStringList::Iterator it = templates.begin(); it != templates.end(); ++it ) { @@ -123,21 +123,21 @@ void KMFTemplateChooser::parseFile( const TQString& file ) { TQFile f( file ); if ( !f.open( IO_ReadOnly ) ) { - KMessageBox::information( this, i18n("Template %1 could not be opened.").tqarg( file ) ); + KMessageBox::information( this, i18n("Template %1 could not be opened.").arg( file ) ); return; } TQDomDocument doc; if ( !doc.setContent( &f ) ) { f.close(); - KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").tqarg( file ) ); + KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").arg( file ) ); return; } TQDomElement root = doc.documentElement(); TQDomNodeList list = root.elementsByTagName ( XML::Abstract_Element ); if ( list.count() == 0 ) { - KMessageBox::information( this, i18n("Template %1 does not contain the \"abstract\" tag.").tqarg( file ) ); + KMessageBox::information( this, i18n("Template %1 does not contain the \"abstract\" tag.").arg( file ) ); return; } TQDomNode node = list.item( 0 ); |