summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:19:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-24 16:56:48 +0900
commit757d80a919132cf72773928d53d100d22358de34 (patch)
tree78f1145fbd227d1135514b40e66e2e4bcbe3fcce /chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
parent9abcf51de91242d1ab70230ba46abd2108416edf (diff)
downloadkoffice-757d80a9.tar.gz
koffice-757d80a9.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
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 24b239b34..dd28d9258 100644
--- a/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
+++ b/chalk/plugins/viewplugins/screenshot/ksnapshot.cpp
@@ -101,12 +101,12 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name)
TDEAccel* accel = new TDEAccel(this);
TQ_CHECK_PTR(accel);
- accel->insert(TDEStdAccel::Print, TQT_TQOBJECT(this), TQT_SLOT(slotPrint()));
- accel->insert(TDEStdAccel::New, TQT_TQOBJECT(this), TQT_SLOT(slotGrab()));
+ accel->insert(TDEStdAccel::Print, this, TQT_SLOT(slotPrint()));
+ accel->insert(TDEStdAccel::New, 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()));
- accel->insert( "New3", TQt::Key_Space, TQT_TQOBJECT(this), TQT_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()));
mainWidget->btnNew->setFocus();