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 e3ee7193..e507a79f 100644
--- a/knetwalk/src/cell.cpp
+++ b/knetwalk/src/cell.cpp
@@ -47,7 +47,7 @@ void Cell::initPixmaps()
for(it = names.constBegin(); it != names.constEnd(); ++it)
{
connectedpixmap[it.key()]=new TQPixmap(TDEGlobal::iconLoader()->loadIcon(
- locate("data","knetwalk/cable"+it.data()+".png"), KIcon::NoGroup, 32) );
+ locate("data","knetwalk/cable"+it.data()+".png"), TDEIcon::NoGroup, 32) );
TQImage image = connectedpixmap[it.key()]->convertToImage();
for(int y = 0; y < image.height(); y++)
@@ -152,9 +152,9 @@ void Cell::paintEvent(TQPaintEvent*)
{
changed = false;
if ( locked ) {
- pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background_locked.png"), KIcon::NoGroup, 32);
+ pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background_locked.png"), TDEIcon::NoGroup, 32);
} else {
- pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background.png"), KIcon::NoGroup, 32);
+ pixmap = TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/background.png"), TDEIcon::NoGroup, 32);
}
TQPainter paint;
@@ -185,14 +185,14 @@ void Cell::paintEvent(TQPaintEvent*)
if(root)
{
- pix=TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/server.png"), KIcon::NoGroup, 32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data", "knetwalk/server.png"), TDEIcon::NoGroup, 32);
}
else if(ddirs == U || ddirs == L || ddirs == D || ddirs == R)
{
if(connected)
- pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer2.png"),KIcon::NoGroup,32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer2.png"),TDEIcon::NoGroup,32);
else
- pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer1.png"),KIcon::NoGroup,32);
+ pix=TDEGlobal::iconLoader()->loadIcon(locate("data","knetwalk/computer1.png"),TDEIcon::NoGroup,32);
}
paint.drawPixmap(0, 0, pix);
}