diff options
Diffstat (limited to 'libkscan')
-rw-r--r-- | libkscan/previewer.cpp | 4 | ||||
-rw-r--r-- | libkscan/scandialog.cpp | 2 |
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 *))); |