summaryrefslogtreecommitdiffstats
path: root/src/docmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docmanager.cpp')
-rw-r--r--src/docmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/docmanager.cpp b/src/docmanager.cpp
index 7112a6e..35b1c5a 100644
--- a/src/docmanager.cpp
+++ b/src/docmanager.cpp
@@ -99,7 +99,7 @@ Document* DocManager::openURL( const KURL &url, ViewArea *viewArea )
TQFile file(url.path());
if ( file.open(IO_ReadOnly) == false )
{
- KMessageBox::sorry( 0l, i18n("Could not open '%1'").arg( url.prettyURL() ) );
+ KMessageBox::sorry( 0l, i18n("Could not open '%1'").tqarg( url.prettyURL() ) );
return 0l;
}
file.close();
@@ -166,7 +166,7 @@ TQString DocManager::untitledName( int type )
case Document::dt_circuit:
{
if ( m_countCircuit>1 )
- name = i18n("Untitled (Circuit %1)").arg(TQString::number(m_countCircuit));
+ name = i18n("Untitled (Circuit %1)").tqarg(TQString::number(m_countCircuit));
else
name = i18n("Untitled (Circuit)");
m_countCircuit++;
@@ -175,7 +175,7 @@ TQString DocManager::untitledName( int type )
case Document::dt_flowcode:
{
if ( m_countFlowCode>1 )
- name = i18n("Untitled (FlowCode %1)").arg(TQString::number(m_countFlowCode));
+ name = i18n("Untitled (FlowCode %1)").tqarg(TQString::number(m_countFlowCode));
else
name = i18n("Untitled (FlowCode)");
m_countFlowCode++;
@@ -184,7 +184,7 @@ TQString DocManager::untitledName( int type )
case Document::dt_mechanics:
{
if ( m_countMechanics>1 )
- name = i18n("Untitled (Mechanics %1)").arg(TQString::number(m_countMechanics));
+ name = i18n("Untitled (Mechanics %1)").tqarg(TQString::number(m_countMechanics));
else
name = i18n("Untitled (Mechanics)");
m_countMechanics++;
@@ -193,7 +193,7 @@ TQString DocManager::untitledName( int type )
default:
{
if ( m_countOther>1 )
- name = i18n("Untitled (%1)").arg(TQString::number(m_countOther));
+ name = i18n("Untitled (%1)").tqarg(TQString::number(m_countOther));
else
name = i18n("Untitled");
m_countOther++;
@@ -431,7 +431,7 @@ CircuitDocument *DocManager::openCircuitFile( const KURL &url, ViewArea *viewAre
if ( !document->openURL(url) )
{
- KMessageBox::sorry( 0l, i18n("Could not open Circuit file \"%1\"").arg(url.prettyURL()) );
+ KMessageBox::sorry( 0l, i18n("Could not open Circuit file \"%1\"").tqarg(url.prettyURL()) );
document->deleteLater();
return 0l;
}
@@ -448,7 +448,7 @@ FlowCodeDocument *DocManager::openFlowCodeFile( const KURL &url, ViewArea *viewA
if ( !document->openURL(url) )
{
- KMessageBox::sorry( 0l, i18n("Could not open FlowCode file \"%1\"").arg(url.prettyURL()) );
+ KMessageBox::sorry( 0l, i18n("Could not open FlowCode file \"%1\"").tqarg(url.prettyURL()) );
document->deleteLater();
return 0l;
}
@@ -465,7 +465,7 @@ MechanicsDocument *DocManager::openMechanicsFile( const KURL &url, ViewArea *vie
if ( !document->openURL(url) )
{
- KMessageBox::sorry( 0l, i18n("Could not open Mechanics file \"%1\"").arg(url.prettyURL()) );
+ KMessageBox::sorry( 0l, i18n("Could not open Mechanics file \"%1\"").tqarg(url.prettyURL()) );
document->deleteLater();
return 0l;
}
@@ -486,7 +486,7 @@ TextDocument *DocManager::openTextFile( const KURL &url, ViewArea *viewArea )
if ( !document->openURL(url) )
{
- KMessageBox::sorry( 0l, i18n("Could not open text file \"%1\"").arg(url.prettyURL()) );
+ KMessageBox::sorry( 0l, i18n("Could not open text file \"%1\"").tqarg(url.prettyURL()) );
document->deleteLater();
return 0l;
}