diff options
Diffstat (limited to 'chalk/plugins/viewplugins/screenshot')
-rw-r--r-- | chalk/plugins/viewplugins/screenshot/ksnapshot.cpp | 22 | ||||
-rw-r--r-- | chalk/plugins/viewplugins/screenshot/regiongrabber.cpp | 4 | ||||
-rw-r--r-- | chalk/plugins/viewplugins/screenshot/screenshot.cpp | 4 |
3 files changed, 15 insertions, 15 deletions
diff --git a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp index dd28d9258..fd2680fe0 100644 --- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp +++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp @@ -78,10 +78,10 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) mainWidget->btnSave->hide(); mainWidget->btnPrint->hide(); - connect(mainWidget, TQT_SIGNAL(startImageDrag()), TQT_SLOT(slotDragSnapshot())); + connect(mainWidget, TQ_SIGNAL(startImageDrag()), TQ_SLOT(slotDragSnapshot())); - connect( mainWidget, TQT_SIGNAL( newClicked() ), TQT_SLOT( slotGrab() ) ); - connect( mainWidget, TQT_SIGNAL( printClicked() ), TQT_SLOT( slotPrint() ) ); + connect( mainWidget, TQ_SIGNAL( newClicked() ), TQ_SLOT( slotGrab() ) ); + connect( mainWidget, TQ_SIGNAL( printClicked() ), TQ_SLOT( slotPrint() ) ); grabber->show(); grabber->grabMouse( waitCursor ); @@ -97,16 +97,16 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name) mainWidget->setMode( conf->readNumEntry( "mode", 0 ) ); mainWidget->setIncludeDecorations(conf->readBoolEntry("includeDecorations",true)); - connect( &grabTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( grabTimerDone() ) ); + connect( &grabTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( grabTimerDone() ) ); TDEAccel* accel = new TDEAccel(this); TQ_CHECK_PTR(accel); - accel->insert(TDEStdAccel::Print, this, TQT_SLOT(slotPrint())); - accel->insert(TDEStdAccel::New, this, TQT_SLOT(slotGrab())); + accel->insert(TDEStdAccel::Print, this, TQ_SLOT(slotPrint())); + accel->insert(TDEStdAccel::New, this, TQ_SLOT(slotGrab())); - accel->insert( "Print2", TQt::Key_P, this, TQT_SLOT(slotPrint())); - accel->insert( "New2", TQt::Key_N, this, TQT_SLOT(slotGrab())); - accel->insert( "New3", TQt::Key_Space, this, TQT_SLOT(slotGrab())); + accel->insert( "Print2", TQt::Key_P, this, TQ_SLOT(slotPrint())); + accel->insert( "New2", TQt::Key_N, this, TQ_SLOT(slotGrab())); + accel->insert( "New3", TQt::Key_Space, this, TQ_SLOT(slotGrab())); mainWidget->btnNew->setFocus(); @@ -181,8 +181,8 @@ void KSnapshot::slotGrab() { rgnGrab = new RegionGrabber(); TQ_CHECK_PTR(rgnGrab); - connect( rgnGrab, TQT_SIGNAL( regionGrabbed( const TQPixmap & ) ), - TQT_SLOT( slotRegionGrabbed( const TQPixmap & ) ) ); + connect( rgnGrab, TQ_SIGNAL( regionGrabbed( const TQPixmap & ) ), + TQ_SLOT( slotRegionGrabbed( const TQPixmap & ) ) ); } else { diff --git a/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp b/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp index a05ce3e2d..c44e71129 100644 --- a/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp +++ b/chalk/plugins/viewplugins/screenshot/regiongrabber.cpp @@ -75,9 +75,9 @@ RegionGrabber::RegionGrabber() tipTimer = new TQTimer( this ); TQ_CHECK_PTR(tipTimer); - connect( tipTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( updateSizeTip() ) ); + connect( tipTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( updateSizeTip() ) ); - TQTimer::singleShot( 200, this, TQT_SLOT( initGrabber() ) ); + TQTimer::singleShot( 200, this, TQ_SLOT( initGrabber() ) ); } RegionGrabber::~RegionGrabber() diff --git a/chalk/plugins/viewplugins/screenshot/screenshot.cpp b/chalk/plugins/viewplugins/screenshot/screenshot.cpp index e1d186054..c0a1a4d75 100644 --- a/chalk/plugins/viewplugins/screenshot/screenshot.cpp +++ b/chalk/plugins/viewplugins/screenshot/screenshot.cpp @@ -51,9 +51,9 @@ Screenshot::Screenshot(TQObject *parent, const char *name, const TQStringList &) snapshot = new KSnapshot(); TQ_CHECK_PTR(snapshot); - connect( snapshot, TQT_SIGNAL( screenGrabbed() ), TQT_SLOT( slotScreenGrabbed() ) ); + connect( snapshot, TQ_SIGNAL( screenGrabbed() ), TQ_SLOT( slotScreenGrabbed() ) ); - (void) new TDEAction(i18n("&Screenshot..."), SmallIcon("tool_screenshot"), 0, this, TQT_SLOT(slotScreenshot()), actionCollection(), "screenshot"); + (void) new TDEAction(i18n("&Screenshot..."), SmallIcon("tool_screenshot"), 0, this, TQ_SLOT(slotScreenshot()), actionCollection(), "screenshot"); } |