From 45ad0192c9960f3394e00cd649a69a3c2309425c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:49:43 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kipi-plugins/calendar/calwidget.cpp | 2 +- kipi-plugins/gpssync/kmlexport.cpp | 2 +- kipi-plugins/htmlexport/generator.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kipi-plugins/calendar/calwidget.cpp b/kipi-plugins/calendar/calwidget.cpp index b5efe78..c3315f6 100644 --- a/kipi-plugins/calendar/calwidget.cpp +++ b/kipi-plugins/calendar/calwidget.cpp @@ -76,7 +76,7 @@ void CalWidget::recreate() pix_->resize(params.width,params.height); if (!calPainter_) - calPainter_ = new CalPainter(TQT_TQPAINTDEVICE(pix_)); + calPainter_ = new CalPainter(pix_); calPainter_->setYearMonth(TDEGlobal::locale()->calendar()->year(TQDate::currentDate()), TDEGlobal::locale()->calendar()->month(TQDate::currentDate())); diff --git a/kipi-plugins/gpssync/kmlexport.cpp b/kipi-plugins/gpssync/kmlexport.cpp index 9211612..56ac3b6 100644 --- a/kipi-plugins/gpssync/kmlexport.cpp +++ b/kipi-plugins/gpssync/kmlexport.cpp @@ -168,7 +168,7 @@ void kmlExport::generateImagesthumb(KIPI::Interface* interface, const KURL& imag return; } - TQString imageFormat = TQImageIO::imageFormat(TQT_TQIODEVICE(&imageFile)); + TQString imageFormat = TQImageIO::imageFormat(&imageFile); if (imageFormat.isEmpty()) { logWarning(i18n("Format of image '%1' is unknown").arg(path)); diff --git a/kipi-plugins/htmlexport/generator.cpp b/kipi-plugins/htmlexport/generator.cpp index eceb1e9..f54061d 100644 --- a/kipi-plugins/htmlexport/generator.cpp +++ b/kipi-plugins/htmlexport/generator.cpp @@ -236,7 +236,7 @@ struct Generator::Private { return; } - TQString imageFormat = TQImageIO::imageFormat(TQT_TQIODEVICE(&imageFile)); + TQString imageFormat = TQImageIO::imageFormat(&imageFile); if (imageFormat.isEmpty()) { logWarning(i18n("Format of image '%1' is unknown").arg(path)); return;