diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 23:33:05 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:50:29 +0900 |
commit | 779f24c66a7e60b3394b3b2563e160802ac38906 (patch) | |
tree | 9828b696c3d80cac778e253b4b138913cd838621 /plugins | |
parent | 68fa0b1ca5a272e06f72ea917c8abd2e2ee0f751 (diff) | |
download | tderadio-779f24c66a7e60b3394b3b2563e160802ac38906.tar.gz tderadio-779f24c66a7e60b3394b3b2563e160802ac38906.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit e470a86df30e2a0c0d3ea8c4f67112795071617a)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/alsa-sound/alsa-sound-configuration.cpp | 2 | ||||
-rw-r--r-- | plugins/gui-docking-menu/docking.cpp | 2 | ||||
-rw-r--r-- | plugins/gui-error-log/errorlog.cpp | 8 | ||||
-rw-r--r-- | plugins/gui-standard-display/displaycfg.cpp | 2 | ||||
-rw-r--r-- | plugins/gui-standard-display/radioview_frequencyseeker.cpp | 2 | ||||
-rw-r--r-- | plugins/gui-standard-display/radioview_volume.cpp | 2 | ||||
-rw-r--r-- | plugins/recording/encoder_mp3.cpp | 2 | ||||
-rw-r--r-- | plugins/recording/encoder_ogg.cpp | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/plugins/alsa-sound/alsa-sound-configuration.cpp b/plugins/alsa-sound/alsa-sound-configuration.cpp index 9a29e43..bf21210 100644 --- a/plugins/alsa-sound/alsa-sound-configuration.cpp +++ b/plugins/alsa-sound/alsa-sound-configuration.cpp @@ -55,7 +55,7 @@ AlsaSoundConfiguration::AlsaSoundConfiguration (TQWidget *parent, AlsaSoundDevic TQObject::connect(m_comboCaptureCard, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotCaptureCardSelected(const TQString &))); - m_groupMixer->setColumnLayout(0, Qt::Horizontal ); + m_groupMixer->setColumnLayout(0, TQt::Horizontal ); TQHBoxLayout *tmp_layout = new TQHBoxLayout( m_groupMixer->layout() ); diff --git a/plugins/gui-docking-menu/docking.cpp b/plugins/gui-docking-menu/docking.cpp index aae4f3f..5aa5069 100644 --- a/plugins/gui-docking-menu/docking.cpp +++ b/plugins/gui-docking-menu/docking.cpp @@ -437,7 +437,7 @@ void RadioDocking::mousePressEvent( TQMouseEvent *e ) KSystemTray::mousePressEvent(e); switch ( e->button() ) { - case Qt::LeftButton: + case TQt::LeftButton: switch (m_leftClickAction) { case lcaShowHide : ShowHideWidgetPlugins(); diff --git a/plugins/gui-error-log/errorlog.cpp b/plugins/gui-error-log/errorlog.cpp index 1ed8fdf..9e64d69 100644 --- a/plugins/gui-error-log/errorlog.cpp +++ b/plugins/gui-error-log/errorlog.cpp @@ -183,7 +183,7 @@ void ErrorLog::hideEvent(TQHideEvent *e) bool ErrorLog::logError (const TQString &s) { - m_teErrors->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teErrors->append("<i>" + TQDateTime::currentDateTime().toString(TQt::ISODate) + "</i> " + s + "\n"); if (init_done) { showPage(PAGE_ID_ERROR); show(); @@ -193,19 +193,19 @@ bool ErrorLog::logError (const TQString &s) bool ErrorLog::logWarning(const TQString &s) { - m_teWarnings->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teWarnings->append("<i>" + TQDateTime::currentDateTime().toString(TQt::ISODate) + "</i> " + s + "\n"); return true; } bool ErrorLog::logInfo (const TQString &s) { - m_teInfos->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teInfos->append("<i>" + TQDateTime::currentDateTime().toString(TQt::ISODate) + "</i> " + s + "\n"); return true; } bool ErrorLog::logDebug (const TQString &s) { - m_teDebug->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teDebug->append("<i>" + TQDateTime::currentDateTime().toString(TQt::ISODate) + "</i> " + s + "\n"); return true; } diff --git a/plugins/gui-standard-display/displaycfg.cpp b/plugins/gui-standard-display/displaycfg.cpp index e2a37ac..f51a4db 100644 --- a/plugins/gui-standard-display/displaycfg.cpp +++ b/plugins/gui-standard-display/displaycfg.cpp @@ -31,7 +31,7 @@ DisplayConfiguration::DisplayConfiguration(TQWidget *parent) m_ignore_gui_updates(false) { TQGroupBox *bg = new TQGroupBox(i18n("Display Colors"), this); - bg->setColumnLayout(0, Qt::Vertical ); + bg->setColumnLayout(0, TQt::Vertical ); bg->layout()->setSpacing( 8 ); bg->layout()->setMargin( 12 ); TQGridLayout *gl = new TQGridLayout (bg->layout()); diff --git a/plugins/gui-standard-display/radioview_frequencyseeker.cpp b/plugins/gui-standard-display/radioview_frequencyseeker.cpp index 2534dbe..611c6a2 100644 --- a/plugins/gui-standard-display/radioview_frequencyseeker.cpp +++ b/plugins/gui-standard-display/radioview_frequencyseeker.cpp @@ -39,7 +39,7 @@ RadioViewFrequencySeeker::RadioViewFrequencySeeker(TQWidget *parent, const TQStr TQBoxLayout *l = new TQBoxLayout(this, TQBoxLayout::LeftToRight, /*spacing=*/ 3); l->setMargin(0); - m_sldFrequency = new TQSlider(Qt::Horizontal, this); + m_sldFrequency = new TQSlider(TQt::Horizontal, this); m_btnSearchLeft = new TQToolButton(this); m_btnSearchRight = new TQToolButton(this); m_btnStepLeft = new TQToolButton(this); diff --git a/plugins/gui-standard-display/radioview_volume.cpp b/plugins/gui-standard-display/radioview_volume.cpp index 683ef82..11e00dd 100644 --- a/plugins/gui-standard-display/radioview_volume.cpp +++ b/plugins/gui-standard-display/radioview_volume.cpp @@ -43,7 +43,7 @@ RadioViewVolume::RadioViewVolume(TQWidget *parent, const TQString &name) SLIDER_MAXVAL, SLIDER_RANGE/10, getSlider4Volume(v), - Qt::Vertical, this); + TQt::Vertical, this); TQObject::connect(m_slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotVolumeChanged(int))); diff --git a/plugins/recording/encoder_mp3.cpp b/plugins/recording/encoder_mp3.cpp index 456850f..eb42e9f 100644 --- a/plugins/recording/encoder_mp3.cpp +++ b/plugins/recording/encoder_mp3.cpp @@ -126,7 +126,7 @@ bool RecordingEncodingMP3::openOutput(const TQString &output) if (!m_error) { id3tag_init(m_LAMEFlags); id3tag_add_v2(m_LAMEFlags); - TQString title = m_RadioStation->name() + TQString().sprintf(" - %s", (TQDateTime::currentDateTime().toString(Qt::ISODate)).ascii()); + TQString title = m_RadioStation->name() + TQString().sprintf(" - %s", (TQDateTime::currentDateTime().toString(TQt::ISODate)).ascii()); TQString comment = i18n("Recorded by TDERadio"); size_t l = title.length() + comment.length() + 10; m_ID3Tags = new char[l]; diff --git a/plugins/recording/encoder_ogg.cpp b/plugins/recording/encoder_ogg.cpp index ca093b9..d1088b1 100644 --- a/plugins/recording/encoder_ogg.cpp +++ b/plugins/recording/encoder_ogg.cpp @@ -176,7 +176,7 @@ bool RecordingEncodingOgg::openOutput(const TQString &output) vorbis_comment_init (&vc); vorbis_comment_add_tag_new(&vc, "creator", "TDERadio" VERSION); vorbis_comment_add_tag_new(&vc, "title", m_RadioStation->longName().utf8()); - vorbis_comment_add_tag_new(&vc, "date", TQDateTime::currentDateTime().toString(Qt::ISODate)); + vorbis_comment_add_tag_new(&vc, "date", TQDateTime::currentDateTime().toString(TQt::ISODate)); vorbis_analysis_headerout(&m_VorbisDSP, &vc, &header_main, &header_comments, &header_codebooks); |