summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpthumbnail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/kpthumbnail.cpp')
-rw-r--r--kolourpaint/kpthumbnail.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/kpthumbnail.cpp b/kolourpaint/kpthumbnail.cpp
index a1de8556..84923c1d 100644
--- a/kolourpaint/kpthumbnail.cpp
+++ b/kolourpaint/kpthumbnail.cpp
@@ -63,16 +63,16 @@ kpThumbnail::kpThumbnail (kpMainWindow *parent, const char *name)
}
- TQSize layoutMinimumSize = layout () ? layout ()->minimumSize () : TQSize ();
+ TQSize layoutMinimumSize = tqlayout () ? tqlayout ()->tqminimumSize () : TQSize ();
#if DEBUG_KP_THUMBNAIL
- kdDebug () << "\tlayout=" << layout ()
- << " minSize=" << (layout () ? layout ()->minimumSize () : TQSize ()) << endl;
+ kdDebug () << "\ttqlayout=" << tqlayout ()
+ << " minSize=" << (tqlayout () ? tqlayout ()->tqminimumSize () : TQSize ()) << endl;
kdDebug () << "\tboxLayout=" << boxLayout ()
- << " minSize=" << (boxLayout () ? boxLayout ()->minimumSize () : TQSize ())
+ << " minSize=" << (boxLayout () ? boxLayout ()->tqminimumSize () : TQSize ())
<< endl;
#endif
- if (layout ())
- layout ()->setResizeMode (TQLayout::FreeResize);
+ if (tqlayout ())
+ tqlayout ()->setResizeMode (TQLayout::FreeResize);
setMinimumSize (TQMAX (layoutMinimumSize.width (), 64),
TQMAX (layoutMinimumSize.height (), 64));