summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/kbabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/kbabel.cpp')
-rw-r--r--kbabel/kbabel/kbabel.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kbabel/kbabel/kbabel.cpp b/kbabel/kbabel/kbabel.cpp
index c12a8e41..efdde668 100644
--- a/kbabel/kbabel/kbabel.cpp
+++ b/kbabel/kbabel/kbabel.cpp
@@ -129,7 +129,7 @@ KBabelMW::KBabelMW(TQString projectFile)
if ( _project == NULL ) // FIXME should not happen anymore
{
- KMessageBox::error( this, i18n("Cannot open project file\n%1").tqarg(projectFile)
+ KMessageBox::error( this, i18n("Cannot open project file\n%1").arg(projectFile)
, i18n("Project File Error"));
_project = ProjectManager::open(KBabel::ProjectManager::defaultProjectName());
}
@@ -147,7 +147,7 @@ KBabelMW::KBabelMW(KBCatalog* catalog, TQString projectFile)
if ( _project == NULL )
{
- KMessageBox::error( this, i18n("Cannot open project file\n%1").tqarg(projectFile)
+ KMessageBox::error( this, i18n("Cannot open project file\n%1").arg(projectFile)
, i18n("Project File Error"));
_project = ProjectManager::open(KBabel::ProjectManager::defaultProjectName());
}
@@ -333,7 +333,7 @@ void KBabelMW::init(KBCatalog* catalog)
"The minimum requirement is to fill out the Identity page.\n"
"Also check the encoding on the Save page, which is currently "
"set to %1. You may want to change this setting "
- "according to the settings of your language team.").tqarg(encodingStr));
+ "according to the settings of your language team.").arg(encodingStr));
TQTimer::singleShot(1,TQT_TQOBJECT(this),TQT_SLOT(projectConfigure()));
}
@@ -732,7 +732,7 @@ void KBabelMW::setupStatusBar()
statusBar()->insertItem(i18n("RW"),ID_STATUS_READONLY);
- statusBar()->insertItem(i18n("Line: %1 Col: %2").tqarg(1).tqarg(1)
+ statusBar()->insertItem(i18n("Line: %1 Col: %2").arg(1).arg(1)
,ID_STATUS_CURSOR);
TQHBox* progressBox = new TQHBox(statusBar(),"progressBox");
@@ -1361,23 +1361,23 @@ void KBabelMW::faultyDisplayed(bool flag)
void KBabelMW::displayedEntryChanged(const KBabel::DocPosition& pos)
{
- statusBar()->changeItem(i18n("Current: %1").tqarg(pos.item+1),ID_STATUS_CURRENT);
+ statusBar()->changeItem(i18n("Current: %1").arg(pos.item+1),ID_STATUS_CURRENT);
_currentIndex = pos.item;
}
void KBabelMW::setNumberOfTotal(uint number)
{
- statusBar()->changeItem(i18n("Total: %1").tqarg(number),ID_STATUS_TOTAL);
+ statusBar()->changeItem(i18n("Total: %1").arg(number),ID_STATUS_TOTAL);
}
void KBabelMW::setNumberOfFuzzies(uint number)
{
- statusBar()->changeItem(i18n("Fuzzy: %1").tqarg(number),ID_STATUS_FUZZY);
+ statusBar()->changeItem(i18n("Fuzzy: %1").arg(number),ID_STATUS_FUZZY);
}
void KBabelMW::setNumberOfUntranslated(uint number)
{
- statusBar()->changeItem(i18n("Untranslated: %1").tqarg(number),ID_STATUS_UNTRANS);
+ statusBar()->changeItem(i18n("Untranslated: %1").arg(number),ID_STATUS_UNTRANS);
}
void KBabelMW::hasFuzzyAfterwards(bool flag)
@@ -1566,7 +1566,7 @@ void KBabelMW::gettextHelp()
if(!error.isEmpty())
{
KMessageBox::sorry(this,i18n("An error occurred while "
- "trying to open the gettext info page:\n%1").tqarg(error));
+ "trying to open the gettext info page:\n%1").arg(error));
}
}
@@ -1602,7 +1602,7 @@ void KBabelMW::buildDictMenus()
void KBabelMW::updateCursorPosition(int line, int col)
{
- statusBar()->changeItem(i18n("Line: %1 Col: %2").tqarg(line+1).tqarg(col+1)
+ statusBar()->changeItem(i18n("Line: %1 Col: %2").arg(line+1).arg(col+1)
,ID_STATUS_CURSOR);
}
@@ -1751,7 +1751,7 @@ void KBabelMW::projectOpen(const TQString& file)
}
else
{
- KMessageBox::error( this, i18n("Cannot open project file\n%1").tqarg(file)
+ KMessageBox::error( this, i18n("Cannot open project file\n%1").arg(file)
, i18n("Project File Error"));
_project = ProjectManager::open(KBabel::ProjectManager::defaultProjectName());
m_view->useProject(_project);