diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /knewsticker/knewstickerconfig.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'knewsticker/knewstickerconfig.cpp')
-rw-r--r-- | knewsticker/knewstickerconfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp index eb07bcbd..261ade52 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); } @@ -356,10 +356,10 @@ 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); |