From 79b21d47bce1ee428affc97534cd8b257232a871 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:43:14 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kicker/taskmanager/taskmanager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kicker/taskmanager/taskmanager.cpp') diff --git a/kicker/taskmanager/taskmanager.cpp b/kicker/taskmanager/taskmanager.cpp index 2ae85819c..b5bcf40e1 100644 --- a/kicker/taskmanager/taskmanager.cpp +++ b/kicker/taskmanager/taskmanager.cpp @@ -60,7 +60,7 @@ TaskManager::TaskManager() m_winModule(new KWinModule()), m_trackGeometry(false) { - KGlobal::locale()->insertCatalogue("libtaskmanager"); + TDEGlobal::locale()->insertCatalogue("libtaskmanager"); connect(m_winModule, TQT_SIGNAL(windowAdded(WId)), this, TQT_SLOT(windowAdded(WId))); connect(m_winModule, TQT_SIGNAL(windowRemoved(WId)), @@ -88,7 +88,7 @@ TaskManager::TaskManager() TaskManager::~TaskManager() { - KGlobal::locale()->removeCatalogue("libtaskmanager"); + TDEGlobal::locale()->removeCatalogue("libtaskmanager"); } void TaskManager::configure_startup() @@ -628,7 +628,7 @@ Task::Task(WId win, TQObject *parent, const char *name) // try to guess the icon from the classhint if(_pixmap.isNull()) { - KGlobal::iconLoader()->loadIcon(className().lower(), + TDEGlobal::iconLoader()->loadIcon(className().lower(), KIcon::Small, KIcon::Small, KIcon::DefaultState, @@ -709,7 +709,7 @@ void Task::refreshIcon() // try to guess the icon from the classhint if(_pixmap.isNull()) { - KGlobal::iconLoader()->loadIcon(className().lower(), + TDEGlobal::iconLoader()->loadIcon(className().lower(), KIcon::Small, KIcon::Small, KIcon::DefaultState, @@ -914,7 +914,7 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon ) // Icon of last resort if( pixmap.isNull() ) { - pixmap = KGlobal::iconLoader()->loadIcon( "go", + pixmap = TDEGlobal::iconLoader()->loadIcon( "go", KIcon::NoGroup, KIcon::SizeSmall ); isStaticIcon = true; @@ -937,7 +937,7 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon ) // Icon of last resort if( pixmap.isNull() ) { - pixmap = KGlobal::iconLoader()->loadIcon( "go", + pixmap = TDEGlobal::iconLoader()->loadIcon( "go", KIcon::NoGroup, KIcon::SizeMedium ); isStaticIcon = true; @@ -951,7 +951,7 @@ 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 = KGlobal::iconLoader()->loadIcon( className(), + pixmap = TDEGlobal::iconLoader()->loadIcon( className(), KIcon::NoGroup, size, KIcon::DefaultState, @@ -968,7 +968,7 @@ TQPixmap Task::bestIcon( int size, bool &isStaticIcon ) // Icon of last resort if( pixmap.isNull() ) { - pixmap = KGlobal::iconLoader()->loadIcon( "go", + pixmap = TDEGlobal::iconLoader()->loadIcon( "go", KIcon::NoGroup, size ); isStaticIcon = true; -- cgit v1.2.1