diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 23:54:16 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:46 +0200 |
commit | 18aecb8ec08ac370cb99e78e63acee0275e6334c (patch) | |
tree | a13f6ea3f960137e10cd775fe2d5fa51edd4636e /kio/kfile/kfilepreview.cpp | |
parent | a9c64e7a807d469d0c3695cd9ab23ab1b4c289b3 (diff) | |
download | tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.tar.gz tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.zip |
Use non-tq sizeHint functions to fix bindings
(cherry picked from commit d4e11a5f488204ab8886e167c7c4af1e6e16ab58)
Diffstat (limited to 'kio/kfile/kfilepreview.cpp')
-rw-r--r-- | kio/kfile/kfilepreview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kfile/kfilepreview.cpp b/kio/kfile/kfilepreview.cpp index 8ce3e87af..877260a5f 100644 --- a/kio/kfile/kfilepreview.cpp +++ b/kio/kfile/kfilepreview.cpp @@ -68,9 +68,9 @@ void KFilePreview::init( KFileView *view ) preview = new TQWidget((TQSplitter*)this, "preview"); TQString tmp = i18n("No preview available."); TQLabel *l = new TQLabel(tmp, preview); - l->setMinimumSize(l->tqsizeHint()); + l->setMinimumSize(l->sizeHint()); l->move(10, 5); - preview->setMinimumWidth(l->tqsizeHint().width()+20); + preview->setMinimumWidth(l->sizeHint().width()+20); setResizeMode(preview, TQSplitter::KeepSize); // Why copy the actions? --ellis, 13 Jan 02. @@ -123,7 +123,7 @@ void KFilePreview::setPreviewWidget(const TQWidget *w, const KURL &) delete preview; preview = const_cast<TQWidget*>(w); preview->reparent((TQSplitter*)this, 0, TQPoint(0, 0), true); - preview->resize(preview->tqsizeHint()); + preview->resize(preview->sizeHint()); preview->show(); } |