summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 17:18:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-09 21:29:52 +0900
commit34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (patch)
tree977ab30a83c5a2cbf48f0353b58b915307c66b6e /tdeprint
parent18c573e806f0dcf0a7fcde805aaa528ef11ebc88 (diff)
downloadtdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.tar.gz
tdelibs-34a191d96f3f9223b8c71da76ad6d8f3c2c9863d.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 23278d259378e17087bf9aeaa5e45974dfb74bce)
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);
}