summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-08-15 18:48:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-08-16 04:04:56 +0200
commit08b85ec56855011fec06e9e70e4385c28ddf233e (patch)
tree078dac8d2f699efa78281a3683975f9b599bdaa4
parent193a26b3f123b7dd30ebd12b4034cbf3c97849d9 (diff)
downloadkipi-plugins-08b85ec56855011fec06e9e70e4385c28ddf233e.tar.gz
kipi-plugins-08b85ec56855011fec06e9e70e4385c28ddf233e.zip
Fix FTBFS from issue #5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c96b1cfb0f4886c94b4f7ec16ea993de49634dbc)
-rw-r--r--kipi-plugins/acquireimages/plugin_acquireimages.cpp2
-rw-r--r--kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp2
-rw-r--r--kipi-plugins/jpeglossless/plugin_jpeglossless.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/kipi-plugins/acquireimages/plugin_acquireimages.cpp b/kipi-plugins/acquireimages/plugin_acquireimages.cpp
index 105ba81..1753b9f 100644
--- a/kipi-plugins/acquireimages/plugin_acquireimages.cpp
+++ b/kipi-plugins/acquireimages/plugin_acquireimages.cpp
@@ -96,7 +96,7 @@ void Plugin_AcquireImages::slotActivate()
return;
}
- TQString from(TQT_TQOBJECT(sender())->name());
+ TQString from(sender()->name());
if (from == "scan_images")
{
diff --git a/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp b/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp
index 5114f7a..9ae86da 100644
--- a/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp
+++ b/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp
@@ -232,7 +232,7 @@ void Plugin_BatchProcessImages::slotActivate()
KURL::List urlList = images.images();
- TQString from(TQT_TQOBJECT(sender())->name());
+ TQString from(sender()->name());
if (from == "batch_convert_images")
{
diff --git a/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp b/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp
index 54f42ce..b387f0a 100644
--- a/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp
+++ b/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp
@@ -179,7 +179,7 @@ void Plugin_JPEGLossless::slotFlip()
KURL::List items = images();
if (items.count() <= 0) return;
- TQString from(TQT_TQOBJECT(sender())->name());
+ TQString from(sender()->name());
TQString title;
bool proceed = false;
@@ -229,7 +229,7 @@ void Plugin_JPEGLossless::slotRotate()
KURL::List items = images();
if (items.count() <= 0) return;
- TQString from(TQT_TQOBJECT(sender())->name());
+ TQString from(sender()->name());
TQString title;
bool proceed = false;
@@ -289,7 +289,7 @@ void Plugin_JPEGLossless::slotConvert2GrayScale()
"black and white? This operation <b>cannot</b> be undone.</p>")))
return;
- TQString from(TQT_TQOBJECT(sender())->name());
+ TQString from(sender()->name());
m_total = items.count();
m_current = 0;