summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
committerTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/plugins/viewplugins/screenshot/ksnapshot.cpp')
-rw-r--r--chalk/plugins/viewplugins/screenshot/ksnapshot.cpp10
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 & ) ) );
}