summaryrefslogtreecommitdiffstats
path: root/src/entryupdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entryupdater.cpp')
-rw-r--r--src/entryupdater.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/entryupdater.cpp b/src/entryupdater.cpp
index 10e2297..bf7bfa2 100644
--- a/src/entryupdater.cpp
+++ b/src/entryupdater.cpp
@@ -78,7 +78,7 @@ void EntryUpdater::init() {
m_origEntryCount = m_entriesToUpdate.count();
TQString label;
if(m_entriesToUpdate.count() == 1) {
- label = i18n("Updating %1...").tqarg(m_entriesToUpdate.front()->title());
+ label = i18n("Updating %1...").arg(m_entriesToUpdate.front()->title());
} else {
label = i18n("Updating entries...");
}
@@ -96,7 +96,7 @@ void EntryUpdater::init() {
}
void EntryUpdater::slotStartNext() {
- StatusBar::self()->settqStatus(i18n("Updating <b>%1</b>...").tqarg(m_entriesToUpdate.front()->title()));
+ StatusBar::self()->setStatus(i18n("Updating <b>%1</b>...").arg(m_entriesToUpdate.front()->title()));
ProgressManager::self()->setProgress(this, m_fetchers.count() * (m_origEntryCount - m_entriesToUpdate.count()) + m_fetchIndex);
Fetch::Fetcher::Ptr f = m_fetchers[m_fetchIndex];
@@ -213,11 +213,11 @@ Tellico::EntryUpdater::UpdateResult EntryUpdater::askUser(ResultList results) {
TQHBox* hbox = new TQHBox(box);
hbox->setSpacing(10);
TQLabel* icon = new TQLabel(hbox);
- icon->setPixmap(KGlobal::iconLoader()->loadIcon(TQString::tqfromLatin1("network"), KIcon::Panel, 64));
+ icon->setPixmap(KGlobal::iconLoader()->loadIcon(TQString::fromLatin1("network"), KIcon::Panel, 64));
TQString s = i18n("<qt><b>%1</b> returned multiple results which could match <b>%2</b>, "
"the entry currently in the collection. Please select the correct match.</qt>")
- .tqarg(m_fetchers[m_fetchIndex]->source())
- .tqarg(m_entriesToUpdate.front()->field(TQString::tqfromLatin1("title")));
+ .arg(m_fetchers[m_fetchIndex]->source())
+ .arg(m_entriesToUpdate.front()->field(TQString::fromLatin1("title")));
GUI::RichTextLabel* l = new GUI::RichTextLabel(s, hbox);
hbox->setStretchFactor(l, 100);
@@ -264,7 +264,7 @@ void EntryUpdater::mergeCurrent(Data::EntryPtr entry_, bool overWrite_) {
}
void EntryUpdater::slotCleanup() {
- StatusBar::self()->cleartqStatus();
+ StatusBar::self()->clearStatus();
ProgressManager::self()->setDone(this);
Kernel::self()->endCommandGroup();
deleteLater();