diff options
Diffstat (limited to 'ksnapshot/ksnapshot.h')
-rw-r--r-- | ksnapshot/ksnapshot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h index c0d5becc..1e186b19 100644 --- a/ksnapshot/ksnapshot.h +++ b/ksnapshot/ksnapshot.h @@ -29,7 +29,7 @@ class KSnapshotPreview : public TQLabel KSnapshotPreview(TQWidget *parent, const char *name = 0) : TQLabel(parent, name) { - tqsetAlignment(AlignHCenter | AlignVCenter); + setAlignment(AlignHCenter | AlignVCenter); setCursor(TQCursor(TQt::PointingHandCursor)); } virtual ~KSnapshotPreview() {} @@ -44,14 +44,14 @@ class KSnapshotPreview : public TQLabel { TQPainter p(&mask); - tqstyle().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), tqpalette().active()); + tqstyle().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); handle.setMask(mask); } { TQPainter p(&handle); - tqstyle().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), tqpalette().active()); + tqstyle().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); } |