diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:34:15 -0600 | 
| commit | 031454e56009d576589c28757f6c6fcf4884095e (patch) | |
| tree | ad4c9959d05a814c9090e8fe63ba27057903271b /src/entryupdater.cpp | |
| parent | 54011e0e1af8cd96162160ecf5d361a59a2c733e (diff) | |
| download | tellico-031454e56009d576589c28757f6c6fcf4884095e.tar.gz tellico-031454e56009d576589c28757f6c6fcf4884095e.zip | |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/entryupdater.cpp')
| -rw-r--r-- | src/entryupdater.cpp | 12 | 
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(); | 
