diff options
Diffstat (limited to 'kcontrol/locale/localetime.cpp')
-rw-r--r-- | kcontrol/locale/localetime.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kcontrol/locale/localetime.cpp b/kcontrol/locale/localetime.cpp index 1e31f14f7..4275965d3 100644 --- a/kcontrol/locale/localetime.cpp +++ b/kcontrol/locale/localetime.cpp @@ -29,8 +29,8 @@ #include <tqvaluevector.h> #include <kdialog.h> -#include <ksimpleconfig.h> -#include <kstandarddirs.h> +#include <tdesimpleconfig.h> +#include <tdestandarddirs.h> #include <kdebug.h> #include <kcalendarsystem.h> @@ -198,12 +198,12 @@ TDELocaleConfigTime::TDELocaleConfigTime(TDELocale *_locale, TQGridLayout *lay = new TQGridLayout(this, 7, 2, KDialog::marginHint(), KDialog::spacingHint()); - lay->setAutoAdd(TRUE); + lay->setAutoAdd(true); m_labCalendarSystem = new TQLabel(this, I18N_NOOP("Calendar system:")); m_comboCalendarSystem = new TQComboBox(false, this); - connect(m_comboCalendarSystem, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotCalendarSystemChanged(int))); + connect(m_comboCalendarSystem, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotCalendarSystemChanged(int))); TQStringList tmpCalendars; tmpCalendars << TQString::null << TQString::null; m_comboCalendarSystem->insertStringList(tmpCalendars); @@ -212,29 +212,29 @@ TDELocaleConfigTime::TDELocaleConfigTime(TDELocale *_locale, m_comboTimeFmt = new TQComboBox(true, this); //m_edTimeFmt = m_comboTimeFmt->lineEdit(); //m_edTimeFmt = new TQLineEdit(this); - connect( m_comboTimeFmt, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotTimeFmtChanged(const TQString &) ) ); + connect( m_comboTimeFmt, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotTimeFmtChanged(const TQString &) ) ); m_labDateFmt = new TQLabel(this, I18N_NOOP("Date format:")); m_comboDateFmt = new TQComboBox(true, this); - connect( m_comboDateFmt, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDateFmtChanged(const TQString &) ) ); + connect( m_comboDateFmt, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDateFmtChanged(const TQString &) ) ); m_labDateFmtShort = new TQLabel(this, I18N_NOOP("Short date format:")); m_comboDateFmtShort = new TQComboBox(true, this); - connect( m_comboDateFmtShort, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDateFmtShortChanged(const TQString &) ) ); + connect( m_comboDateFmtShort, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDateFmtShortChanged(const TQString &) ) ); m_labWeekStartDay = new TQLabel(this, I18N_NOOP("First day of the week:")); m_comboWeekStartDay = new TQComboBox(false, this); - connect (m_comboWeekStartDay, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotWeekStartDayChanged(int))); + connect (m_comboWeekStartDay, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotWeekStartDayChanged(int))); updateWeekDayNames(); m_chDateMonthNamePossessive = new TQCheckBox(this, I18N_NOOP("Use declined form of month name")); - connect( m_chDateMonthNamePossessive, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotDateMonthNamePossChanged() ) ); + connect( m_chDateMonthNamePossessive, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotDateMonthNamePossChanged() ) ); lay->setColStretch(1, 1); } @@ -252,7 +252,7 @@ void TDELocaleConfigTime::save() TDEConfig *config = TDEGlobal::config(); TDEConfigGroupSaver saver(config, "Locale"); - KSimpleConfig ent(locate("locale", + TDESimpleConfig ent(locate("locale", TQString::fromLatin1("l10n/%1/entry.desktop") .arg(m_locale->country())), true); ent.setGroup("KCM Locale"); |