diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:44:46 -0600 |
commit | cee429821aa6f1acc97fb482d325fb4eb37376ca (patch) | |
tree | 4f55e04b7f000c854fe2b8347dcdb62d97de3c73 /kalzium/src/detailinfodlg.cpp | |
parent | ab801f72ab45e8066a8ec6c533ef13c2da67e559 (diff) | |
download | tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.tar.gz tdeedu-cee429821aa6f1acc97fb482d325fb4eb37376ca.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kalzium/src/detailinfodlg.cpp')
-rw-r--r-- | kalzium/src/detailinfodlg.cpp | 8 |
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>" ); |