diff options
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kbugreport.cpp | 2 | ||||
-rw-r--r-- | tdeui/kdatewidget.cpp | 4 | ||||
-rw-r--r-- | tdeui/knuminput.h | 2 | ||||
-rw-r--r-- | tdeui/knumvalidator.cpp | 2 | ||||
-rw-r--r-- | tdeui/knumvalidator.h | 6 | ||||
-rw-r--r-- | tdeui/kswitchlanguagedialog.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/kcolordlgtest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/kdatepicktest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/kdatetimewidgettest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/kdatewidgettest.cpp | 2 | ||||
-rw-r--r-- | tdeui/tests/ktimewidgettest.cpp | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/tdeui/kbugreport.cpp b/tdeui/kbugreport.cpp index a6267b039..efee22366 100644 --- a/tdeui/kbugreport.cpp +++ b/tdeui/kbugreport.cpp @@ -460,7 +460,7 @@ TQString KBugReport::text() const bodyText += line; } - if (severity == TQString::fromLatin1("i18n") && TDEGlobal::locale()->language() != KLocale::defaultLanguage()) { + if (severity == TQString::fromLatin1("i18n") && TDEGlobal::locale()->language() != TDELocale::defaultLanguage()) { // Case 1 : i18n bug TQString package = TQString::fromLatin1("i18n_%1").arg(TDEGlobal::locale()->language()); package = package.replace(TQString::fromLatin1("_"), TQString::fromLatin1("-")); diff --git a/tdeui/kdatewidget.cpp b/tdeui/kdatewidget.cpp index cb690b0ea..2f240a256 100644 --- a/tdeui/kdatewidget.cpp +++ b/tdeui/kdatewidget.cpp @@ -72,7 +72,7 @@ KDateWidget::KDateWidget( TQDate date, TQWidget *parent, void KDateWidget::init() { d = new KDateWidgetPrivate; - KLocale *locale = TDEGlobal::locale(); + TDELocale *locale = TDEGlobal::locale(); TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); layout->setAutoAdd(true); d->m_day = new KDateWidgetSpinBox(1, 1, this); @@ -96,7 +96,7 @@ void KDateWidget::init() void KDateWidget::init(const TQDate& date) { d = new KDateWidgetPrivate; - KLocale *locale = TDEGlobal::locale(); + TDELocale *locale = TDEGlobal::locale(); TQHBoxLayout *layout = new TQHBoxLayout(this, 0, KDialog::spacingHint()); layout->setAutoAdd(true); d->m_day = new KDateWidgetSpinBox(1, 1, this); diff --git a/tdeui/knuminput.h b/tdeui/knuminput.h index 9b7121e79..4716d8051 100644 --- a/tdeui/knuminput.h +++ b/tdeui/knuminput.h @@ -863,7 +863,7 @@ public: bool acceptLocalizedNumbers() const; /** Sets whether to use and accept localized numbers as returned by - KLocale::formatNumber() */ + TDELocale::formatNumber() */ virtual void setAcceptLocalizedNumbers( bool accept ); /** Sets a new range for the spin box values. Note that @p lower, @p diff --git a/tdeui/knumvalidator.cpp b/tdeui/knumvalidator.cpp index 89f0ca88c..ce5c66842 100644 --- a/tdeui/knumvalidator.cpp +++ b/tdeui/knumvalidator.cpp @@ -326,7 +326,7 @@ void KDoubleValidator::setAcceptLocalizedNumbers( bool accept ) { TQValidator::State KDoubleValidator::validate( TQString & input, int & p ) const { TQString s = input; if ( acceptLocalizedNumbers() ) { - KLocale * l = TDEGlobal::locale(); + TDELocale * l = TDEGlobal::locale(); // ok, we have to re-format the number to have: // 1. decimalSymbol == '.' // 2. negativeSign == '-' diff --git a/tdeui/knumvalidator.h b/tdeui/knumvalidator.h index 8fa2ea76e..5c7b31484 100644 --- a/tdeui/knumvalidator.h +++ b/tdeui/knumvalidator.h @@ -147,7 +147,7 @@ class TDEUI_EXPORT KFloatValidator : public TQValidator { virtual double top () const; /** * Sets the validator to be locale aware if @p is true. In this case, the - * character KLocale::decimalSymbol() from the global locale is recognized + * character TDELocale::decimalSymbol() from the global locale is recognized * as decimal separator. */ void setAcceptLocalizedNumbers(bool b); @@ -169,8 +169,8 @@ class TDEUI_EXPORT KFloatValidator : public TQValidator { KDoubleValidator extends TQDoubleValidator to be locale-aware. That means that - subject to not being disabled - - KLocale::decimalSymbol(), KLocale::thousandsSeparator() - and KLocale::positiveSign() and KLocale::negativeSign() + TDELocale::decimalSymbol(), TDELocale::thousandsSeparator() + and TDELocale::positiveSign() and TDELocale::negativeSign() are respected. @author Marc Mutz <mutz@kde.org> diff --git a/tdeui/kswitchlanguagedialog.cpp b/tdeui/kswitchlanguagedialog.cpp index 57f1dee15..c9bb7552a 100644 --- a/tdeui/kswitchlanguagedialog.cpp +++ b/tdeui/kswitchlanguagedialog.cpp @@ -241,7 +241,7 @@ KSwitchLanguageDialogPrivate::KSwitchLanguageDialogPrivate( void KSwitchLanguageDialogPrivate::fillApplicationLanguages(KLanguageButton *button) { - KLocale *locale = TDEGlobal::locale(); + TDELocale *locale = TDEGlobal::locale(); TQStringList allLanguages = locale->allLanguagesTwoAlpha(); for ( TQStringList::ConstIterator it = allLanguages.begin(); it != allLanguages.end(); ++it ) { diff --git a/tdeui/tests/kcolordlgtest.cpp b/tdeui/tests/kcolordlgtest.cpp index 1a506cbc0..23c0b89ea 100644 --- a/tdeui/tests/kcolordlgtest.cpp +++ b/tdeui/tests/kcolordlgtest.cpp @@ -26,7 +26,7 @@ int main( int argc, char *argv[] ) { TQColor color; - KLocale::setMainCatalogue("tdelibs"); + TDELocale::setMainCatalogue("tdelibs"); TQApplication::setColorMode( TQApplication::CustomColors ); TDEApplication a( argc, argv, "KColorDialogTest" ); TDEConfig aConfig; diff --git a/tdeui/tests/kdatepicktest.cpp b/tdeui/tests/kdatepicktest.cpp index da5e872e1..df8bc7013 100644 --- a/tdeui/tests/kdatepicktest.cpp +++ b/tdeui/tests/kdatepicktest.cpp @@ -5,7 +5,7 @@ int main(int argc, char** argv) { - KLocale::setMainCatalogue("tdelibs"); + TDELocale::setMainCatalogue("tdelibs"); TDEApplication app(argc, argv, "KDatePickertest"); KDatePicker picker; app.setMainWidget(&picker); diff --git a/tdeui/tests/kdatetimewidgettest.cpp b/tdeui/tests/kdatetimewidgettest.cpp index 55ba7cbea..9b158faf8 100644 --- a/tdeui/tests/kdatetimewidgettest.cpp +++ b/tdeui/tests/kdatetimewidgettest.cpp @@ -4,7 +4,7 @@ int main(int argc, char** argv) { - KLocale::setMainCatalogue("tdelibs"); + TDELocale::setMainCatalogue("tdelibs"); TDEApplication app(argc, argv, "KDateTimeWidgettest"); KDateTimeWidget dateTimeWidget; app.setMainWidget(&dateTimeWidget); diff --git a/tdeui/tests/kdatewidgettest.cpp b/tdeui/tests/kdatewidgettest.cpp index 6e1c8d504..16521da20 100644 --- a/tdeui/tests/kdatewidgettest.cpp +++ b/tdeui/tests/kdatewidgettest.cpp @@ -5,7 +5,7 @@ int main(int argc, char** argv) { - KLocale::setMainCatalogue("tdelibs"); + TDELocale::setMainCatalogue("tdelibs"); TDEApplication app(argc, argv, "KDateWidgettest"); KDateWidget dateWidget; app.setMainWidget(&dateWidget); diff --git a/tdeui/tests/ktimewidgettest.cpp b/tdeui/tests/ktimewidgettest.cpp index fe56c6df7..f4465fbf7 100644 --- a/tdeui/tests/ktimewidgettest.cpp +++ b/tdeui/tests/ktimewidgettest.cpp @@ -4,7 +4,7 @@ int main(int argc, char** argv) { - KLocale::setMainCatalogue("tdelibs"); + TDELocale::setMainCatalogue("tdelibs"); TDEApplication app(argc, argv, "KTimeWidgettest"); KTimeWidget timeWidget; app.setMainWidget(&timeWidget); |