diff options
author | ormorph <[email protected]> | 2023-12-08 21:22:21 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-08 21:23:22 +0900 |
commit | e1799206d95ffbe856dd9744111bca01b4b3835f (patch) | |
tree | 10f13eef4126278017636dc254479033534fe3fa /src/kstreamripper.cpp | |
parent | 1801e3aacac299ed492dba8500bf5f78f6e3acbb (diff) | |
download | kstreamripper-e1799206d95ffbe856dd9744111bca01b4b3835f.tar.gz kstreamripper-e1799206d95ffbe856dd9744111bca01b4b3835f.zip |
Add unicode stream support
Signed-off-by: ormorph <[email protected]>
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kstreamripper.cpp')
-rw-r--r-- | src/kstreamripper.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp index 9630c8f..c27e41c 100644 --- a/src/kstreamripper.cpp +++ b/src/kstreamripper.cpp @@ -68,6 +68,7 @@ KStreamRipper::KStreamRipper( TQWidget* parent, const char* name ) m_timeEdit->setText( appConfig->readEntry( "Riptime", "0" )); m_tuneInEdit->setText( appConfig->readEntry( "Command", "xmms <url>" )); m_id3Checkbox->setChecked( appConfig->readBoolEntry( "Id3Tag", 1 )); + m_unicodeCheckbox->setChecked( appConfig->readBoolEntry( "Unicode", 1 )); //listview entrys TQStringList nameList,urlList,descList; @@ -132,6 +133,7 @@ void KStreamRipper::closeEvent( TQCloseEvent *e ) appConfig->writeEntry( "Riptime", m_timeEdit->text()); appConfig->writeEntry( "Command", m_tuneInEdit->text()); appConfig->writeEntry( "Id3Tag", m_id3Checkbox->isChecked()); + appConfig->writeEntry( "Unicode", m_unicodeCheckbox->isChecked()); //save the listview entrys TQStringList nameList,urlList,descList; @@ -224,7 +226,8 @@ void KStreamRipper::ripButtonClicked() { if (!(TDEStandardDirs::findExe("streamripper").isEmpty())) { ProcessListViewItem * ProcItem = (ProcessListViewItem*)m_streamsListView->currentItem(); - ProcItem->getProcessController()->startRip(m_destEdit->text(), m_timeEdit->text()); + ProcItem->getProcessController()->startRip(m_destEdit->text(), m_timeEdit->text(), + m_unicodeCheckbox->isChecked()); m_ripButton->setEnabled( false ); m_stopRipButton->setEnabled( true ); } else { |