summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.cpp
diff options
context:
space:
mode:
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 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);
}