diff options
Diffstat (limited to 'ksnapshot/ksnapshot.h')
-rw-r--r-- | ksnapshot/ksnapshot.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ksnapshot/ksnapshot.h b/ksnapshot/ksnapshot.h index fb8084bd..47cbe47e 100644 --- a/ksnapshot/ksnapshot.h +++ b/ksnapshot/ksnapshot.h @@ -24,7 +24,7 @@ class TDEProcess; class KSnapshotPreview : public TQLabel { - Q_OBJECT + TQ_OBJECT public: KSnapshotPreview(TQWidget *parent, const char *name = 0) @@ -45,14 +45,14 @@ class KSnapshotPreview : public TQLabel { TQPainter p(&mask); - style().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); + style().drawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); handle.setMask(mask); } { TQPainter p(&handle); - style().tqdrawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); + style().drawPrimitive(TQStyle::PE_SizeGrip, &p, TQRect(0, 0, 15, 15), palette().active()); p.end(); } @@ -92,7 +92,7 @@ class KSnapshotPreview : public TQLabel class KSnapshot : public KDialogBase, virtual public KSnapshotIface { - Q_OBJECT + TQ_OBJECT public: KSnapshot(TQWidget *parent= 0, const char *name= 0, bool grabCurrent=false); @@ -118,6 +118,7 @@ protected slots: void setTime(int newTime); void setURL(const TQString &newURL); void setGrabMode( int m ); + void setPixmap(const TQPixmap &newImage); void exit(); protected: |