summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kipi-plugins/acquireimages/plugin_acquireimages.cpp2
-rw-r--r--kipi-plugins/acquireimages/screenshotdialog.cpp2
-rw-r--r--kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp2
-rw-r--r--kipi-plugins/jpeglossless/plugin_jpeglossless.cpp6
4 files changed, 6 insertions, 6 deletions
diff --git a/kipi-plugins/acquireimages/plugin_acquireimages.cpp b/kipi-plugins/acquireimages/plugin_acquireimages.cpp
index 50da6d4..105ba81 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(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ TQString from(TQT_TQOBJECT(sender())->name());
if (from == "scan_images")
{
diff --git a/kipi-plugins/acquireimages/screenshotdialog.cpp b/kipi-plugins/acquireimages/screenshotdialog.cpp
index e2b65ee..d29ae8d 100644
--- a/kipi-plugins/acquireimages/screenshotdialog.cpp
+++ b/kipi-plugins/acquireimages/screenshotdialog.cpp
@@ -294,7 +294,7 @@ void ScreenGrabDialog::endGrab(void)
bool ScreenGrabDialog::eventFilter( TQObject* o, TQEvent* e)
{
- if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_grabber) && e->type() == TQEvent::MouseButtonPress )
+ if ( o == m_grabber && e->type() == TQEvent::MouseButtonPress )
{
TQMouseEvent* me = (TQMouseEvent*) e;
diff --git a/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp b/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp
index 3d777b2..5114f7a 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(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ TQString from(TQT_TQOBJECT(sender())->name());
if (from == "batch_convert_images")
{
diff --git a/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp b/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp
index 99feebc..54f42ce 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(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ TQString from(TQT_TQOBJECT(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(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ TQString from(TQT_TQOBJECT(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(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name());
+ TQString from(TQT_TQOBJECT(sender())->name());
m_total = items.count();
m_current = 0;