summaryrefslogtreecommitdiffstats
path: root/src/bnpview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:35:00 -0600
commit522c7294f06d294c77bc1ea7d0dec4b371c43373 (patch)
tree22e15f6e31eba6c17ce06d8e1b0de24ef8b8f002 /src/bnpview.cpp
parent2a411f53a04f815770074b633e026a141f6fa875 (diff)
downloadbasket-522c7294f06d294c77bc1ea7d0dec4b371c43373.tar.gz
basket-522c7294f06d294c77bc1ea7d0dec4b371c43373.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/bnpview.cpp')
-rw-r--r--src/bnpview.cpp24
1 files changed, 12 insertions, 12 deletions
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)
"<p>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</p>")
- .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("<qt>Do you really want to remove the basket <b>%1</b> and its contents?</qt>")
- .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("<qt>Do you really want to remove the basket <b>%1</b> and its contents?</qt>")
- .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("<qt><b>%1</b> have the following tqchildren baskets.<br>Do you want to remove them too?</qt>")
- .tqarg(Tools::textToHTMLWithoutP(basket->basketName())),
+ i18n("<qt><b>%1</b> have the following children baskets.<br>Do you want to remove them too?</qt>")
+ .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,
"<qt>" + i18n("The file <b>%1</b> 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() ? "" : "<img src=\"_passivepopup_image_\">"),
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("<font color=red>%1</font>")
- .tqarg(i18n("Basket <i>%1</i> is locked"))
- .tqarg(Tools::textToHTMLWithoutP(currentBasket()->basketName())),
+ .arg(i18n("Basket <i>%1</i> 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(
"<qt>" + kapp->makeStdCaption( currentBasket()->isLocked()
? TQString("%1 <font color=gray30>%2</font>")
- .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));