summaryrefslogtreecommitdiffstats
path: root/tdeprint/tools/escputil/escpwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tools/escputil/escpwidget.cpp')
-rw-r--r--tdeprint/tools/escputil/escpwidget.cpp4
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;
}
};