Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 5c2673b2c0
commit ed6d66d417

@ -329,7 +329,7 @@ void KbfxConfig::read()
TDEConfig *conf = confskel->config();
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) TDEIcon::Desktop, FALSE );
conf->setGroup ( "KbfxGeneral" );
m_KbfxGeneralVersion = conf->readNumEntry ( "Version", 0 );
@ -501,7 +501,7 @@ void KbfxConfig::readThemerc ( TQString &themePath, TQString &themeName, bool us
/* use theme's default dude image if any */
TDEConfigSkeleton *confskel = new TDEConfigSkeleton ( TQString::fromLatin1 ( "kbfxrc" ) );
TDEConfig *conf = confskel->config();
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
TQString __default = TDEGlobal::iconLoader()->iconPath ( "kbfx", ( int ) TDEIcon::Desktop, FALSE );
if ( m_SpinxDudeImageDefault == TQString() || !TDEStandardDirs::exists ( m_SpinxDudeImageDefault ) )
{

@ -132,8 +132,8 @@ KbfxPlasmaCanvasItem::setExec ( TQString desktopfile )
void
KbfxPlasmaCanvasItem::setIconPath ( TQString str )
{
KIconLoader *iconload = TDEGlobal::iconLoader ();
m_iconPath = iconload->iconPath ( str, KIcon::Desktop, false );
TDEIconLoader *iconload = TDEGlobal::iconLoader ();
m_iconPath = iconload->iconPath ( str, TDEIcon::Desktop, false );
// m_icon.load(m_iconPath);
TQImage _img ( m_iconPath );

@ -62,7 +62,7 @@ KbfxPlasmaCanvasItem::exec()
return;
// KIconEffect::visualActivate(new TQWidget(), this->boundingRect());
// TDEIconEffect::visualActivate(new TQWidget(), this->boundingRect());
m_source->exec();
}

@ -44,8 +44,8 @@ KbfxPlasmaIndexItem::~KbfxPlasmaIndexItem()
void
KbfxPlasmaIndexItem::setIcon ( TQString str )
{
KIconLoader *iconload = TDEGlobal::iconLoader ();
m_iconPath = iconload->iconPath ( str, KIcon::Desktop, false );
TDEIconLoader *iconload = TDEGlobal::iconLoader ();
m_iconPath = iconload->iconPath ( str, TDEIcon::Desktop, false );
m_icon.load ( m_iconPath );
}

@ -105,8 +105,8 @@ KbfxSpinxToolButton::setDataSource ( KbfxDataSource * src )
m_exe = src->command();
m_dataSource = new KbfxDataSource();
*m_dataSource = *src; // copy
KIconLoader *iconload = TDEGlobal::iconLoader ();
TQString m_iconPath = iconload->iconPath ( m_icon, KIcon::Desktop, false );
TDEIconLoader *iconload = TDEGlobal::iconLoader ();
TQString m_iconPath = iconload->iconPath ( m_icon, TDEIcon::Desktop, false );
m_iconPixmap = TQPixmap ( m_iconPath );
}

Loading…
Cancel
Save