summaryrefslogtreecommitdiffstats
path: root/digikam/utilities/lighttable/lighttablepreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/utilities/lighttable/lighttablepreview.cpp')
-rw-r--r--digikam/utilities/lighttable/lighttablepreview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/digikam/utilities/lighttable/lighttablepreview.cpp b/digikam/utilities/lighttable/lighttablepreview.cpp
index 6a6bf7d5..8d2c4aaf 100644
--- a/digikam/utilities/lighttable/lighttablepreview.cpp
+++ b/digikam/utilities/lighttable/lighttablepreview.cpp
@@ -137,7 +137,7 @@ LightTablePreview::LightTablePreview(TQWidget *parent)
setAcceptDrops(true);
slotThemeChanged();
- setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
d->cornerButton = new TQToolButton(this);
d->cornerButton->setIconSet(SmallIcon("move"));
@@ -279,7 +279,7 @@ void LightTablePreview::slotGotImagePreview(const LoadingDescription &descriptio
p.drawText(0, 0, pix.width(), pix.height(),
TQt::AlignCenter|TQt::WordBreak,
i18n("Unable to display preview for\n\"%1\"")
- .arg(info.fileName()));
+ .tqarg(info.fileName()));
p.end();
setImage(DImg(pix.convertToImage()));
@@ -725,7 +725,7 @@ void LightTablePreview::contentsDropEvent(TQDropEvent *e)
}
else if(TagDrag::canDecode(e))
{
- TQByteArray ba = e->encodedData("digikam/tag-id");
+ TQByteArray ba = e->tqencodedData("digikam/tag-id");
TQDataStream ds(ba, IO_ReadOnly);
int tagID;
ds >> tagID;