|
|
@ -86,7 +86,7 @@ FileInstallWidget::FileInstallWidget(TQWidget * parent,
|
|
|
|
TQWhatsThis::add(abutton,
|
|
|
|
TQWhatsThis::add(abutton,
|
|
|
|
i18n("<qt>Clear the list of files to install. No files will be installed.</qt>"));
|
|
|
|
i18n("<qt>Clear the list of files to install. No files will be installed.</qt>"));
|
|
|
|
|
|
|
|
|
|
|
|
fIconView = new KIconView(this);
|
|
|
|
fIconView = new TDEIconView(this);
|
|
|
|
connect(fIconView, TQT_SIGNAL(dropped(TQDropEvent *, const TQValueList<TQIconDragItem> &)),
|
|
|
|
connect(fIconView, TQT_SIGNAL(dropped(TQDropEvent *, const TQValueList<TQIconDragItem> &)),
|
|
|
|
this, TQT_SLOT(slotDropEvent(TQDropEvent *, const TQValueList<TQIconDragItem> &)));
|
|
|
|
this, TQT_SLOT(slotDropEvent(TQDropEvent *, const TQValueList<TQIconDragItem> &)));
|
|
|
|
grid->addMultiCellWidget(fIconView, 1, 4, 2, 3);
|
|
|
|
grid->addMultiCellWidget(fIconView, 1, 4, 2, 3);
|
|
|
@ -251,7 +251,7 @@ void FileInstallWidget::refreshFileInstallList()
|
|
|
|
FUNCTIONSETUP;
|
|
|
|
FUNCTIONSETUP;
|
|
|
|
|
|
|
|
|
|
|
|
TQStringList fileNames = fInstaller->fileNames();
|
|
|
|
TQStringList fileNames = fInstaller->fileNames();
|
|
|
|
TQPixmap kpilotIcon = TDEGlobal::iconLoader()->loadIcon(CSL1("kpilot"), KIcon::Desktop);
|
|
|
|
TQPixmap kpilotIcon = TDEGlobal::iconLoader()->loadIcon(CSL1("kpilot"), TDEIcon::Desktop);
|
|
|
|
|
|
|
|
|
|
|
|
fIconView->clear();
|
|
|
|
fIconView->clear();
|
|
|
|
|
|
|
|
|
|
|
@ -259,11 +259,11 @@ void FileInstallWidget::refreshFileInstallList()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(pdbOrPrc(*fileName))
|
|
|
|
if(pdbOrPrc(*fileName))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
new KIconViewItem(fIconView, *fileName, kpilotIcon);
|
|
|
|
new TDEIconViewItem(fIconView, *fileName, kpilotIcon);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
new KIconViewItem(fIconView, *fileName);
|
|
|
|
new TDEIconViewItem(fIconView, *fileName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|