summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale/klocalesample.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:20:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 20:10:54 +0900
commit196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch)
tree0f9de901a6b71ee79c80a8186ac3b985998e55b0 /kcontrol/locale/klocalesample.cpp
parent311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff)
downloadtdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.tar.gz
tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
Diffstat (limited to 'kcontrol/locale/klocalesample.cpp')
-rw-r--r--kcontrol/locale/klocalesample.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/locale/klocalesample.cpp b/kcontrol/locale/klocalesample.cpp
index 9903965e8..1f34e9c89 100644
--- a/kcontrol/locale/klocalesample.cpp
+++ b/kcontrol/locale/klocalesample.cpp
@@ -90,9 +90,9 @@ void TDELocaleSample::slotUpdateTime()
{
TQDateTime dt = TQDateTime::currentDateTime();
- m_dateSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), false));
- m_dateShortSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), true));
- m_timeSample->setText(m_locale->formatTime(TQT_TQTIME_OBJECT(dt.time()), true));
+ m_dateSample->setText(m_locale->formatDate(dt.date(), false));
+ m_dateShortSample->setText(m_locale->formatDate(dt.date(), true));
+ m_timeSample->setText(m_locale->formatTime(dt.time(), true));
}
void TDELocaleSample::slotLocaleChanged()