From a9bde819f2b421dcc44741156e75eca4bb5fb4f4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:49:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kmail/kmfoldertree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmail/kmfoldertree.cpp') diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp index 63010f9b..7bec817b 100644 --- a/kmail/kmfoldertree.cpp +++ b/kmail/kmfoldertree.cpp @@ -149,7 +149,7 @@ TQPixmap KMFolderTreeItem::normalIcon(int size) const if (mFolder && mFolder->useCustomIcons() ) { icon = mFolder->normalIconPath(); } - KIconLoader * il = KGlobal::instance()->iconLoader(); + KIconLoader * il = TDEGlobal::instance()->iconLoader(); TQPixmap pm = il->loadIcon( icon, KIcon::Small, size, KIcon::DefaultState, 0, true ); if ( mFolder && pm.isNull() ) { @@ -170,7 +170,7 @@ TQPixmap KMFolderTreeItem::unreadIcon(int size) const kmkernel->folderIsDraftOrOutbox( mFolder ) ) pm = normalIcon( size ); - KIconLoader * il = KGlobal::instance()->iconLoader(); + KIconLoader * il = TDEGlobal::instance()->iconLoader(); if ( mFolder && mFolder->useCustomIcons() ) { pm = il->loadIcon( mFolder->unreadIconPath(), KIcon::Small, size, KIcon::DefaultState, 0, true ); @@ -488,11 +488,11 @@ void KMFolderTree::readConfig (void) { KConfigGroupSaver saver(conf, "Fonts"); if (!conf->readBoolEntry("defaultFonts",true)) { - TQFont folderFont( KGlobalSettings::generalFont() ); + TQFont folderFont( TDEGlobalSettings::generalFont() ); setFont(conf->readFontEntry("folder-font", &folderFont)); } else - setFont(KGlobalSettings::generalFont()); + setFont(TDEGlobalSettings::generalFont()); } // restore the layout -- cgit v1.2.3