summaryrefslogtreecommitdiffstats
path: root/kpf/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:58 -0600
commit4c6870471be96131ae42a7e20355e6f06029a6d9 (patch)
tree956359e3bdd20d67f4ec60bf724701afc86763a1 /kpf/src
parent2cb1d1c8edcbfae77e25dad2f3aa97e09c627a06 (diff)
downloadtdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.tar.gz
tdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kpf/src')
-rw-r--r--kpf/src/Applet.cpp6
-rw-r--r--kpf/src/BandwidthGraph.cpp8
2 files changed, 7 insertions, 7 deletions
diff --git a/kpf/src/Applet.cpp b/kpf/src/Applet.cpp
index dfe0c165..3b6b1902 100644
--- a/kpf/src/Applet.cpp
+++ b/kpf/src/Applet.cpp
@@ -372,11 +372,11 @@ namespace KPF
TQPixmap px;
if (width() > 48)
- px = TDEGlobal::iconLoader()->loadIcon("kpf", KIcon::Panel, 48);
+ px = TDEGlobal::iconLoader()->loadIcon("kpf", TDEIcon::Panel, 48);
else if (width() > 32)
- px = TDEGlobal::iconLoader()->loadIcon("kpf", KIcon::Panel, 32);
+ px = TDEGlobal::iconLoader()->loadIcon("kpf", TDEIcon::Panel, 32);
else if (width() > 16)
- px = TDEGlobal::iconLoader()->loadIcon("kpf", KIcon::Panel, 16);
+ px = TDEGlobal::iconLoader()->loadIcon("kpf", TDEIcon::Panel, 16);
else
return;
diff --git a/kpf/src/BandwidthGraph.cpp b/kpf/src/BandwidthGraph.cpp
index ba02e69d..bbc56747 100644
--- a/kpf/src/BandwidthGraph.cpp
+++ b/kpf/src/BandwidthGraph.cpp
@@ -144,15 +144,15 @@ namespace KPF
buffer_.resize(size());
if ( width() > 48 )
- bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", KIcon::Panel, 48 );
+ bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", TDEIcon::Panel, 48 );
else if ( width() > 32 )
- bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", KIcon::Panel, 32 );
+ bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", TDEIcon::Panel, 32 );
else if ( width() > 16 )
- bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", KIcon::Panel, 16 );
+ bgPix_ = TDEGlobal::iconLoader()->loadIcon( "kpf", TDEIcon::Panel, 16 );
else
bgPix_.fill( this, TQPoint( 0, 0 ) );
- KIconEffect::semiTransparent( bgPix_ );
+ TDEIconEffect::semiTransparent( bgPix_ );
if (width() < 2)
{