summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2023-12-01 20:05:14 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-16 23:54:52 +0900
commit5aed5382196cb094854e53ee4f06c22e9f8ec14c (patch)
treeb11a83773179c81474324028585a610d7e7b8e73
parent9fb4112aefbb60987f637dec35cb09b80a8cd56d (diff)
downloadkstreamripper-5aed5382196cb094854e53ee4f06c22e9f8ec14c.tar.gz
kstreamripper-5aed5382196cb094854e53ee4f06c22e9f8ec14c.zip
Removing unnecessary functionality
Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit 5470e3749cf3d07a12fc8f55506ba82dfc68716c)
-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>