diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 10:51:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-16 10:03:43 +0900 |
commit | a4241b7911d2e0b36edfb02f616b8b282050c0ec (patch) | |
tree | 316c9a3298857645d5da57b682fce707c8e2a907 /kcontrol/locale | |
parent | f9d06cee3d2b4ffe415b1d52c9ad5575643a9e34 (diff) | |
download | tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.tar.gz tdebase-a4241b7911d2e0b36edfb02f616b8b282050c0ec.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/locale')
-rw-r--r-- | kcontrol/locale/kcmlocale.cpp | 42 | ||||
-rw-r--r-- | kcontrol/locale/klocalesample.cpp | 2 | ||||
-rw-r--r-- | kcontrol/locale/localemon.cpp | 32 | ||||
-rw-r--r-- | kcontrol/locale/localenum.cpp | 20 | ||||
-rw-r--r-- | kcontrol/locale/localeother.cpp | 8 | ||||
-rw-r--r-- | kcontrol/locale/localetime.cpp | 24 | ||||
-rw-r--r-- | kcontrol/locale/toplevel.cpp | 92 |
7 files changed, 110 insertions, 110 deletions
diff --git a/kcontrol/locale/kcmlocale.cpp b/kcontrol/locale/kcmlocale.cpp index 3d1736676..be2b1d16f 100644 --- a/kcontrol/locale/kcmlocale.cpp +++ b/kcontrol/locale/kcmlocale.cpp @@ -55,34 +55,34 @@ TDELocaleConfig::TDELocaleConfig(TDELocale *locale, m_labCountry = new TQLabel(this, I18N_NOOP("Country or region:")); m_comboCountry = new KLanguageButton( this ); m_labCountry->setBuddy(m_comboCountry); - connect( m_comboCountry, TQT_SIGNAL(activated(const TQString &)), - this, TQT_SLOT(changedCountry(const TQString &)) ); + connect( m_comboCountry, TQ_SIGNAL(activated(const TQString &)), + this, TQ_SLOT(changedCountry(const TQString &)) ); m_labLang = new TQLabel(this, I18N_NOOP("Languages:")); m_labLang->setAlignment( AlignTop ); m_languages = new TQListBox(this); - connect(m_languages, TQT_SIGNAL(selectionChanged()), - TQT_SLOT(slotCheckButtons())); + connect(m_languages, TQ_SIGNAL(selectionChanged()), + TQ_SLOT(slotCheckButtons())); TQWidget * vb = new TQWidget(this); TQVBoxLayout * boxlay = new TQVBoxLayout(vb, 0, KDialog::spacingHint()); m_addLanguage = new KLanguageButton(TQString::null, vb, I18N_NOOP("Add Language")); boxlay->add(m_addLanguage); - connect(m_addLanguage, TQT_SIGNAL(activated(const TQString &)), - TQT_SLOT(slotAddLanguage(const TQString &))); + connect(m_addLanguage, TQ_SIGNAL(activated(const TQString &)), + TQ_SLOT(slotAddLanguage(const TQString &))); m_removeLanguage = new TQPushButton(vb, I18N_NOOP("Remove Language")); m_upButton = new TQPushButton(vb, I18N_NOOP("Move Up")); m_downButton = new TQPushButton(vb, I18N_NOOP("Move Down")); boxlay->add(m_removeLanguage); boxlay->add(m_upButton); boxlay->add(m_downButton); - connect(m_removeLanguage, TQT_SIGNAL(clicked()), - TQT_SLOT(slotRemoveLanguage())); - connect(m_upButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotLanguageUp())); - connect(m_downButton, TQT_SIGNAL(clicked()), - TQT_SLOT(slotLanguageDown())); + connect(m_removeLanguage, TQ_SIGNAL(clicked()), + TQ_SLOT(slotRemoveLanguage())); + connect(m_upButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotLanguageUp())); + connect(m_downButton, TQ_SIGNAL(clicked()), + TQ_SLOT(slotLanguageDown())); boxlay->insertStretch(-1); // #### HPB: This should be implemented for KDE 3 @@ -113,9 +113,9 @@ TDELocaleConfig::TDELocaleConfig(TDELocale *locale, languageSelectorLayout->addStretch(); lay->addMultiCellLayout(languageSelectorLayout, 3, 3, 0, 2); - connect( installLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotInstallLanguage()) ); - connect( uninstallLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUninstallLanguage()) ); - connect( selectLanguage, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelectLanguage()) ); + connect( installLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotInstallLanguage()) ); + connect( uninstallLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUninstallLanguage()) ); + connect( selectLanguage, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelectLanguage()) ); #endif } @@ -126,8 +126,8 @@ void TDELocaleConfig::slotInstallLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode install"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } @@ -138,8 +138,8 @@ void TDELocaleConfig::slotUninstallLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode uninstall"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } @@ -150,8 +150,8 @@ void TDELocaleConfig::slotSelectLanguage() *proc << "tdesu"; *proc << "qt-language-selector --mode select"; - TQApplication::connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(slotLanguageSelectorExited(TDEProcess *))); + TQApplication::connect(proc, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(slotLanguageSelectorExited(TDEProcess *))); setEnabled(false); proc->start(); } diff --git a/kcontrol/locale/klocalesample.cpp b/kcontrol/locale/klocalesample.cpp index 4e09726b4..aac454061 100644 --- a/kcontrol/locale/klocalesample.cpp +++ b/kcontrol/locale/klocalesample.cpp @@ -78,7 +78,7 @@ TDELocaleSample::TDELocaleSample(TDELocale *locale, lay->setColStretch(1, 3); TQTimer *timer = new TQTimer(this, "clock_timer"); - connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateTime())); + connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotUpdateTime())); timer->start(1000); } diff --git a/kcontrol/locale/localemon.cpp b/kcontrol/locale/localemon.cpp index 6d37cb15f..85bb44195 100644 --- a/kcontrol/locale/localemon.cpp +++ b/kcontrol/locale/localemon.cpp @@ -55,22 +55,22 @@ TDELocaleConfigMoney::TDELocaleConfigMoney(TDELocale *locale, lay->addWidget(m_labMonCurSym, 0, 0); m_edMonCurSym = new TQLineEdit(this); lay->addWidget(m_edMonCurSym, 0, 1); - connect( m_edMonCurSym, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonCurSymChanged(const TQString &) ) ); + connect( m_edMonCurSym, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonCurSymChanged(const TQString &) ) ); m_labMonDecSym = new TQLabel(this, I18N_NOOP("Decimal symbol:")); lay->addWidget(m_labMonDecSym, 1, 0); m_edMonDecSym = new TQLineEdit(this); lay->addWidget(m_edMonDecSym, 1, 1); - connect( m_edMonDecSym, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonDecSymChanged(const TQString &) ) ); + connect( m_edMonDecSym, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonDecSymChanged(const TQString &) ) ); m_labMonThoSep = new TQLabel(this, I18N_NOOP("Thousands separator:")); lay->addWidget(m_labMonThoSep, 2, 0); m_edMonThoSep = new TQLineEdit(this); lay->addWidget(m_edMonThoSep, 2, 1); - connect( m_edMonThoSep, TQT_SIGNAL( textChanged(const TQString &) ), - TQT_SLOT( slotMonThoSepChanged(const TQString &) ) ); + connect( m_edMonThoSep, TQ_SIGNAL( textChanged(const TQString &) ), + TQ_SLOT( slotMonThoSepChanged(const TQString &) ) ); m_labMonFraDig = new TQLabel(this, I18N_NOOP("Fract digits:")); lay->addWidget(m_labMonFraDig, 3, 0); @@ -78,34 +78,34 @@ TDELocaleConfigMoney::TDELocaleConfigMoney(TDELocale *locale, m_inMonFraDig->setRange(0, 10, 1, false); lay->addWidget(m_inMonFraDig, 3, 1); - connect( m_inMonFraDig, TQT_SIGNAL( valueChanged(int) ), - TQT_SLOT( slotMonFraDigChanged(int) ) ); + connect( m_inMonFraDig, TQ_SIGNAL( valueChanged(int) ), + TQ_SLOT( slotMonFraDigChanged(int) ) ); TQWidget *vbox = new TQVBox(this); lay->addMultiCellWidget(vbox, 4, 4, 0, 1); TQVGroupBox *vgrp; vgrp = new TQVGroupBox( vbox, I18N_NOOP("Positive") ); m_chMonPosPreCurSym = new TQCheckBox(vgrp, I18N_NOOP("Prefix currency symbol")); - connect( m_chMonPosPreCurSym, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotMonPosPreCurSymChanged() ) ); + connect( m_chMonPosPreCurSym, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotMonPosPreCurSymChanged() ) ); TQHBox *hbox; hbox = new TQHBox( vgrp ); m_labMonPosMonSignPos = new TQLabel(hbox, I18N_NOOP("Sign position:")); m_cmbMonPosMonSignPos = new TQComboBox(hbox, "signpos"); - connect( m_cmbMonPosMonSignPos, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMonPosMonSignPosChanged(int) ) ); + connect( m_cmbMonPosMonSignPos, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMonPosMonSignPosChanged(int) ) ); vgrp = new TQVGroupBox( vbox, I18N_NOOP("Negative") ); m_chMonNegPreCurSym = new TQCheckBox(vgrp, I18N_NOOP("Prefix currency symbol")); - connect( m_chMonNegPreCurSym, TQT_SIGNAL( clicked() ), - TQT_SLOT( slotMonNegPreCurSymChanged() ) ); + connect( m_chMonNegPreCurSym, TQ_SIGNAL( clicked() ), + TQ_SLOT( slotMonNegPreCurSymChanged() ) ); hbox = new TQHBox( vgrp ); m_labMonNegMonSignPos = new TQLabel(hbox, I18N_NOOP("Sign position:")); m_cmbMonNegMonSignPos = new TQComboBox(hbox, "signpos"); - connect( m_cmbMonNegMonSignPos, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMonNegMonSignPosChanged(int) ) ); + connect( m_cmbMonNegMonSignPos, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMonNegMonSignPosChanged(int) ) ); // insert some items int i = 5; diff --git a/kcontrol/locale/localenum.cpp b/kcontrol/locale/localenum.cpp index ca523d2e9..dcec347b1 100644 --- a/kcontrol/locale/localenum.cpp +++ b/kcontrol/locale/localenum.cpp @@ -47,32 +47,32 @@ TDELocaleConfigNumber::TDELocaleConfigNumber(TDELocale *locale, m_labDecSym = new TQLabel(this, I18N_NOOP("&Decimal symbol:")); m_edDecSym = new TQLineEdit(this); - connect( m_edDecSym, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotDecSymChanged(const TQString &) ) ); + connect( m_edDecSym, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotDecSymChanged(const TQString &) ) ); m_labDecSym->setBuddy(m_edDecSym); m_labThoSep = new TQLabel(this, I18N_NOOP("Tho&usands separator:")); m_edThoSep = new TQLineEdit(this); - connect( m_edThoSep, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotThoSepChanged(const TQString &) ) ); + connect( m_edThoSep, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotThoSepChanged(const TQString &) ) ); m_labThoSep->setBuddy(m_edThoSep); m_labMonPosSign = new TQLabel(this, I18N_NOOP("Positive si&gn:")); m_edMonPosSign = new TQLineEdit(this); - connect( m_edMonPosSign, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotMonPosSignChanged(const TQString &) ) ); + connect( m_edMonPosSign, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotMonPosSignChanged(const TQString &) ) ); m_labMonPosSign->setBuddy(m_edMonPosSign); m_labMonNegSign = new TQLabel(this, I18N_NOOP("&Negative sign:")); m_edMonNegSign = new TQLineEdit(this); - connect( m_edMonNegSign, TQT_SIGNAL( textChanged(const TQString &) ), - this, TQT_SLOT( slotMonNegSignChanged(const TQString &) ) ); + connect( m_edMonNegSign, TQ_SIGNAL( textChanged(const TQString &) ), + this, TQ_SLOT( slotMonNegSignChanged(const TQString &) ) ); m_labMonNegSign->setBuddy(m_edMonNegSign); lay->setColStretch(1, 1); - connect(this, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotLocaleChanged())); } TDELocaleConfigNumber::~TDELocaleConfigNumber() diff --git a/kcontrol/locale/localeother.cpp b/kcontrol/locale/localeother.cpp index 6cb8e9a8d..e2fdd910e 100644 --- a/kcontrol/locale/localeother.cpp +++ b/kcontrol/locale/localeother.cpp @@ -49,15 +49,15 @@ TDELocaleConfigOther::TDELocaleConfigOther(TDELocale *locale, lay->addWidget(m_labPageSize, 0, 0); m_combPageSize = new TQComboBox(this); lay->addWidget(m_combPageSize, 0, 1); - connect( m_combPageSize, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotPageSizeChanged(int) ) ); + connect( m_combPageSize, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotPageSizeChanged(int) ) ); m_labMeasureSystem = new TQLabel(this, I18N_NOOP("Measure system:")); lay->addWidget(m_labMeasureSystem, 1, 0); m_combMeasureSystem = new TQComboBox(this); lay->addWidget(m_combMeasureSystem, 1, 1); - connect( m_combMeasureSystem, TQT_SIGNAL( activated(int) ), - TQT_SLOT( slotMeasureSystemChanged(int) ) ); + connect( m_combMeasureSystem, TQ_SIGNAL( activated(int) ), + TQ_SLOT( slotMeasureSystemChanged(int) ) ); m_combPageSize->insertItem(TQString::null); m_combPageSize->insertItem(TQString::null); diff --git a/kcontrol/locale/localetime.cpp b/kcontrol/locale/localetime.cpp index 1e31f14f7..f9622dde5 100644 --- a/kcontrol/locale/localetime.cpp +++ b/kcontrol/locale/localetime.cpp @@ -202,8 +202,8 @@ TDELocaleConfigTime::TDELocaleConfigTime(TDELocale *_locale, 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); } diff --git a/kcontrol/locale/toplevel.cpp b/kcontrol/locale/toplevel.cpp index 339405461..a0562c5fa 100644 --- a/kcontrol/locale/toplevel.cpp +++ b/kcontrol/locale/toplevel.cpp @@ -84,64 +84,64 @@ TDELocaleApplication::TDELocaleApplication(TQWidget *parent, const char* /*name* m_sample = new TDELocaleSample(m_locale, m_gbox); // getting signals from childs - connect(m_localemain, TQT_SIGNAL(localeChanged()), - this, TQT_SIGNAL(localeChanged())); - connect(m_localemain, TQT_SIGNAL(languageChanged()), - this, TQT_SIGNAL(languageChanged())); + connect(m_localemain, TQ_SIGNAL(localeChanged()), + this, TQ_SIGNAL(localeChanged())); + connect(m_localemain, TQ_SIGNAL(languageChanged()), + this, TQ_SIGNAL(languageChanged())); // run the slots on the childs - connect(this, TQT_SIGNAL(localeChanged()), - m_localemain, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localenum, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localemon, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localetime, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_localeother, TQT_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localemain, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localenum, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localemon, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localetime, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_localeother, TQ_SLOT(slotLocaleChanged())); // keep the example up to date // NOTE: this will make the sample be updated 6 times the first time // because combo boxes++ emits the change signal not only when the user changes // it, but also when it's changed by the program. - connect(m_localenum, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); - connect(m_localemon, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); - connect(m_localetime, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); + connect(m_localenum, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); + connect(m_localemon, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); + connect(m_localetime, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); // No examples for this yet - //connect(m_localeother, TQT_SIGNAL(slotLocaleChanged()), - //m_sample, TQT_SLOT(slotLocaleChanged())); - connect(this, TQT_SIGNAL(localeChanged()), - m_sample, TQT_SLOT(slotLocaleChanged())); + //connect(m_localeother, TQ_SIGNAL(slotLocaleChanged()), + //m_sample, TQ_SLOT(slotLocaleChanged())); + connect(this, TQ_SIGNAL(localeChanged()), + m_sample, TQ_SLOT(slotLocaleChanged())); // make sure we always have translated interface - connect(this, TQT_SIGNAL(languageChanged()), - this, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localemain, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localenum, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localemon, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localetime, TQT_SLOT(slotTranslate())); - connect(this, TQT_SIGNAL(languageChanged()), - m_localeother, TQT_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + this, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localemain, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localenum, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localemon, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localetime, TQ_SLOT(slotTranslate())); + connect(this, TQ_SIGNAL(languageChanged()), + m_localeother, TQ_SLOT(slotTranslate())); // mark it as changed when we change it. - connect(m_localemain, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localenum, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localemon, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localetime, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); - connect(m_localeother, TQT_SIGNAL(localeChanged()), - TQT_SLOT(slotChanged())); + connect(m_localemain, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localenum, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localemon, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localetime, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); + connect(m_localeother, TQ_SIGNAL(localeChanged()), + TQ_SLOT(slotChanged())); load(); } |