diff options
Diffstat (limited to 'bibletime/frontend/cswordsetupdialog.cpp')
-rw-r--r-- | bibletime/frontend/cswordsetupdialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bibletime/frontend/cswordsetupdialog.cpp b/bibletime/frontend/cswordsetupdialog.cpp index f2ffc7d..7f188cd 100644 --- a/bibletime/frontend/cswordsetupdialog.cpp +++ b/bibletime/frontend/cswordsetupdialog.cpp @@ -90,7 +90,7 @@ namespace BookshelfManager { TQString swordConfPath = BTInstallMgr::Tool::LocalConfig::swordConfigFilename(); - TQLabel* confPathLabel = new TQLabel(i18n("Your bookshelf configuration file is <b>%1</b>").tqarg(swordConfPath), page); + TQLabel* confPathLabel = new TQLabel(i18n("Your bookshelf configuration file is <b>%1</b>").arg(swordConfPath), page); tqlayout->addMultiCellWidget(confPathLabel, 1,1,0,3); m_swordPathListBox = new TQListView(page); @@ -149,7 +149,7 @@ the module remote installation feature!</b>") ); tqlayout->addMultiCellWidget(installLabel, 0,0,0,2); - TQLabel* sourceHeadingLabel = new TQLabel(TQString("<b>%1</b>").tqarg(i18n("Select library")), m_installSourcePage); + TQLabel* sourceHeadingLabel = new TQLabel(TQString("<b>%1</b>").arg(i18n("Select library")), m_installSourcePage); tqlayout->addMultiCellWidget(sourceHeadingLabel, 1,1,0,1); m_sourceCombo = new TQComboBox(m_installSourcePage); @@ -168,7 +168,7 @@ the module remote installation feature!</b>") m_sourceLabel = new TQLabel(m_installSourcePage); tqlayout->addMultiCellWidget(m_sourceLabel, 3,3,0,1); - TQLabel* targetHeadingLabel = new TQLabel(TQString("<b>%1</b>").tqarg(i18n("Select bookshelf path")), m_installSourcePage); + TQLabel* targetHeadingLabel = new TQLabel(TQString("<b>%1</b>").arg(i18n("Select bookshelf path")), m_installSourcePage); tqlayout->addMultiCellWidget(targetHeadingLabel, 4,4,0,1); m_targetCombo = new TQComboBox(m_installSourcePage); @@ -220,7 +220,7 @@ the module remote installation feature!</b>") ); tqlayout->addMultiCellWidget(mainLabel, 0, 0, 0, 3); - TQLabel* headingLabel = new TQLabel(TQString("<b>%1</b>").tqarg(i18n("Select works to be uninstalled")), page); + TQLabel* headingLabel = new TQLabel(TQString("<b>%1</b>").arg(i18n("Select works to be uninstalled")), page); tqlayout->addMultiCellWidget(headingLabel, 1, 1, 0, 3); m_removeModuleListView = new CSwordSetupModuleListView(page, false); @@ -379,10 +379,10 @@ the module remote installation feature!</b>") sword::InstallSource is = BTInstallMgr::Tool::RemoteConfig::source(&mgr, source) ; if (BTInstallMgr::Tool::RemoteConfig::isRemoteSource(&is)) { - url = TQString("ftp://%1%2").tqarg(is.source.c_str()).tqarg(is.directory.c_str()); + url = TQString("ftp://%1%2").arg(is.source.c_str()).arg(is.directory.c_str()); } else { - url = TQString("%1").tqarg(is.directory.c_str()); + url = TQString("%1").arg(is.directory.c_str()); } m_sourceLabel->setText( url ); @@ -405,7 +405,7 @@ the module remote installation feature!</b>") } const TQString message = i18n("You selected the following work(s): %1.\n\n" - "Do you really want to remove them from your system?").tqarg(moduleList.join(", ")); + "Do you really want to remove them from your system?").arg(moduleList.join(", ")); if ((KMessageBox::warningYesNo(0, message, i18n("Warning")) == KMessageBox::Yes)) { //Yes was pressed. sword::InstallMgr installMgr; @@ -696,7 +696,7 @@ the module remote installation feature!</b>") } const TQString message = i18n("You selected the following works: %1.\n\n\ - Do you really want to install them on your system?").tqarg(moduleList.join(", ")); + Do you really want to install them on your system?").arg(moduleList.join(", ")); if ((KMessageBox::warningYesNo(0, message, i18n("Warning")) == KMessageBox::Yes)) { //Yes was pressed. BTInstallMgr iMgr; @@ -795,7 +795,7 @@ the module remote installation feature!</b>") void CSwordSetupDialog::installCompleted( const int total, const int /* file */) { if (m_progressDialog) { m_progressDialog->progressBar()->setProgress(total+100*m_installedModuleCount); - m_progressDialog->setLabel( i18n("[%1]: %2% complete").tqarg(m_installingModule).tqarg(total) ); + m_progressDialog->setLabel( i18n("[%1]: %2% complete").arg(m_installingModule).arg(total) ); } KApplication::kApplication()->processEvents(); } |