|
|
|
@ -107,8 +107,6 @@ KStreamRipper::KStreamRipper( TQWidget* parent, const char* name )
|
|
|
|
|
|
|
|
|
|
//other
|
|
|
|
|
connect( m_streamsListView, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT( selectedNewListItem()) );
|
|
|
|
|
connect( m_DescriptionEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT( descriptionChanged()) );
|
|
|
|
|
connect( m_UrlEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT( urlChanged()) );
|
|
|
|
|
|
|
|
|
|
// zeroconf
|
|
|
|
|
#if KDE_IS_VERSION(3,3,90)
|
|
|
|
@ -320,20 +318,6 @@ void KStreamRipper::selectedNewListItem()
|
|
|
|
|
m_UrlEdit->setEnabled( !ProcCtl->getAutomatic() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::descriptionChanged()
|
|
|
|
|
{
|
|
|
|
|
// maybe this should be deleted and the communication would be through a slot
|
|
|
|
|
ProcessListViewItem * ProcItem = (ProcessListViewItem*)m_streamsListView->currentItem();
|
|
|
|
|
ProcItem->getProcessController()->setDescription(m_DescriptionEdit->text());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::urlChanged()
|
|
|
|
|
{
|
|
|
|
|
// maybe this should be deleted and the communication would be through a slot
|
|
|
|
|
ProcessListViewItem * ProcItem = (ProcessListViewItem*)m_streamsListView->currentItem();
|
|
|
|
|
ProcItem->getProcessController()->setUrl(m_UrlEdit->text());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::addStreamFinished( StreamPropertiesDlg *e )
|
|
|
|
|
{
|
|
|
|
|
ProcessListViewItem *procItem = new ProcessListViewItem( m_streamsListView, e->d_nameEdit->text(), "", "");
|
|
|
|
|