diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:23:24 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:23:24 -0600 |
commit | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch) | |
tree | fb31321c80b12ee8e2237bdcf8c228fe44e67772 /kplato/kptdurationwidget.ui.h | |
parent | fe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff) | |
download | koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kplato/kptdurationwidget.ui.h')
-rw-r--r-- | kplato/kptdurationwidget.ui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kplato/kptdurationwidget.ui.h b/kplato/kptdurationwidget.ui.h index 4380c92e..837114d8 100644 --- a/kplato/kptdurationwidget.ui.h +++ b/kplato/kptdurationwidget.ui.h @@ -81,7 +81,7 @@ do \ void DurationWidget::init() { // Use the user's decimal point! - m_decimalPoint = KGlobal::locale()->decimalSymbol(); + m_decimalPoint = TDEGlobal::locale()->decimalSymbol(); //NOTE: // This isn't as flexible/general as Shaheed once made it. @@ -305,7 +305,7 @@ void DurationWidget::handleLostFocus( // Get the text and start processing... TQString newValue(current->text()); - double v = KGlobal::locale()->readNumber(newValue); + double v = TDEGlobal::locale()->readNumber(newValue); unsigned currentValue = 0; TQString tmp; //kdDebug()<<k_funcinfo<<field<<": value="<<v<<" v="<<v<<endl; @@ -319,7 +319,7 @@ void DurationWidget::handleLostFocus( // Get remainder. v = v - (tmp.toUInt() * leftScale); - newValue = KGlobal::locale()->formatNumber(v); + newValue = TDEGlobal::locale()->formatNumber(v); } int point = newValue.find(m_decimalPoint); if (point != -1) @@ -332,11 +332,11 @@ void DurationWidget::handleLostFocus( //kdDebug()<<k_funcinfo<<field<<": value="<<newValue<<" rightScale="<<rightScale<<" frac="<<frac<<" ("<<newValue.mid(point)<<")"<<endl; // Propagate fraction v = rightScale * (frac*power(10.0, -p)); - frac = fraction(KGlobal::locale()->formatNumber(v, 19), 0); + frac = fraction(TDEGlobal::locale()->formatNumber(v, 19), 0); //kdDebug()<<k_funcinfo<<field<<": v="<<v<<" ("<<(unsigned)v<<") rest="<<frac<<endl; if (frac > 0.0) { - tmp = KGlobal::locale()->formatNumber(v, 19); + tmp = TDEGlobal::locale()->formatNumber(v, 19); right->setText(tmp); handleLostFocus(field + 1); } else { @@ -449,7 +449,7 @@ double DurationWidget::fraction(TQString number, int *exp) { } else { v = number.mid(point); } - return KGlobal::locale()->readNumber(v); + return TDEGlobal::locale()->readNumber(v); } } //KPlato namespace |