summaryrefslogtreecommitdiffstats
path: root/kpresenter/autoformEdit
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:05:40 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:05:40 -0600
commit1d4158dd755a445fd42f2db7db5abab8084175cd (patch)
tree71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kpresenter/autoformEdit
parent391e0b69f256bab8971430050c65f0e6e7eea9be (diff)
downloadkoffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz
koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kpresenter/autoformEdit')
-rw-r--r--kpresenter/autoformEdit/AFChoose.cpp6
-rw-r--r--kpresenter/autoformEdit/AFChoose.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/autoformEdit/AFChoose.cpp b/kpresenter/autoformEdit/AFChoose.cpp
index 5914a621..9c4e2e5e 100644
--- a/kpresenter/autoformEdit/AFChoose.cpp
+++ b/kpresenter/autoformEdit/AFChoose.cpp
@@ -87,8 +87,8 @@ void AFChoose::setupTabs()
{
grpPtr->tab = new TQVBox(this);
TQWhatsThis::add(grpPtr->tab, i18n( "Choose a predefined shape by clicking on it then clicking the OK button (or just double-click on the shape). You can then insert the shape onto your slide by drawing the area with the mouse pointer." ) );
- grpPtr->loadWid = new KIconCanvas(grpPtr->tab);
- // Changes for the new KIconCanvas (Werner)
+ grpPtr->loadWid = new TDEIconCanvas(grpPtr->tab);
+ // Changes for the new TDEIconCanvas (Werner)
TQDir d( grpPtr->dir.absFilePath() );
d.setNameFilter( "*.desktop" );
if( d.exists() ) {
@@ -111,7 +111,7 @@ void AFChoose::setupTabs()
}
grpPtr->entries.insert(text, filename);
// now load the icon and create the item
- // This code is shamelessly borrowed from KIconCanvas::slotLoadFiles
+ // This code is shamelessly borrowed from TDEIconCanvas::slotLoadFiles
TQImage img;
img.load(icon);
if (img.isNull()) {
diff --git a/kpresenter/autoformEdit/AFChoose.h b/kpresenter/autoformEdit/AFChoose.h
index 883da064..06575fed 100644
--- a/kpresenter/autoformEdit/AFChoose.h
+++ b/kpresenter/autoformEdit/AFChoose.h
@@ -27,7 +27,7 @@
#include <tqfileinfo.h>
class TQLabel;
-class KIconCanvas;
+class TDEIconCanvas;
class AFChoose : public TQTabDialog
{
@@ -48,7 +48,7 @@ private:
TQFileInfo dir;
TQString name;
TQWidget *tab;
- KIconCanvas *loadWid;
+ TDEIconCanvas *loadWid;
TQLabel *label;
TQMap<TQString, TQString> entries;
};