summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/viewplugins/screenshot')
-rw-r--r--chalk/plugins/viewplugins/screenshot/ksnapshot.cpp6
-rw-r--r--chalk/plugins/viewplugins/screenshot/screenshot.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
index ad92dc92..e3c4d680 100644
--- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
+++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
@@ -99,10 +99,10 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name)
connect( &grabTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( grabTimerDone() ) );
- KAccel* accel = new KAccel(this);
+ TDEAccel* accel = new TDEAccel(this);
TQ_CHECK_PTR(accel);
- accel->insert(KStdAccel::Print, TQT_TQOBJECT(this), TQT_SLOT(slotPrint()));
- accel->insert(KStdAccel::New, TQT_TQOBJECT(this), TQT_SLOT(slotGrab()));
+ accel->insert(TDEStdAccel::Print, TQT_TQOBJECT(this), TQT_SLOT(slotPrint()));
+ accel->insert(TDEStdAccel::New, TQT_TQOBJECT(this), TQT_SLOT(slotGrab()));
accel->insert( "Print2", TQt::Key_P, TQT_TQOBJECT(this), TQT_SLOT(slotPrint()));
accel->insert( "New2", TQt::Key_N, TQT_TQOBJECT(this), TQT_SLOT(slotGrab()));
diff --git a/chalk/plugins/viewplugins/screenshot/screenshot.cpp b/chalk/plugins/viewplugins/screenshot/screenshot.cpp
index e6f3b9e9..505f8de8 100644
--- a/chalk/plugins/viewplugins/screenshot/screenshot.cpp
+++ b/chalk/plugins/viewplugins/screenshot/screenshot.cpp
@@ -53,7 +53,7 @@ Screenshot::Screenshot(TQObject *parent, const char *name, const TQStringList &)
TQ_CHECK_PTR(snapshot);
connect( snapshot, TQT_SIGNAL( screenGrabbed() ), TQT_SLOT( slotScreenGrabbed() ) );
- (void) new KAction(i18n("&Screenshot..."), SmallIcon("tool_screenshot"), 0, this, TQT_SLOT(slotScreenshot()), actionCollection(), "screenshot");
+ (void) new TDEAction(i18n("&Screenshot..."), SmallIcon("tool_screenshot"), 0, this, TQT_SLOT(slotScreenshot()), actionCollection(), "screenshot");
}