diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:36:24 +0900 |
commit | 6b0cf55d6252a256d9fc5bcb89837bec7f21f40d (patch) | |
tree | d7b0d2851112aab7e3f7f1a8f8f3ea8de4034350 /lib/widgets/propeditor | |
parent | e531a8d913f8e44fd1e7b20b1ef8e60fd2dc7be0 (diff) | |
download | tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.tar.gz tdevelop-6b0cf55d6252a256d9fc5bcb89837bec7f21f40d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/widgets/propeditor')
-rw-r--r-- | lib/widgets/propeditor/pdateedit.cpp | 2 | ||||
-rw-r--r-- | lib/widgets/propeditor/pdatetimeedit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/widgets/propeditor/pdateedit.cpp b/lib/widgets/propeditor/pdateedit.cpp index ed83dbb2..113ec325 100644 --- a/lib/widgets/propeditor/pdateedit.cpp +++ b/lib/widgets/propeditor/pdateedit.cpp @@ -46,7 +46,7 @@ void PDateEdit::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRect& r p->setPen(TQt::NoPen); p->setBrush(cg.background()); p->drawRect(r); - p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDate().toString(Qt::LocalDate)); + p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDate().toString(TQt::LocalDate)); } void PDateEdit::setValue(const TQVariant& value, bool emitChange) diff --git a/lib/widgets/propeditor/pdatetimeedit.cpp b/lib/widgets/propeditor/pdatetimeedit.cpp index 3b8993d3..55a0bdcc 100644 --- a/lib/widgets/propeditor/pdatetimeedit.cpp +++ b/lib/widgets/propeditor/pdatetimeedit.cpp @@ -45,7 +45,7 @@ void PDateTimeEdit::drawViewer(TQPainter* p, const TQColorGroup& cg, const TQRec p->setPen(TQt::NoPen); p->setBrush(cg.background()); p->drawRect(r); - p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDateTime().toString(Qt::LocalDate)); + p->drawText(r, TQt::AlignLeft | TQt::AlignVCenter | TQt::SingleLine, value.toDateTime().toString(TQt::LocalDate)); } void PDateTimeEdit::setValue(const TQVariant& value, bool emitChange) |