summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r--kmail/kmfoldertree.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 067568a1c..ae340e7fe 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -149,12 +149,12 @@ TQPixmap KMFolderTreeItem::normalIcon(int size) const
if (mFolder && mFolder->useCustomIcons() ) {
icon = mFolder->normalIconPath();
}
- KIconLoader * il = TDEGlobal::instance()->iconLoader();
- TQPixmap pm = il->loadIcon( icon, KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ TDEIconLoader * il = TDEGlobal::instance()->iconLoader();
+ TQPixmap pm = il->loadIcon( icon, TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
if ( mFolder && pm.isNull() ) {
- pm = il->loadIcon( mFolder->normalIconPath(), KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ pm = il->loadIcon( mFolder->normalIconPath(), TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
}
return pm;
@@ -170,25 +170,25 @@ TQPixmap KMFolderTreeItem::unreadIcon(int size) const
kmkernel->folderIsDraftOrOutbox( mFolder ) )
pm = normalIcon( size );
- KIconLoader * il = TDEGlobal::instance()->iconLoader();
+ TDEIconLoader * il = TDEGlobal::instance()->iconLoader();
if ( mFolder && mFolder->useCustomIcons() ) {
- pm = il->loadIcon( mFolder->unreadIconPath(), KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ pm = il->loadIcon( mFolder->unreadIconPath(), TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
if ( pm.isNull() )
- pm = il->loadIcon( mFolder->normalIconPath(), KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ pm = il->loadIcon( mFolder->normalIconPath(), TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
}
if ( pm.isNull() ) {
if ( mFolder && mFolder->noContent() ) {
- pm = il->loadIcon( "folder_grey_open", KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ pm = il->loadIcon( "folder_grey_open", TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
} else {
if( kmkernel->iCalIface().isResourceFolder( mFolder ) )
pm = il->loadIcon( kmkernel->iCalIface().folderPixmap( type() ),
- KIcon::Small, size, KIcon::DefaultState, 0, true );
+ TDEIcon::Small, size, TDEIcon::DefaultState, 0, true );
if ( pm.isNull() )
- pm = il->loadIcon( "folder_open", KIcon::Small, size,
- KIcon::DefaultState, 0, true );
+ pm = il->loadIcon( "folder_open", TDEIcon::Small, size,
+ TDEIcon::DefaultState, 0, true );
}
}