summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/kmfwidgets/kmftemplatechooser.cpp')
-rw-r--r--kmyfirewall/kmfwidgets/kmftemplatechooser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp
index d82ba5c..c1e4c27 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.").arg( type ) );
+ KMessageBox::information( this, i18n("No templates (%1) could be found; please check your installation.").tqarg( 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.").arg( file ) );
+ KMessageBox::information( this, i18n("Template %1 could not be opened.").tqarg( file ) );
return;
}
TQDomDocument doc;
if ( !doc.setContent( &f ) ) {
f.close();
- KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").arg( file ) );
+ KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").tqarg( 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.").arg( file ) );
+ KMessageBox::information( this, i18n("Template %1 does not contain the \"abstract\" tag.").tqarg( file ) );
return;
}
TQDomNode node = list.item( 0 );