Removing unnecessary functionality

Signed-off-by: ormorph <roma251078@mail.ru>
pull/12/head
ormorph 1 year ago committed by Michele Calgaro
parent fb82c1b008
commit 5470e3749c
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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(), "", "");

@ -69,8 +69,6 @@ protected slots:
void quitButtonClicked();
void selectedNewListItem();
void descriptionChanged();
void urlChanged();
void addStreamFinished( StreamPropertiesDlg* );
void editStreamFinished( StreamPropertiesDlg* );

@ -328,7 +328,18 @@
<string>Description:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="2" colspan="2">
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>m_DescriptionEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>m_StreamURL</cstring>
</property>
@ -336,7 +347,7 @@
<string>URL:</string>
</property>
</widget>
<widget class="TQLineEdit" row="2" column="1">
<widget class="TQLineEdit" row="1" column="1">
<property name="name">
<cstring>m_UrlEdit</cstring>
</property>
@ -347,14 +358,6 @@
<bool>true</bool>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="1">
<property name="name">
<cstring>m_DescriptionEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</grid>
</widget>
</grid>

Loading…
Cancel
Save