diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:49:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-04 14:01:23 +0900 |
commit | 2cf37f589ed9d1a9dd6e6985372a8f4d811e4d58 (patch) | |
tree | 7e4d99b2f1945e69e51ff084035ff88f8f315ac3 | |
parent | b4ab4f133d2316295ff71d3ba27c812c9b73e50f (diff) | |
download | kipi-plugins-2cf37f589ed9d1a9dd6e6985372a8f4d811e4d58.tar.gz kipi-plugins-2cf37f589ed9d1a9dd6e6985372a8f4d811e4d58.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 45ad0192c9960f3394e00cd649a69a3c2309425c)
-rw-r--r-- | kipi-plugins/calendar/calwidget.cpp | 2 | ||||
-rw-r--r-- | kipi-plugins/gpssync/kmlexport.cpp | 2 | ||||
-rw-r--r-- | 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; |