summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/taskmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/taskmanager.cpp')
-rw-r--r--superkaramba/src/taskmanager.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/superkaramba/src/taskmanager.cpp b/superkaramba/src/taskmanager.cpp
index 9186349..4e3afb2 100644
--- a/superkaramba/src/taskmanager.cpp
+++ b/superkaramba/src/taskmanager.cpp
@@ -345,8 +345,8 @@ Task::Task(WId win, TaskManager * parent, const char *name) :
// try to guess the icon from the classhint
if(_pixmap.isNull())
TDEGlobal::instance()->iconLoader()->loadIcon(className().lower(),
- KIcon::Small,KIcon::Small,
- KIcon::DefaultState, 0, true);
+ TDEIcon::Small,TDEIcon::Small,
+ TDEIcon::DefaultState, 0, true);
// load xapp icon
if (_pixmap.isNull())
@@ -373,7 +373,7 @@ void Task::refresh(bool icon)
if(_pixmap.isNull())
{
TDEGlobal::instance()->iconLoader()->loadIcon(className().lower(),
- KIcon::Small, KIcon::Small, KIcon::DefaultState, 0, true);
+ TDEIcon::Small, TDEIcon::Small, TDEIcon::DefaultState, 0, true);
}
// load xapp icon
@@ -532,20 +532,20 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon )
isStaticIcon = false;
switch( size ) {
- case KIcon::SizeSmall:
+ case TDEIcon::SizeSmall:
{
pixmap = icon( 16, 16, true );
// Icon of last resort
if( pixmap.isNull() ) {
pixmap = TDEGlobal::iconLoader()->loadIcon( "go",
- KIcon::NoGroup,
- KIcon::SizeSmall );
+ TDEIcon::NoGroup,
+ TDEIcon::SizeSmall );
isStaticIcon = true;
}
}
break;
- case KIcon::SizeMedium:
+ case TDEIcon::SizeMedium:
{
//
// Try 34x34 first for KDE 2.1 icons with shadows, if we don't
@@ -562,13 +562,13 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon )
// Icon of last resort
if( pixmap.isNull() ) {
pixmap = TDEGlobal::iconLoader()->loadIcon( "go",
- KIcon::NoGroup,
- KIcon::SizeMedium );
+ TDEIcon::NoGroup,
+ TDEIcon::SizeMedium );
isStaticIcon = true;
}
}
break;
- case KIcon::SizeLarge:
+ case TDEIcon::SizeLarge:
{
// If there's a 48x48 icon in the hints then use it
pixmap = icon( size, size, false );
@@ -576,9 +576,9 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon )
// If not, try to get one from the classname
if ( pixmap.isNull() || pixmap.width() != size || pixmap.height() != size ) {
pixmap = TDEGlobal::iconLoader()->loadIcon( className(),
- KIcon::NoGroup,
+ TDEIcon::NoGroup,
size,
- KIcon::DefaultState,
+ TDEIcon::DefaultState,
0L,
true );
isStaticIcon = true;
@@ -593,7 +593,7 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon )
// Icon of last resort
if( pixmap.isNull() ) {
pixmap = TDEGlobal::iconLoader()->loadIcon( "go",
- KIcon::NoGroup,
+ TDEIcon::NoGroup,
size );
isStaticIcon = true;
}