|
|
|
@ -106,8 +106,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)
|
|
|
|
@ -310,28 +308,6 @@ void KStreamRipper::selectedNewListItem()
|
|
|
|
|
//connect(m_UrlEdit, TQT_SIGNAL(textChanged(const TQString&)), (ProcessListViewItem*)m_streamsListView->currentItem()->getProcessController(), TQT_SIGNAL(urlChanged(const TQString&))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::descriptionChanged()
|
|
|
|
|
{
|
|
|
|
|
if (!m_streamsListView->selectedItem())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// 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()
|
|
|
|
|
{
|
|
|
|
|
if (!m_streamsListView->selectedItem())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// 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::editStreamFinished( EditStreamImpl *e )
|
|
|
|
|
{
|
|
|
|
|
ProcessListViewItem * proc = (ProcessListViewItem*)m_streamsListView->currentItem();
|
|
|
|
|