diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:02:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:02:13 -0600 |
commit | ed6d66d4170624a5f83650abc3e4667e1be63e4c (patch) | |
tree | 2caf83656a97c3c58e66cc984532213eecbec461 /src | |
parent | 5c2673b2c03a832bef135b4361e03fb87cd5ce6f (diff) | |
download | kbfx-ed6d66d4170624a5f83650abc3e4667e1be63e4c.tar.gz kbfx-ed6d66d4170624a5f83650abc3e4667e1be63e4c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src')
-rw-r--r-- | src/kbfxplasmacanvasitem.cpp | 4 | ||||
-rw-r--r-- | src/kbfxplasmacanvasitem_events.cpp | 2 | ||||
-rw-r--r-- | src/kbfxplasmaindexitem.cpp | 4 | ||||
-rw-r--r-- | src/kbfxspinxtoolbutton.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/kbfxplasmacanvasitem.cpp b/src/kbfxplasmacanvasitem.cpp index d552578..0c6eb76 100644 --- a/src/kbfxplasmacanvasitem.cpp +++ b/src/kbfxplasmacanvasitem.cpp @@ -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 ); diff --git a/src/kbfxplasmacanvasitem_events.cpp b/src/kbfxplasmacanvasitem_events.cpp index 8377dec..8e635c3 100644 --- a/src/kbfxplasmacanvasitem_events.cpp +++ b/src/kbfxplasmacanvasitem_events.cpp @@ -62,7 +62,7 @@ KbfxPlasmaCanvasItem::exec() return; -// KIconEffect::visualActivate(new TQWidget(), this->boundingRect()); +// TDEIconEffect::visualActivate(new TQWidget(), this->boundingRect()); m_source->exec(); } diff --git a/src/kbfxplasmaindexitem.cpp b/src/kbfxplasmaindexitem.cpp index 55c4642..08d3a73 100644 --- a/src/kbfxplasmaindexitem.cpp +++ b/src/kbfxplasmaindexitem.cpp @@ -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 ); } diff --git a/src/kbfxspinxtoolbutton.cpp b/src/kbfxspinxtoolbutton.cpp index a525435..cd40d73 100644 --- a/src/kbfxspinxtoolbutton.cpp +++ b/src/kbfxspinxtoolbutton.cpp @@ -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 ); } |