summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:49:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 13:59:57 +0900
commit45ad0192c9960f3394e00cd649a69a3c2309425c (patch)
tree4a168dc6cfd115f6ee4b72ed8e1b02b54a28a331
parentaa3b7277a977600cdfab017549294e660103d4b2 (diff)
downloadkipi-plugins-45ad0192c9960f3394e00cd649a69a3c2309425c.tar.gz
kipi-plugins-45ad0192c9960f3394e00cd649a69a3c2309425c.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kipi-plugins/calendar/calwidget.cpp2
-rw-r--r--kipi-plugins/gpssync/kmlexport.cpp2
-rw-r--r--kipi-plugins/htmlexport/generator.cpp2
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;