summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:07:14 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:07:14 -0600
commita038714a2f9c333af2a881027422618e6104db2b (patch)
treef8ac991bdfe64fadd385236c6ae2283c5238d55a
parentdd0cfce2e915f718a45dc9f772ce3bff42c0f7ca (diff)
downloadtderadio-a038714a2f9c333af2a881027422618e6104db2b.tar.gz
tderadio-a038714a2f9c333af2a881027422618e6104db2b.zip
Rename KIcon to enhance compatibility with KDE4
-rw-r--r--tderadio3/plugins/gui-error-log/errorlog.cpp8
-rw-r--r--tderadio3/src/pluginmanager.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/tderadio3/plugins/gui-error-log/errorlog.cpp b/tderadio3/plugins/gui-error-log/errorlog.cpp
index 1330669..1ee9a3f 100644
--- a/tderadio3/plugins/gui-error-log/errorlog.cpp
+++ b/tderadio3/plugins/gui-error-log/errorlog.cpp
@@ -57,7 +57,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQWidget::setCaption(i18n("TDERadio Logger"));
TQFrame *info = addPage(i18n("Information"), i18n("Information"),
TDEGlobal::instance()->iconLoader()->loadIcon(
- "messagebox_info", KIcon::NoGroup, KIcon::SizeMedium
+ "messagebox_info", TDEIcon::NoGroup, TDEIcon::SizeMedium
)
);
@@ -72,7 +72,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *warn = addPage(i18n("Warnings"), i18n("Warnings"),
TDEGlobal::instance()->iconLoader()->loadIcon(
- "messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium
+ "messagebox_warning", TDEIcon::NoGroup, TDEIcon::SizeMedium
)
);
TQGridLayout *lwarn = new TQGridLayout(warn);
@@ -87,7 +87,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *err = addPage(i18n("Errors"), i18n("Errors"),
TDEGlobal::instance()->iconLoader()->loadIcon(
- "messagebox_critical", KIcon::NoGroup, KIcon::SizeMedium
+ "messagebox_critical", TDEIcon::NoGroup, TDEIcon::SizeMedium
)
);
TQGridLayout *lerr = new TQGridLayout(err);
@@ -100,7 +100,7 @@ ErrorLog::ErrorLog(const TQString &name)
TQFrame *debug = addPage(i18n("Debugging"), i18n("Debugging"),
TDEGlobal::instance()->iconLoader()->loadIcon(
- "find", KIcon::NoGroup, KIcon::SizeMedium
+ "find", TDEIcon::NoGroup, TDEIcon::SizeMedium
)
);
diff --git a/tderadio3/src/pluginmanager.cpp b/tderadio3/src/pluginmanager.cpp
index 4cf2c59..6ba7113 100644
--- a/tderadio3/src/pluginmanager.cpp
+++ b/tderadio3/src/pluginmanager.cpp
@@ -292,7 +292,7 @@ TQFrame *PluginManager::addConfigurationPage (const ConfigPageInfo &info)
TQFrame *f = m_configDialog->addPage(
info.itemName,
info.pageHeader,
- TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium )
+ TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, TDEIcon::NoGroup, TDEIcon::SizeMedium )
);
// fill config frame with layout ...
@@ -371,7 +371,7 @@ void PluginManager::addAboutPage (PluginBase *forWhom,
TQFrame *f = m_aboutDialog->addPage(
info.itemName,
info.pageHeader,
- TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium )
+ TDEGlobal::instance()->iconLoader()->loadIcon( info.iconName, TDEIcon::NoGroup, TDEIcon::SizeMedium )
);
// register this frame and config page