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."));
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=newKIconCanvas(grpPtr->tab);
grpPtr->loadWid=newTDEIconCanvas(grpPtr->tab);
// Changes for the new KIconCanvas (Werner)
// Changes for the new TDEIconCanvas (Werner)
TQDird(grpPtr->dir.absFilePath());
TQDird(grpPtr->dir.absFilePath());
d.setNameFilter("*.desktop");
d.setNameFilter("*.desktop");
if(d.exists()){
if(d.exists()){
@ -111,7 +111,7 @@ void AFChoose::setupTabs()
}
}
grpPtr->entries.insert(text,filename);
grpPtr->entries.insert(text,filename);
// now load the icon and create the item
// now load the icon and create the item
// This code is shamelessly borrowed from KIconCanvas::slotLoadFiles
// This code is shamelessly borrowed from TDEIconCanvas::slotLoadFiles