From 522c7294f06d294c77bc1ea7d0dec4b371c43373 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:35:00 -0600 Subject: Remove additional unneeded tq method conversions --- src/bnpview.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/bnpview.cpp') diff --git a/src/bnpview.cpp b/src/bnpview.cpp index 50e7811..c20369d 100644 --- a/src/bnpview.cpp +++ b/src/bnpview.cpp @@ -1354,7 +1354,7 @@ void BNPView::notesStateChanged() if (basket->countFounds() != basket->count()) showns = i18n("%n match", "%n matches", basket->countFounds()); setSelectionStatus( - i18n("e.g. '18 notes, 10 matches, 5 selected'", "%1, %2, %3").tqarg(count, showns, selecteds) ); + i18n("e.g. '18 notes, 10 matches, 5 selected'", "%1, %2, %3").arg(count, showns, selecteds) ); } // If we added a note that match the global filter, update the count number in the tree: @@ -1544,8 +1544,8 @@ TQPopupMenu* BNPView::popupMenu(const TQString &menuName) "

As last ressort, if you are sure the application is correctly installed " "but you had a preview version of it, try to remove the " "file %5basketui.rc

") - .tqarg(kapp->aboutData()->programName(), kapp->aboutData()->programName(), - stdDirs.saveLocation("data", "basket/")).tqarg(stdDirs.saveLocation("data", "basket/"), stdDirs.saveLocation("data", "basket/")), + .arg(kapp->aboutData()->programName(), kapp->aboutData()->programName(), + stdDirs.saveLocation("data", "basket/")).arg(stdDirs.saveLocation("data", "basket/"), stdDirs.saveLocation("data", "basket/")), i18n("Ressource not Found"), KMessageBox::AllowLink ); } if(!isPart()) @@ -1701,13 +1701,13 @@ void BNPView::delBasket() KMessageBox::createKMessageBox( dialog, TQMessageBox::Information, i18n("Do you really want to remove the basket %1 and its contents?") - .tqarg(Tools::textToHTMLWithoutP(basket->basketName())), + .arg(Tools::textToHTMLWithoutP(basket->basketName())), basketsList, /*ask=*/"", /*checkboxReturn=*/0, /*options=*/KMessageBox::Notify/*, const TQString &details=TQString()*/); #endif int really = KMessageBox::questionYesNo( this, i18n("Do you really want to remove the basket %1 and its contents?") - .tqarg(Tools::textToHTMLWithoutP(basket->basketName())), + .arg(Tools::textToHTMLWithoutP(basket->basketName())), i18n("Remove Basket") #if KDE_IS_VERSION( 3, 2, 90 ) // KDE 3.3.x , KGuiItem(i18n("&Remove Basket"), "editdelete"), KStdGuiItem::cancel()); @@ -1721,8 +1721,8 @@ void BNPView::delBasket() TQStringList basketsList = listViewItemForBasket(basket)->childNamesTree(); if (basketsList.count() > 0) { int deleteChilds = KMessageBox::questionYesNoList( this, - i18n("%1 have the following tqchildren baskets.
Do you want to remove them too?
") - .tqarg(Tools::textToHTMLWithoutP(basket->basketName())), + i18n("%1 have the following children baskets.
Do you want to remove them too?
") + .arg(Tools::textToHTMLWithoutP(basket->basketName())), basketsList, i18n("Remove Children Baskets") #if KDE_IS_VERSION( 3, 2, 90 ) // KDE 3.3.x @@ -1808,7 +1808,7 @@ void BNPView::saveAsArchive() int result = KMessageBox::questionYesNoCancel( this, "" + i18n("The file %1 already exists. Do you really want to override it?") - .tqarg(KURL(destination).fileName()), + .arg(KURL(destination).fileName()), i18n("Override File?"), KGuiItem(i18n("&Override"), "filesave") ); @@ -1955,7 +1955,7 @@ void BNPView::showPassiveDroppedDelayed() TQPixmap contentsPixmap = NoteDrag::feedbackPixmap(m_passiveDroppedSelection); TQMimeSourceFactory::defaultFactory()->setPixmap("_passivepopup_image_", contentsPixmap); m_passivePopup->setView( - title.tqarg(Tools::textToHTMLWithoutP(currentBasket()->basketName())), + title.arg(Tools::textToHTMLWithoutP(currentBasket()->basketName())), (contentsPixmap.isNull() ? "" : ""), kapp->iconLoader()->loadIcon(currentBasket()->icon(), KIcon::NoGroup, 16, KIcon::DefaultState, 0L, true)); m_passivePopup->show(); @@ -1967,8 +1967,8 @@ void BNPView::showPassiveImpossible(const TQString &message) m_passivePopup = new KPassivePopup(Settings::useSystray() ? (TQWidget*)Global::systemTray : (TQWidget*)this); m_passivePopup->setView( TQString("%1") - .tqarg(i18n("Basket %1 is locked")) - .tqarg(Tools::textToHTMLWithoutP(currentBasket()->basketName())), + .arg(i18n("Basket %1 is locked")) + .arg(Tools::textToHTMLWithoutP(currentBasket()->basketName())), message, kapp->iconLoader()->loadIcon(currentBasket()->icon(), KIcon::NoGroup, 16, KIcon::DefaultState, 0L, true)); m_passivePopup->show(); @@ -1992,7 +1992,7 @@ void BNPView::showPassiveContent(bool forceShow/* = false*/) m_passivePopup->setView( "" + kapp->makeStdCaption( currentBasket()->isLocked() ? TQString("%1 %2") - .tqarg(Tools::textToHTMLWithoutP(currentBasket()->basketName()), i18n("(Locked)")) + .arg(Tools::textToHTMLWithoutP(currentBasket()->basketName()), i18n("(Locked)")) : Tools::textToHTMLWithoutP(currentBasket()->basketName()) ), message, kapp->iconLoader()->loadIcon(currentBasket()->icon(), KIcon::NoGroup, 16, KIcon::DefaultState, 0L, true)); -- cgit v1.2.1