summaryrefslogtreecommitdiffstats
path: root/kalzium/src/detailinfodlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/detailinfodlg.cpp')
-rw-r--r--kalzium/src/detailinfodlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/detailinfodlg.cpp b/kalzium/src/detailinfodlg.cpp
index 8a1ace69..c9791771 100644
--- a/kalzium/src/detailinfodlg.cpp
+++ b/kalzium/src/detailinfodlg.cpp
@@ -53,11 +53,11 @@ DetailedInfoDlg::DetailedInfoDlg( Element *el , TQWidget *parent, const char *na
{
m_element = el;
- m_baseHtml = KGlobal::dirs()->findResourceDir("data", "kalzium/data/" );
+ m_baseHtml = TDEGlobal::dirs()->findResourceDir("data", "kalzium/data/" );
m_baseHtml.append("kalzium/data/htmlview/");
m_baseHtml.append("style.css");
- m_picsdir = KGlobal::dirs()->findResourceDir( "appdata", "elempics/" ) + "elempics/";
+ m_picsdir = TDEGlobal::dirs()->findResourceDir( "appdata", "elempics/" ) + "elempics/";
( actionButton( KDialogBase::Close ) )->setFocus();
@@ -176,7 +176,7 @@ TQString DetailedInfoDlg::getHtml(DATATYPE type)
if ( m_element->abundance() > 0 ){
html.append( "<tr><td><img src=\"abundance.png\" alt=\"icon\"/></td><td>" );
- html.append( i18n( "Abundance in crustal rocks: %1 ppm" ).arg( KGlobal::locale()->formatLong( m_element->abundance() ) ) );
+ html.append( i18n( "Abundance in crustal rocks: %1 ppm" ).arg( TDEGlobal::locale()->formatLong( m_element->abundance() ) ) );
html.append( "</td></tr>" );
}
@@ -319,7 +319,7 @@ TQString DetailedInfoDlg::isotopeTable()
html.append( ( *it )->spin() );
html.append( "</td><td>" );
if ( !( *it )->magmoment().isEmpty() ) {
- TQString v = KGlobal::locale()->formatNumber( ( *it )->magmoment(), false, 6 );
+ TQString v = TDEGlobal::locale()->formatNumber( ( *it )->magmoment(), false, 6 );
html.append( i18n( "%1 %2<sub>n</sub>" ).arg( v ).arg( TQChar( 956 ) ) );
}
html.append( "</td></tr>" );