summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale/klocalesample.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:29:23 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:26 +0200
commit6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (patch)
treeb3de8cec6a2df2306a13d2d884ea95a8f0c207d2 /kcontrol/locale/klocalesample.cpp
parent6ca5e6d65a74d794637953bfea85c42e3bf828dd (diff)
downloadtdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.tar.gz
tdebase-6a1f2b1b6b19b0dd47b1e58afff29a12ae158226.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 628043be55ddd2f534411d028e4f68c8fe4eaabb)
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 69c92abc7..d97010b97 100644
--- a/kcontrol/locale/klocalesample.cpp
+++ b/kcontrol/locale/klocalesample.cpp
@@ -88,7 +88,7 @@ KLocaleSample::~KLocaleSample()
void KLocaleSample::slotUpdateTime()
{
- TQDateTime dt = TQDateTime::tqcurrentDateTime();
+ 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));
@@ -98,11 +98,11 @@ void KLocaleSample::slotUpdateTime()
void KLocaleSample::slotLocaleChanged()
{
m_numberSample->setText(m_locale->formatNumber(1234567.89) +
- TQString::tqfromLatin1(" / ") +
+ TQString::fromLatin1(" / ") +
m_locale->formatNumber(-1234567.89));
m_moneySample->setText(m_locale->formatMoney(123456789.00) +
- TQString::tqfromLatin1(" / ") +
+ TQString::fromLatin1(" / ") +
m_locale->formatMoney(-123456789.00));
slotUpdateTime();