summaryrefslogtreecommitdiffstats
path: root/knetwalk/src/cell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knetwalk/src/cell.cpp')
-rw-r--r--knetwalk/src/cell.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knetwalk/src/cell.cpp b/knetwalk/src/cell.cpp
index 2847f4d2..e3ee7193 100644
--- a/knetwalk/src/cell.cpp
+++ b/knetwalk/src/cell.cpp
@@ -46,7 +46,7 @@ void Cell::initPixmaps()
NamesMap::ConstIterator it;
for(it = names.constBegin(); it != names.constEnd(); ++it)
{
- connectedpixmap[it.key()]=new TQPixmap(KGlobal::iconLoader()->loadIcon(
+ connectedpixmap[it.key()]=new TQPixmap(TDEGlobal::iconLoader()->loadIcon(
locate("data","knetwalk/cable"+it.data()+".png"), KIcon::NoGroup, 32) );
TQImage image = connectedpixmap[it.key()]->convertToImage();
@@ -152,9 +152,9 @@ void Cell::paintEvent(TQPaintEvent*)
{
changed = false;
if ( locked ) {
- pixmap = KGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background_locked.png"), KIcon::NoGroup, 32);
+ pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background_locked.png"), KIcon::NoGroup, 32);
} else {
- pixmap = KGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background.png"), KIcon::NoGroup, 32);
+ pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background.png"), KIcon::NoGroup, 32);
}
TQPainter paint;
@@ -185,14 +185,14 @@ void Cell::paintEvent(TQPaintEvent*)
if(root)
{
- pix=KGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/server.png"), KIcon::NoGroup, 32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/server.png"), KIcon::NoGroup, 32);
}
else if(ddirs == U || ddirs == L || ddirs == D || ddirs == R)
{
if(connected)
- pix=KGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer2.png"),KIcon::NoGroup,32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer2.png"),KIcon::NoGroup,32);
else
- pix=KGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer1.png"),KIcon::NoGroup,32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer1.png"),KIcon::NoGroup,32);
}
paint.drawPixmap(0, 0, pix);
}