summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:03:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:03:36 -0600
commit0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7 (patch)
treeb55740ff9d132b25792ca3fd60e37497402b5036 /kspread/dialogs
parentac04782336b6a026b44df9d51ba9ca008a712da2 (diff)
downloadkoffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.tar.gz
koffice-0dda6e85e171acf1a73dc8d3d1f67b4fcc9b1ae7.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kspread/dialogs')
-rw-r--r--kspread/dialogs/kspread_dlg_layout.h2
-rw-r--r--kspread/dialogs/kspread_dlg_preference.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_preference.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/kspread/dialogs/kspread_dlg_layout.h b/kspread/dialogs/kspread_dlg_layout.h
index 03c8486b..657850c7 100644
--- a/kspread/dialogs/kspread_dlg_layout.h
+++ b/kspread/dialogs/kspread_dlg_layout.h
@@ -518,7 +518,7 @@ public:
bool isSingleCell() { return ( left == right && top == bottom ); }
bool checkCircle( TQString const & name, TQString const & parent );
- KLocale * locale() const { return m_pView->doc()->locale(); }
+ TDELocale * locale() const { return m_pView->doc()->locale(); }
struct CellBorderFormat
diff --git a/kspread/dialogs/kspread_dlg_preference.cc b/kspread/dialogs/kspread_dlg_preference.cc
index b26e2816..a14312d2 100644
--- a/kspread/dialogs/kspread_dlg_preference.cc
+++ b/kspread/dialogs/kspread_dlg_preference.cc
@@ -157,7 +157,7 @@ parameterLocale::parameterLocale( View* _view, TQVBox *box , char *name )
m_bUpdateLocale=false;
TQGroupBox* tmpTQGroupBox = new TQVGroupBox( i18n("Settings"), box, "GroupBox" );
- KLocale* locale=_view->doc()->locale();
+ TDELocale* locale=_view->doc()->locale();
m_language=new TQLabel( tmpTQGroupBox,"label");
m_number=new TQLabel( tmpTQGroupBox,"label6");
@@ -186,11 +186,11 @@ void parameterLocale::updateDefaultSystemConfig()
{
m_bUpdateLocale=true;
static_cast<Locale*>(m_pView->doc()->locale())->defaultSystemConfig( );
- KLocale* locale=m_pView->doc()->locale();
+ TDELocale* locale=m_pView->doc()->locale();
updateToMatchLocale( locale );
}
-void parameterLocale::updateToMatchLocale(KLocale* locale)
+void parameterLocale::updateToMatchLocale(TDELocale* locale)
{
m_language->setText( i18n("Language: %1").arg( locale->language() ));
m_number->setText( i18n("Default number format: %1").arg( locale->formatNumber(12.55) ));
diff --git a/kspread/dialogs/kspread_dlg_preference.h b/kspread/dialogs/kspread_dlg_preference.h
index bdd2af09..484f26a2 100644
--- a/kspread/dialogs/kspread_dlg_preference.h
+++ b/kspread/dialogs/kspread_dlg_preference.h
@@ -57,7 +57,7 @@ public slots:
/**
* Updates the GUI widgets to match the specified locale.
*/
- void updateToMatchLocale(KLocale* locale);
+ void updateToMatchLocale(TDELocale* locale);
TQLabel *m_shortDate,*m_time,*m_money,*m_date,*m_language,*m_number;
TQPushButton *m_updateButton;