From 23278d259378e17087bf9aeaa5e45974dfb74bce Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 9 Aug 2023 17:18:13 +0900 Subject: Drop TQT_TQ*_CONST defines Signed-off-by: Michele Calgaro --- tdeprint/management/kmmainview.cpp | 2 +- tdeprint/tools/escputil/escpwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeprint') 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); } -- cgit v1.2.1