summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /knewsticker/knewstickerconfig.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r--knewsticker/knewstickerconfig.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index eb07bcbd..aec193cb 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::tqfromLatin1("folder_open")));
+ setPixmap(0, SmallIcon(TQString::fromLatin1("folder_open")));
else
- setPixmap(0, SmallIcon(TQString::tqfromLatin1("folder")));
+ setPixmap(0, SmallIcon(TQString::fromLatin1("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").tqarg(i);
+ name = i18n("Unknown %1").arg(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::tqfromLatin1("news_subscribe"));
- TQPixmap modifyIcon = SmallIcon(TQString::tqfromLatin1("edit"));
- TQPixmap removeIcon = SmallIcon(TQString::tqfromLatin1("news_unsubscribe"));
- TQPixmap logoIcon = SmallIcon(TQString::tqfromLatin1("knewsticker"));
+ 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"));
menu->insertTitle(logoIcon, i18n("Edit News Source"));
menu->insertItem(addIcon, i18n("&Add News Source"), 0);
if (item) {
- menu->insertItem(modifyIcon, i18n("&Modify '%1'").tqarg(item->text(0)), 1);
+ menu->insertItem(modifyIcon, i18n("&Modify '%1'").arg(item->text(0)), 1);
if (m_child->lvNewsSources->selectedItems().count() == 1) {
- menu->insertItem(removeIcon, i18n("&Remove '%1'").tqarg(item->text(0)), 2);
+ menu->insertItem(removeIcon, i18n("&Remove '%1'").arg(item->text(0)), 2);
} else {
menu->insertItem(removeIcon, i18n("&Remove News Sources"), 2);
}