summaryrefslogtreecommitdiffstats
path: root/src/knutmessage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:04:17 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:04:17 -0600
commit9637803529642b66d4983d4f1faed25311004fda (patch)
tree93737032c0172f23d9d41fa4c457e7d0a816f02d /src/knutmessage.cpp
parent5a480fa57527b23c47e908ff9b6395da1c36f270 (diff)
downloadknutclient-9637803529642b66d4983d4f1faed25311004fda.tar.gz
knutclient-9637803529642b66d4983d4f1faed25311004fda.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/knutmessage.cpp')
-rw-r--r--src/knutmessage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/knutmessage.cpp b/src/knutmessage.cpp
index c253e5a..f0b010b 100644
--- a/src/knutmessage.cpp
+++ b/src/knutmessage.cpp
@@ -31,17 +31,17 @@ KNutMessage::KNutMessage(const TQString messageText, const typeOfMessage type, c
setCaption("KNutClient");
m_messageTimer = 0;
- KIconLoader *loader = TDEGlobal::iconLoader();
+ TDEIconLoader *loader = TDEGlobal::iconLoader();
switch(type) {
case infoMess:
- m_ret = loader->loadIcon("messagebox_info", KIcon::NoGroup, KIcon::SizeMedium, KIcon::DefaultState, 0, true);
+ m_ret = loader->loadIcon("messagebox_info", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true);
break;
case warningMess:
- m_ret = loader->loadIcon("messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium, KIcon::DefaultState, 0, true);
+ m_ret = loader->loadIcon("messagebox_warning", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true);
break;
case criticalMess:
- m_ret = loader->loadIcon("messagebox_critical", KIcon::NoGroup, KIcon::SizeMedium, KIcon::DefaultState, 0, true);
+ m_ret = loader->loadIcon("messagebox_critical", TDEIcon::NoGroup, TDEIcon::SizeMedium, TDEIcon::DefaultState, 0, true);
break;
}