From 1d4158dd755a445fd42f2db7db5abab8084175cd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:05:40 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kpresenter/autoformEdit/AFChoose.cpp | 6 +++--- kpresenter/autoformEdit/AFChoose.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kpresenter/autoformEdit') 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 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 entries; }; -- cgit v1.2.1