From 2a3ced9fbd85b4fdbfa9b0a91f8d22e35ceaf6b5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:19:29 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- src/projects/k3bfillstatusdisplay.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/projects/k3bfillstatusdisplay.cpp') diff --git a/src/projects/k3bfillstatusdisplay.cpp b/src/projects/k3bfillstatusdisplay.cpp index e71db6e..15534b5 100644 --- a/src/projects/k3bfillstatusdisplay.cpp +++ b/src/projects/k3bfillstatusdisplay.cpp @@ -287,7 +287,7 @@ public: void maybeTip( const TQPoint& ) { tip( parentWidget()->rect(), KIO::convertSize( m_doc->size() ) + - " (" + KGlobal::locale()->formatNumber( m_doc->size(), 0 ) + "), " + + " (" + TDEGlobal::locale()->formatNumber( m_doc->size(), 0 ) + "), " + m_doc->length().toString(false) + " " + i18n("min") + " (" + i18n("Right click for media sizes") + ")"); } @@ -542,13 +542,13 @@ void K3bFillStatusDisplay::slotCustomSize() TQString mbS = i18n("mb"); TQString minS = i18n("min"); - TQRegExp rx( "(\\d+\\" + KGlobal::locale()->decimalSymbol() + "?\\d*)(" + gbS + "|" + mbS + "|" + minS + ")?" ); + TQRegExp rx( "(\\d+\\" + TDEGlobal::locale()->decimalSymbol() + "?\\d*)(" + gbS + "|" + mbS + "|" + minS + ")?" ); bool ok; TQString size = KInputDialog::getText( i18n("Custom Size"), i18n("

Please specify the size of the media. Use suffixes gb,mb, " "and min for gigabytes, megabytes, and minutes" " respectively."), - d->showDvdSizes ? TQString("4%14%2").arg(KGlobal::locale()->decimalSymbol()).arg(gbS) : + d->showDvdSizes ? TQString("4%14%2").arg(TDEGlobal::locale()->decimalSymbol()).arg(gbS) : (d->showTime ? TQString("74")+minS : TQString("650")+mbS), &ok, this, (const char*)0, new TQRegExpValidator( rx, TQT_TQOBJECT(this) ) ); @@ -556,9 +556,9 @@ void K3bFillStatusDisplay::slotCustomSize() // determine size if( rx.exactMatch( size ) ) { TQString valStr = rx.cap(1); - if( valStr.endsWith( KGlobal::locale()->decimalSymbol() ) ) + if( valStr.endsWith( TDEGlobal::locale()->decimalSymbol() ) ) valStr += "0"; - double val = KGlobal::locale()->readNumber( valStr, &ok ); + double val = TDEGlobal::locale()->readNumber( valStr, &ok ); if( ok ) { TQString s = rx.cap(2); if( s == gbS || (s.isEmpty() && d->showDvdSizes) ) -- cgit v1.2.3