summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kstreamripper.cpp16
-rw-r--r--src/kstreamripper.h2
-rw-r--r--src/kstreamripperbase.ui23
3 files changed, 13 insertions, 28 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp
index c1ef1af..1487344 100644
--- a/src/kstreamripper.cpp
+++ b/src/kstreamripper.cpp
@@ -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(), "", "");
diff --git a/src/kstreamripper.h b/src/kstreamripper.h
index 43c955c..8ec9812 100644
--- a/src/kstreamripper.h
+++ b/src/kstreamripper.h
@@ -69,8 +69,6 @@ protected slots:
void quitButtonClicked();
void selectedNewListItem();
- void descriptionChanged();
- void urlChanged();
void addStreamFinished( StreamPropertiesDlg* );
void editStreamFinished( StreamPropertiesDlg* );
diff --git a/src/kstreamripperbase.ui b/src/kstreamripperbase.ui
index 9eaf04d..ba55e4f 100644
--- a/src/kstreamripperbase.ui
+++ b/src/kstreamripperbase.ui
@@ -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>