summaryrefslogtreecommitdiffstats
path: root/libkscan
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 12:00:19 +0900
commit55cef714419f6e36e66dc75afc40682ea5c73a35 (patch)
tree5e72b5e899aa3837c1a7fd60fbe5cc21c0acead3 /libkscan
parent3849f5c32c10eba032a6738fd47331c0fa6afe1c (diff)
downloadtdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.tar.gz
tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkscan')
-rw-r--r--libkscan/previewer.cpp4
-rw-r--r--libkscan/scandialog.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/libkscan/previewer.cpp b/libkscan/previewer.cpp
index e8194b6d..b899c76f 100644
--- a/libkscan/previewer.cpp
+++ b/libkscan/previewer.cpp
@@ -147,11 +147,11 @@ Previewer::Previewer(TQWidget *parent, const char *name )
/* Actions for the previewer zoom */
TDEAction *act;
act = new TDEAction(i18n("Scale to W&idth"), "scaletowidth", CTRL+Key_I,
- TQT_TQOBJECT(this), TQT_SLOT( slScaleToWidth()), TQT_TQOBJECT(this), "preview_scaletowidth" );
+ this, TQT_SLOT( slScaleToWidth()), this, "preview_scaletowidth" );
act->plug( img_canvas->contextMenu());
act = new TDEAction(i18n("Scale to &Height"), "scaletoheight", CTRL+Key_H,
- TQT_TQOBJECT(this), TQT_SLOT( slScaleToHeight()), TQT_TQOBJECT(this), "preview_scaletoheight" );
+ this, TQT_SLOT( slScaleToHeight()), this, "preview_scaletoheight" );
act->plug( img_canvas->contextMenu());
/*Signals: Control the custom-field and show size of selection */
diff --git a/libkscan/scandialog.cpp b/libkscan/scandialog.cpp
index f2656e33..2a989212 100644
--- a/libkscan/scandialog.cpp
+++ b/libkscan/scandialog.cpp
@@ -78,7 +78,7 @@ ScanDialog::ScanDialog( TQWidget *parent, const char *name, bool modal )
TQ_CHECK_PTR( splitter );
m_scanParams = 0;
- m_device = new KScanDevice( TQT_TQOBJECT(this) );
+ m_device = new KScanDevice( this );
connect(m_device, TQT_SIGNAL(sigNewImage(TQImage *, ImgScanInfo*)),
this, TQT_SLOT(slotFinalImage(TQImage *, ImgScanInfo *)));