summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/management/kmmainview.cpp2
-rw-r--r--tdeprint/tools/escputil/escpwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/management/kmmainview.cpp b/tdeprint/management/kmmainview.cpp
index ce3f356d8..c4b35bc6f 100644
--- a/tdeprint/management/kmmainview.cpp
+++ b/tdeprint/management/kmmainview.cpp
@@ -493,7 +493,7 @@ void KMMainView::slotRightButtonClicked(const TQString& prname, const TQPoint& p
void KMMainView::slotChangePrinterState()
{
- TQString opname = TQT_TQOBJECT_CONST(sender())->name();
+ TQString opname = sender()->name();
if (m_current && opname.startsWith("printer_"))
{
opname = opname.mid(8);
diff --git a/tdeprint/tools/escputil/escpwidget.cpp b/tdeprint/tools/escputil/escpwidget.cpp
index 59ae3982d..a3a395aaf 100644
--- a/tdeprint/tools/escputil/escpwidget.cpp
+++ b/tdeprint/tools/escputil/escpwidget.cpp
@@ -243,7 +243,7 @@ void EscpWidget::slotReceivedStderr(TDEProcess*, char *buf, int len)
void EscpWidget::slotButtonClicked()
{
- TQString arg = TQT_TQOBJECT_CONST(sender())->name();
+ TQString arg = sender()->name();
startCommand(arg);
}