summaryrefslogtreecommitdiffstats
path: root/kcontrol/locale/localetime.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:10:07 +0000
commitfd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch)
tree9eda848e56fcb862fdfdf479adeccd95b6fe387a /kcontrol/locale/localetime.cpp
parent02f67d0e1355b79b1806746efb0f2f640e57f13d (diff)
downloadtdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz
tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/locale/localetime.cpp')
-rw-r--r--kcontrol/locale/localetime.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kcontrol/locale/localetime.cpp b/kcontrol/locale/localetime.cpp
index 17b78a79c..2519ea794 100644
--- a/kcontrol/locale/localetime.cpp
+++ b/kcontrol/locale/localetime.cpp
@@ -253,28 +253,28 @@ void KLocaleConfigTime::save()
KConfigGroupSaver saver(config, "Locale");
KSimpleConfig ent(locate("locale",
- TQString::tqfromLatin1("l10n/%1/entry.desktop")
+ TQString::fromLatin1("l10n/%1/entry.desktop")
.arg(m_locale->country())), true);
ent.setGroup("KCM Locale");
TQString str;
- str = ent.readEntry("CalendarSystem", TQString::tqfromLatin1("gregorian"));
+ str = ent.readEntry("CalendarSystem", TQString::fromLatin1("gregorian"));
config->deleteEntry("CalendarSystem", false, true);
if (str != m_locale->calendarType())
config->writeEntry("CalendarSystem", m_locale->calendarType(), true, true);
- str = ent.readEntry("TimeFormat", TQString::tqfromLatin1("%H:%M:%S"));
+ str = ent.readEntry("TimeFormat", TQString::fromLatin1("%H:%M:%S"));
config->deleteEntry("TimeFormat", false, true);
if (str != m_locale->timeFormat())
config->writeEntry("TimeFormat", m_locale->timeFormat(), true, true);
- str = ent.readEntry("DateFormat", TQString::tqfromLatin1("%A %d %B %Y"));
+ str = ent.readEntry("DateFormat", TQString::fromLatin1("%A %d %B %Y"));
config->deleteEntry("DateFormat", false, true);
if (str != m_locale->dateFormat())
config->writeEntry("DateFormat", m_locale->dateFormat(), true, true);
- str = ent.readEntry("DateFormatShort", TQString::tqfromLatin1("%Y-%m-%d"));
+ str = ent.readEntry("DateFormatShort", TQString::fromLatin1("%Y-%m-%d"));
config->deleteEntry("DateFormatShort", false, true);
if (str != m_locale->dateFormatShort())
config->writeEntry("DateFormatShort",
@@ -345,7 +345,7 @@ void KLocaleConfigTime::slotLocaleChanged()
TQString calendarType = m_locale->calendarType();
int calendarSystem = 0;
- CalendarVector::iterator it = tqFind(calendars.begin(), calendars.end(),
+ CalendarVector::iterator it = qFind(calendars.begin(), calendars.end(),
calendarType);
if ( it != calendars.end() )
calendarSystem = it - calendars.begin();
@@ -371,7 +371,7 @@ calendarType);
kdDebug(173) << storeToUser(timeMap(),
m_locale->timeFormat()) << endl;
kdDebug(173) << userToStore(timeMap(),
- TQString::tqfromLatin1("HH:MM:SS AMPM test")) << endl;
+ TQString::fromLatin1("HH:MM:SS AMPM test")) << endl;
}
@@ -416,7 +416,7 @@ void KLocaleConfigTime::slotTranslate()
{
TQString str;
- TQString sep = TQString::tqfromLatin1("\n");
+ TQString sep = TQString::fromLatin1("\n");
TQString old;
@@ -462,7 +462,7 @@ void KLocaleConfigTime::slotTranslate()
str = m_locale->translate
("<p>The text in this textbox will be used to format "
- "time strings. The sequences below will be tqreplaced:</p>"
+ "time strings. The sequences below will be replaced:</p>"
"<table>"
"<tr><td><b>HH</b></td><td>The hour as a decimal number using a 24-hour "
"clock (00-23).</td></tr>"
@@ -506,14 +506,14 @@ void KLocaleConfigTime::slotTranslate()
str = m_locale->translate
( "<p>The text in this textbox will be used to format long "
- "dates. The sequences below will be tqreplaced:</p>") + datecodes;
+ "dates. The sequences below will be replaced:</p>") + datecodes;
TQWhatsThis::add( m_labDateFmt, str );
TQWhatsThis::add( m_comboDateFmt, str );
str = m_locale->translate
( "<p>The text in this textbox will be used to format short "
"dates. For instance, this is used when listing files. "
- "The sequences below will be tqreplaced:</p>") + datecodes;
+ "The sequences below will be replaced:</p>") + datecodes;
TQWhatsThis::add( m_labDateFmtShort, str );
TQWhatsThis::add( m_comboDateFmtShort, str );