summaryrefslogtreecommitdiffstats
path: root/src/entryupdater.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:51 -0600
commit2781e27b871150395a5a82e221684108641002b2 (patch)
tree57f4d7c01a48faef1a840fbe0de8f4ec1e5f606f /src/entryupdater.cpp
parent031454e56009d576589c28757f6c6fcf4884095e (diff)
downloadtellico-2781e27b871150395a5a82e221684108641002b2.tar.gz
tellico-2781e27b871150395a5a82e221684108641002b2.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 031454e56009d576589c28757f6c6fcf4884095e.
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 bf7bfa2..10e2297 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...").arg(m_entriesToUpdate.front()->title());
+ label = i18n("Updating %1...").tqarg(m_entriesToUpdate.front()->title());
} else {
label = i18n("Updating entries...");
}
@@ -96,7 +96,7 @@ void EntryUpdater::init() {
}
void EntryUpdater::slotStartNext() {
- StatusBar::self()->setStatus(i18n("Updating <b>%1</b>...").arg(m_entriesToUpdate.front()->title()));
+ StatusBar::self()->settqStatus(i18n("Updating <b>%1</b>...").tqarg(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::fromLatin1("network"), KIcon::Panel, 64));
+ icon->setPixmap(KGlobal::iconLoader()->loadIcon(TQString::tqfromLatin1("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>")
- .arg(m_fetchers[m_fetchIndex]->source())
- .arg(m_entriesToUpdate.front()->field(TQString::fromLatin1("title")));
+ .tqarg(m_fetchers[m_fetchIndex]->source())
+ .tqarg(m_entriesToUpdate.front()->field(TQString::tqfromLatin1("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()->clearStatus();
+ StatusBar::self()->cleartqStatus();
ProgressManager::self()->setDone(this);
Kernel::self()->endCommandGroup();
deleteLater();