|
|
|
@ -245,7 +245,7 @@ void ImageDialog::slotImageSelected(TQListViewItem* item) {
|
|
|
|
|
d->_url=static_cast<ImageLVI*>(item)->_url;
|
|
|
|
|
d->_preview->clear();
|
|
|
|
|
|
|
|
|
|
KIO::PreviewJob* thumbJob = KIO::filePreview(d->_url, PREVIEW_SIZE);
|
|
|
|
|
TDEIO::PreviewJob* thumbJob = TDEIO::filePreview(d->_url, PREVIEW_SIZE);
|
|
|
|
|
connect( thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
|
|
|
|
|
TQT_SLOT(slotGotPreview(const KFileItem* , const TQPixmap&)));
|
|
|
|
|
}
|
|
|
|
@ -283,7 +283,7 @@ void ImageDialog::slotImagesSelected()
|
|
|
|
|
{
|
|
|
|
|
d->_url = d->_urls.first();
|
|
|
|
|
|
|
|
|
|
KIO::PreviewJob* thumbJob = KIO::filePreview(d->_url, PREVIEW_SIZE);
|
|
|
|
|
TDEIO::PreviewJob* thumbJob = TDEIO::filePreview(d->_url, PREVIEW_SIZE);
|
|
|
|
|
connect( thumbJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
|
|
|
|
|
TQT_SLOT(slotGotPreview(const KFileItem* , const TQPixmap&)));
|
|
|
|
|
}
|
|
|
|
|