summaryrefslogtreecommitdiffstats
path: root/akregator/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
commitb97ee238f88e9578da228388210cd8cab5360778 (patch)
tree8bf3ab88929af70826ebe3b84434c3403dc71c7d /akregator/src
parent656055dae6f13ee65d66fabf9041b288d81710af (diff)
downloadtdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz
tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'akregator/src')
-rw-r--r--akregator/src/addfeeddialog.cpp2
-rw-r--r--akregator/src/akregator_view.cpp4
-rw-r--r--akregator/src/feeditem.cpp4
-rw-r--r--akregator/src/feedlistview.cpp4
-rw-r--r--akregator/src/folderitem.cpp2
-rw-r--r--akregator/src/searchbar.cpp2
-rw-r--r--akregator/src/tabwidget.cpp2
-rw-r--r--akregator/src/tagnodeitem.cpp4
-rw-r--r--akregator/src/tagpropertieswidgetbase.ui2
-rw-r--r--akregator/src/trayicon.cpp4
10 files changed, 15 insertions, 15 deletions
diff --git a/akregator/src/addfeeddialog.cpp b/akregator/src/addfeeddialog.cpp
index bb37d26e0..f81bc1d7b 100644
--- a/akregator/src/addfeeddialog.cpp
+++ b/akregator/src/addfeeddialog.cpp
@@ -42,7 +42,7 @@ namespace Akregator {
AddFeedWidget::AddFeedWidget(TQWidget *parent, const char *name)
: AddFeedWidgetBase(parent, name)
{
- pixmapLabel1->setPixmap(kapp->iconLoader()->loadIcon( "package_network",KIcon::Desktop,KIcon::SizeHuge, KIcon::DefaultState, 0, true));
+ pixmapLabel1->setPixmap(kapp->iconLoader()->loadIcon( "package_network",TDEIcon::Desktop,TDEIcon::SizeHuge, TDEIcon::DefaultState, 0, true));
statusLabel->setText(TQString());
}
diff --git a/akregator/src/akregator_view.cpp b/akregator/src/akregator_view.cpp
index 07507383f..3ec31e9e5 100644
--- a/akregator/src/akregator_view.cpp
+++ b/akregator/src/akregator_view.cpp
@@ -247,7 +247,7 @@ View::View( Part *part, TQWidget *parent, ActionManagerImpl* actionManager, cons
m_listTabWidget->setViewMode(ListTabWidget::single);
m_feedListView = new NodeListView( this, "feedtree" );
- m_listTabWidget->addView(m_feedListView, i18n("Feeds"), TDEGlobal::iconLoader()->loadIcon("folder", KIcon::Small));
+ m_listTabWidget->addView(m_feedListView, i18n("Feeds"), TDEGlobal::iconLoader()->loadIcon("folder", TDEIcon::Small));
connect(m_feedListView, TQT_SIGNAL(signalContextMenu(TDEListView*, TreeNode*, const TQPoint&)), this, TQT_SLOT(slotFeedTreeContextMenu(TDEListView*, TreeNode*, const TQPoint&)));
@@ -256,7 +256,7 @@ View::View( Part *part, TQWidget *parent, ActionManagerImpl* actionManager, cons
TreeNode*, Folder*)));
m_tagNodeListView = new NodeListView(this);
- m_listTabWidget->addView(m_tagNodeListView, i18n("Tags"), TDEGlobal::iconLoader()->loadIcon("rss_tag", KIcon::Small));
+ m_listTabWidget->addView(m_tagNodeListView, i18n("Tags"), TDEGlobal::iconLoader()->loadIcon("rss_tag", TDEIcon::Small));
connect(m_tagNodeListView, TQT_SIGNAL(signalContextMenu(TDEListView*, TreeNode*, const TQPoint&)), this, TQT_SLOT(slotFeedTreeContextMenu(TDEListView*, TreeNode*, const TQPoint&)));
diff --git a/akregator/src/feeditem.cpp b/akregator/src/feeditem.cpp
index 6571977e6..b2bb86bbc 100644
--- a/akregator/src/feeditem.cpp
+++ b/akregator/src/feeditem.cpp
@@ -84,12 +84,12 @@ void FeedItem::nodeChanged()
TQPixmap FeedItem::errorPixmap()
{
- return TDEGlobal::iconLoader()->loadIcon("error", KIcon::Small);
+ return TDEGlobal::iconLoader()->loadIcon("error", TDEIcon::Small);
}
TQPixmap FeedItem::defaultPixmap()
{
- return TDEGlobal::iconLoader()->loadIcon("txt", KIcon::Small);
+ return TDEGlobal::iconLoader()->loadIcon("txt", TDEIcon::Small);
}
void FeedItem::initialize(Feed* node)
diff --git a/akregator/src/feedlistview.cpp b/akregator/src/feedlistview.cpp
index 2bb1cbfc0..6147f4d2a 100644
--- a/akregator/src/feedlistview.cpp
+++ b/akregator/src/feedlistview.cpp
@@ -892,8 +892,8 @@ void NodeListView::slotFeedFetchStarted(Feed* feed)
TreeNodeItem* item = findNodeItem(feed);
if (item)
{
- KIconEffect iconEffect;
- TQPixmap tempIcon = iconEffect.apply(feed->favicon(), KIcon::Small, KIcon::DisabledState);
+ TDEIconEffect iconEffect;
+ TQPixmap tempIcon = iconEffect.apply(feed->favicon(), TDEIcon::Small, TDEIcon::DisabledState);
item->setPixmap(0, tempIcon);
}
}
diff --git a/akregator/src/folderitem.cpp b/akregator/src/folderitem.cpp
index 166811853..eb77e245e 100644
--- a/akregator/src/folderitem.cpp
+++ b/akregator/src/folderitem.cpp
@@ -56,7 +56,7 @@ FolderItem::FolderItem(TDEListView* parent, TreeNodeItem* after, Folder* node) :
void FolderItem::initialize(Folder* node)
{
setOpen(node->isOpen());
- setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon("folder", KIcon::Small) );
+ setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon("folder", TDEIcon::Small) );
if (node)
setText(0, node->title());
}
diff --git a/akregator/src/searchbar.cpp b/akregator/src/searchbar.cpp
index 58f6c2f78..9d2341866 100644
--- a/akregator/src/searchbar.cpp
+++ b/akregator/src/searchbar.cpp
@@ -84,7 +84,7 @@ SearchBar::SearchBar(TQWidget* parent, const char* name) : TQHBox(parent, name),
statusLabel->setText( i18n("Status:") );
d->searchCombo = new KComboBox(this, "searchcombo");
- TQPixmap iconAll = TDEGlobal::iconLoader()->loadIcon("exec", KIcon::Small);
+ TQPixmap iconAll = TDEGlobal::iconLoader()->loadIcon("exec", TDEIcon::Small);
TQPixmap iconNew(locate("data", "akregator/pics/kmmsgnew.png"));
TQPixmap iconUnread(locate("data", "akregator/pics/kmmsgunseen.png"));
TQPixmap iconKeep(locate("data", "akregator/pics/kmmsgflag.png"));
diff --git a/akregator/src/tabwidget.cpp b/akregator/src/tabwidget.cpp
index 6940acee1..d4f4bd4f1 100644
--- a/akregator/src/tabwidget.cpp
+++ b/akregator/src/tabwidget.cpp
@@ -316,7 +316,7 @@ void TabWidget::initiateDrag(int tab)
KURL::List lst;
lst.append( frame->part()->url() );
KURLDrag* drag = new KURLDrag( lst, this );
- drag->setPixmap( KMimeType::pixmapForURL( lst.first(), 0, KIcon::Small ) );
+ drag->setPixmap( KMimeType::pixmapForURL( lst.first(), 0, TDEIcon::Small ) );
drag->dragCopy();
}
}
diff --git a/akregator/src/tagnodeitem.cpp b/akregator/src/tagnodeitem.cpp
index 1152935c4..f5aa6eae3 100644
--- a/akregator/src/tagnodeitem.cpp
+++ b/akregator/src/tagnodeitem.cpp
@@ -62,13 +62,13 @@ void TagNodeItem::initialize(TagNode* node)
if (node)
{
setText(0, node->title());
- setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon(node->icon(), KIcon::Small) );
+ setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon(node->icon(), TDEIcon::Small) );
}
}
void TagNodeItem::nodeChanged()
{
- setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon(node()->icon(), KIcon::Small));
+ setPixmap ( 0, TDEGlobal::iconLoader()->loadIcon(node()->icon(), TDEIcon::Small));
TreeNodeItem::nodeChanged();
}
diff --git a/akregator/src/tagpropertieswidgetbase.ui b/akregator/src/tagpropertieswidgetbase.ui
index e6b4c34be..b7f56db56 100644
--- a/akregator/src/tagpropertieswidgetbase.ui
+++ b/akregator/src/tagpropertieswidgetbase.ui
@@ -79,7 +79,7 @@
<cstring>iconButton</cstring>
</property>
</widget>
- <widget class="KIconButton">
+ <widget class="TDEIconButton">
<property name="name">
<cstring>iconButton</cstring>
</property>
diff --git a/akregator/src/trayicon.cpp b/akregator/src/trayicon.cpp
index 093306f61..cdbec1626 100644
--- a/akregator/src/trayicon.cpp
+++ b/akregator/src/trayicon.cpp
@@ -63,7 +63,7 @@ TrayIcon::TrayIcon(TQWidget *parent, const char *name)
m_defaultIcon=KSystemTray::loadIcon("akregator");
TQPixmap m_unreadIcon=KSystemTray::loadIcon("akregator_empty");
m_lightIconImage=m_unreadIcon.convertToImage();
- KIconEffect::deSaturate(m_lightIconImage, 0.60);
+ TDEIconEffect::deSaturate(m_lightIconImage, 0.60);
setPixmap(m_defaultIcon);
TQToolTip::add(this, i18n("Akregator - RSS Feed Reader"));
}
@@ -167,7 +167,7 @@ void TrayIcon::slotSetUnread(int unread)
// overlay
TQImage overlayImg=m_lightIconImage.copy();
- KIconEffect::overlay(overlayImg, img);
+ TDEIconEffect::overlay(overlayImg, img);
TQPixmap icon;
icon.convertFromImage(overlayImg);