diff options
Diffstat (limited to 'chalk/plugins/viewplugins/screenshot/ksnapshot.cpp')
-rw-r--r-- | chalk/plugins/viewplugins/screenshot/ksnapshot.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp index 32e825ee..eba5a622 100644 --- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp +++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp @@ -62,7 +62,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) : super(parent, name, false, TQString(), Ok|Cancel) { grabber = new TQWidget( 0, 0, WStyle_Customize | WX11BypassWM ); - Q_CHECK_PTR(grabber); + TQ_CHECK_PTR(grabber); grabber->move( -1000, -1000 ); grabber->installEventFilter( this ); @@ -74,7 +74,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) TQVBox *vbox = makeVBoxMainWidget(); mainWidget = new KSnapshotWidget( vbox, "mainWidget" ); - Q_CHECK_PTR(mainWidget); + TQ_CHECK_PTR(mainWidget); mainWidget->btnSave->hide(); mainWidget->btnPrint->hide(); @@ -100,7 +100,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) connect( &grabTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( grabTimerDone() ) ); KAccel* accel = new KAccel(this); - Q_CHECK_PTR(accel); + TQ_CHECK_PTR(accel); accel->insert(KStdAccel::Print, TQT_TQOBJECT(this), TQT_SLOT(slotPrint())); accel->insert(KStdAccel::New, TQT_TQOBJECT(this), TQT_SLOT(slotGrab())); @@ -169,7 +169,7 @@ void KSnapshot::slotCopy() void KSnapshot::slotDragSnapshot() { TQDragObject *drobj = new TQImageDrag(snapshot.convertToImage(), this); - Q_CHECK_PTR(drobj); + TQ_CHECK_PTR(drobj); drobj->setPixmap(mainWidget->preview()); drobj->dragCopy(); } @@ -180,7 +180,7 @@ void KSnapshot::slotGrab() if ( mainWidget->mode() == Region ) { rgnGrab = new RegionGrabber(); - Q_CHECK_PTR(rgnGrab); + TQ_CHECK_PTR(rgnGrab); connect( rgnGrab, TQT_SIGNAL( regionGrabbed( const TQPixmap & ) ), TQT_SLOT( slotRegionGrabbed( const TQPixmap & ) ) ); } |