diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-26 18:42:01 +0900 |
commit | 2a3a62bb995b73481a8a64658266adf22e523f7b (patch) | |
tree | 17e63d11e590bd93137dee185ff1342873f4ddea /tdeprint/tools | |
parent | af8caeadf368a17dabd9f53d4c661213c840eebd (diff) | |
download | tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
Diffstat (limited to 'tdeprint/tools')
-rw-r--r-- | tdeprint/tools/escputil/escpwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/tools/escputil/escpwidget.cpp b/tdeprint/tools/escputil/escpwidget.cpp index a3a395aaf..f1584bbe3 100644 --- a/tdeprint/tools/escputil/escpwidget.cpp +++ b/tdeprint/tools/escputil/escpwidget.cpp @@ -42,14 +42,14 @@ protected: TQObject* createObject(TQObject *parent = 0, const char *name = 0, const char * className = "TQObject", const TQStringList& args = TQStringList()) { Q_UNUSED(className); - KDialogBase *dlg = new KDialogBase(TQT_TQWIDGET(parent), name, true, i18n("EPSON InkJet Printer Utilities"), KDialogBase::Close); + KDialogBase *dlg = new KDialogBase(static_cast<TQWidget*>(parent), name, true, i18n("EPSON InkJet Printer Utilities"), KDialogBase::Close); EscpWidget *w = new EscpWidget(dlg); if (args.count() > 0) w->setDevice(args[0]); if (args.count() > 1) w->setPrinterName(args[1]); dlg->setMainWidget(w); - return TQT_TQOBJECT(dlg); + return dlg; } }; |