summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups/imageposition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/cups/imageposition.cpp')
-rw-r--r--kdeprint/cups/imageposition.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeprint/cups/imageposition.cpp b/kdeprint/cups/imageposition.cpp
index 9e0ab4941..bc2b207fd 100644
--- a/kdeprint/cups/imageposition.cpp
+++ b/kdeprint/cups/imageposition.cpp
@@ -44,8 +44,8 @@ ImagePosition::ImagePosition(TQWidget *parent, const char *name)
: TQWidget(parent,name)
{
position_ = Center;
- setMinimumSize(tqsizeHint());
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+ setMinimumSize(sizeHint());
+ setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
pix_.load(locate("data", "kdeprint/preview-mini.png"));
}
@@ -147,7 +147,7 @@ void ImagePosition::paintEvent(TQPaintEvent*)
p.end();
}
-TQSize ImagePosition::tqsizeHint() const
+TQSize ImagePosition::sizeHint() const
{
return TQSize(60, 80);
}