summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-09 17:18:13 +0900
committerMichele Calgaro <[email protected]>2023-08-09 17:18:13 +0900
commit23278d259378e17087bf9aeaa5e45974dfb74bce (patch)
tree6f823898e2ef1c01fc119740aa337e885db4d4f8 /tdeprint
parentc0b74ba868682f39c41a9f70ae11297425b711e1 (diff)
downloadtdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.tar.gz
tdelibs-23278d259378e17087bf9aeaa5e45974dfb74bce.zip
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <[email protected]>
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);
}