From 55cef714419f6e36e66dc75afc40682ea5c73a35 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:18 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- libkscan/previewer.cpp | 4 ++-- libkscan/scandialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libkscan') 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 *))); -- cgit v1.2.1