diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:34 -0600 |
commit | 83677e35509b4dafac63b76995652bdf3b49f209 (patch) | |
tree | 591f1dc22278addb439726c42896376b17bb42bd /knewsticker/knewstickerconfig.cpp | |
parent | 808e453c56036211f57482ed847d54aca01bba68 (diff) | |
download | tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r-- | knewsticker/knewstickerconfig.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp index aec193cb..eb07bcbd 100644 --- a/knewsticker/knewstickerconfig.cpp +++ b/knewsticker/knewstickerconfig.cpp @@ -42,9 +42,9 @@ CategoryItem::CategoryItem(TQListView *parent, const TQString &text) void CategoryItem::setOpen(bool open) { if (open) - setPixmap(0, SmallIcon(TQString::fromLatin1("folder_open"))); + setPixmap(0, SmallIcon(TQString::tqfromLatin1("folder_open"))); else - setPixmap(0, SmallIcon(TQString::fromLatin1("folder"))); + setPixmap(0, SmallIcon(TQString::tqfromLatin1("folder"))); TQListViewItem::setOpen(open); } @@ -251,7 +251,7 @@ bool KNewsTickerConfig::eventFilter(TQObject *o, TQEvent *e) } int i = 0; while (validName == false) { - name = i18n("Unknown %1").arg(i); + name = i18n("Unknown %1").tqarg(i); for (TQListViewItemIterator it(m_child->lvNewsSources); it.current(); it++) { if (it.current()->text(0) == name) { i++; @@ -356,17 +356,17 @@ void KNewsTickerConfig::slotNewsSourceContextMenu(KListView *, TQListViewItem *i KPopupMenu *menu = new KPopupMenu(); - TQPixmap addIcon = SmallIcon(TQString::fromLatin1("news_subscribe")); - TQPixmap modifyIcon = SmallIcon(TQString::fromLatin1("edit")); - TQPixmap removeIcon = SmallIcon(TQString::fromLatin1("news_unsubscribe")); - TQPixmap logoIcon = SmallIcon(TQString::fromLatin1("knewsticker")); + TQPixmap addIcon = SmallIcon(TQString::tqfromLatin1("news_subscribe")); + TQPixmap modifyIcon = SmallIcon(TQString::tqfromLatin1("edit")); + TQPixmap removeIcon = SmallIcon(TQString::tqfromLatin1("news_unsubscribe")); + TQPixmap logoIcon = SmallIcon(TQString::tqfromLatin1("knewsticker")); menu->insertTitle(logoIcon, i18n("Edit News Source")); menu->insertItem(addIcon, i18n("&Add News Source"), 0); if (item) { - menu->insertItem(modifyIcon, i18n("&Modify '%1'").arg(item->text(0)), 1); + menu->insertItem(modifyIcon, i18n("&Modify '%1'").tqarg(item->text(0)), 1); if (m_child->lvNewsSources->selectedItems().count() == 1) { - menu->insertItem(removeIcon, i18n("&Remove '%1'").arg(item->text(0)), 2); + menu->insertItem(removeIcon, i18n("&Remove '%1'").tqarg(item->text(0)), 2); } else { menu->insertItem(removeIcon, i18n("&Remove News Sources"), 2); } |