diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:24:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:24:53 -0600 |
commit | d9b70de56a7c1ce685cc8fd119d9b004e1fbfdee (patch) | |
tree | 64b2d68617a65f38415feee55540640ec579eda9 /kradio3/plugins | |
parent | f2f2c5781e60ffdf342231c2844a6d47f332b4ca (diff) | |
download | tderadio-d9b70de56a7c1ce685cc8fd119d9b004e1fbfdee.tar.gz tderadio-d9b70de56a7c1ce685cc8fd119d9b004e1fbfdee.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kradio3/plugins')
-rw-r--r-- | kradio3/plugins/gui-error-log/errorlog.cpp | 8 | ||||
-rw-r--r-- | kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp | 4 | ||||
-rw-r--r-- | kradio3/plugins/recording/recording-monitor.cpp | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/kradio3/plugins/gui-error-log/errorlog.cpp b/kradio3/plugins/gui-error-log/errorlog.cpp index 664538b..7f711c2 100644 --- a/kradio3/plugins/gui-error-log/errorlog.cpp +++ b/kradio3/plugins/gui-error-log/errorlog.cpp @@ -56,7 +56,7 @@ ErrorLog::ErrorLog(const TQString &name) { TQWidget::setCaption(i18n("KRadio Logger")); TQFrame *info = addPage(i18n("Information"), i18n("Information"), - KGlobal::instance()->iconLoader()->loadIcon( + TDEGlobal::instance()->iconLoader()->loadIcon( "messagebox_info", KIcon::NoGroup, KIcon::SizeMedium ) ); @@ -71,7 +71,7 @@ ErrorLog::ErrorLog(const TQString &name) TQFrame *warn = addPage(i18n("Warnings"), i18n("Warnings"), - KGlobal::instance()->iconLoader()->loadIcon( + TDEGlobal::instance()->iconLoader()->loadIcon( "messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium ) ); @@ -86,7 +86,7 @@ ErrorLog::ErrorLog(const TQString &name) TQFrame *err = addPage(i18n("Errors"), i18n("Errors"), - KGlobal::instance()->iconLoader()->loadIcon( + TDEGlobal::instance()->iconLoader()->loadIcon( "messagebox_critical", KIcon::NoGroup, KIcon::SizeMedium ) ); @@ -99,7 +99,7 @@ ErrorLog::ErrorLog(const TQString &name) logError(i18n("logging started")); TQFrame *debug = addPage(i18n("Debugging"), i18n("Debugging"), - KGlobal::instance()->iconLoader()->loadIcon( + TDEGlobal::instance()->iconLoader()->loadIcon( "find", KIcon::NoGroup, KIcon::SizeMedium ) ); diff --git a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp index f449122..baa69e3 100644 --- a/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp +++ b/kradio3/plugins/gui-standard-display/radioview_frequencyradio.cpp @@ -403,9 +403,9 @@ void RadioViewFrequencyRadio::drawContents(TQPainter *paint) TQString s; if (m_frequency < 10) { - s = i18n("%1 kHz").arg(KGlobal::locale()->formatNumber((int)(m_frequency * 1000), 0)); + s = i18n("%1 kHz").arg(TDEGlobal::locale()->formatNumber((int)(m_frequency * 1000), 0)); } else { - s = i18n("%1 MHz").arg(KGlobal::locale()->formatNumber(m_frequency, 2)); + s = i18n("%1 MHz").arg(TDEGlobal::locale()->formatNumber(m_frequency, 2)); } float pxs = xh_f; diff --git a/kradio3/plugins/recording/recording-monitor.cpp b/kradio3/plugins/recording/recording-monitor.cpp index a249579..48be95b 100644 --- a/kradio3/plugins/recording/recording-monitor.cpp +++ b/kradio3/plugins/recording/recording-monitor.cpp @@ -336,10 +336,10 @@ bool RecordingMonitor::noticeSoundStreamData(SoundStreamID id, double MB = kB / 1024; double GB = MB / 1024; TQString str_size; - str_size = i18n("%1 Byte").arg(KGlobal::locale()->formatNumber((int)B, 0)); - if (kB > 1) str_size = i18n("%1 kB").arg(KGlobal::locale()->formatNumber(kB, 3)); - if (MB > 1) str_size = i18n("%1 MB").arg(KGlobal::locale()->formatNumber(MB, 3)); - if (GB > 1) str_size = i18n("%1 GB").arg(KGlobal::locale()->formatNumber(GB, 3)); + str_size = i18n("%1 Byte").arg(TDEGlobal::locale()->formatNumber((int)B, 0)); + if (kB > 1) str_size = i18n("%1 kB").arg(TDEGlobal::locale()->formatNumber(kB, 3)); + if (MB > 1) str_size = i18n("%1 MB").arg(TDEGlobal::locale()->formatNumber(MB, 3)); + if (GB > 1) str_size = i18n("%1 GB").arg(TDEGlobal::locale()->formatNumber(GB, 3)); m_labelSize->setText(str_size); m_labelRate->setText(i18n("%1 Hz").arg(sf.m_SampleRate)); |