summaryrefslogtreecommitdiffstats
path: root/arts/builder/module.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:17:17 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:17:17 -0600
commitfc02f656b0c119d77b36b1f8d160d525eac44614 (patch)
tree486f6ade10e107f7b64df60172bb4d605c750cea /arts/builder/module.cpp
parent53a028a0f6e052a78e045d687d0839db8a0f16f0 (diff)
downloadtdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.tar.gz
tdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'arts/builder/module.cpp')
-rw-r--r--arts/builder/module.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/builder/module.cpp b/arts/builder/module.cpp
index 099f01e7..e11da759 100644
--- a/arts/builder/module.cpp
+++ b/arts/builder/module.cpp
@@ -95,7 +95,7 @@ Module::Module(const Arts::ModuleInfo& minfo, Arts::StructureDesc structuredesc,
void Module::initModule()
{
TQString iconname;
- KIconLoader iconloader;
+ TDEIconLoader iconloader;
_selected = false;
_visible = false;
@@ -107,12 +107,12 @@ void Module::initModule()
iconname = _name + ".xpm";
- _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User));
+ _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User));
if(!_pixmap->height())
{
iconname = _name + ".png";
delete _pixmap;
- _pixmap = new TQPixmap( iconloader.loadIcon( iconname, KIcon::User ) );
+ _pixmap = new TQPixmap( iconloader.loadIcon( iconname, TDEIcon::User ) );
if( !_pixmap->height() )
{
delete _pixmap;
@@ -125,12 +125,12 @@ void Module::initModule()
{
iconname = iconname.mid(6);
- _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User));
+ _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User));
if(!_pixmap->height())
{
iconname.replace( iconname.length() - 4, 3, "png" );
delete _pixmap;
- _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User));
+ _pixmap = new TQPixmap(iconloader.loadIcon(iconname, TDEIcon::User));
if( !_pixmap->height() )
{
delete _pixmap;