summaryrefslogtreecommitdiffstats
path: root/knewsticker/newsscroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker/newsscroller.cpp')
-rw-r--r--knewsticker/newsscroller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knewsticker/newsscroller.cpp b/knewsticker/newsscroller.cpp
index 6b1be85f..df824c4a 100644
--- a/knewsticker/newsscroller.cpp
+++ b/knewsticker/newsscroller.cpp
@@ -184,7 +184,7 @@ void NewsScroller::dropEvent(TQDropEvent* event)
newSourceUrl = newSourceUrl.stripWhiteSpace();
if (!isHeadline(newSourceUrl) && KMessageBox::questionYesNo(this, i18n("<p>Do you really want to add '%1' to"
" the list of news sources?</p>")
- .tqarg(newSourceUrl), TQString(), i18n("Add"), KStdGuiItem::cancel()) == KMessageBox::Yes) {
+ .arg(newSourceUrl), TQString(), i18n("Add"), KStdGuiItem::cancel()) == KMessageBox::Yes) {
KConfig cfg(TQString::fromLatin1("knewsticker_panelappletrc"), false, false);
ConfigAccess configFrontend(&cfg);
TQStringList newsSources = configFrontend.newsSources();
@@ -192,8 +192,8 @@ void NewsScroller::dropEvent(TQDropEvent* event)
TQString name = i18n("Unknown");
if (newsSources.contains(name))
for (unsigned int i = 0; ; i++)
- if (!newsSources.contains(i18n("Unknown %1").tqarg(i))) {
- name = i18n("Unknown %1").tqarg(i);
+ if (!newsSources.contains(i18n("Unknown %1").arg(i))) {
+ name = i18n("Unknown %1").arg(i);
break;
}