summaryrefslogtreecommitdiffstats
path: root/src/kstreamripper.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:13 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:13 -0600
commit1731c59e84adaf7f65528f7429bcf2f0aa7ae09e (patch)
tree41f51ff98ab06df0b6640b2648050a4b5f9f3300 /src/kstreamripper.cpp
parentb932f954f8815ccba418aa03db82af9cde97f946 (diff)
downloadkstreamripper-1731c59e84adaf7f65528f7429bcf2f0aa7ae09e.tar.gz
kstreamripper-1731c59e84adaf7f65528f7429bcf2f0aa7ae09e.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b932f954f8815ccba418aa03db82af9cde97f946.
Diffstat (limited to 'src/kstreamripper.cpp')
-rw-r--r--src/kstreamripper.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp
index 4c43d1e..d386097 100644
--- a/src/kstreamripper.cpp
+++ b/src/kstreamripper.cpp
@@ -34,7 +34,7 @@
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include <tqprocess.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqframe.h>
#include <tqtimer.h>
#include <kmessagebox.h>
@@ -191,7 +191,7 @@ void KStreamRipper::tuneInButtonClicked()
void KStreamRipper::serviceAdded(DNSSD::RemoteService::Ptr srv)
{
ProcessListViewItem * proc = new ProcessListViewItem( m_streamsListView, srv->serviceName(), "", "");
- proc->getProcessController()->setUrl( TQString("http://%1:%2%3").arg(srv->hostName()).arg(srv->port()).arg(srv->textData()["path"]) );
+ proc->getProcessController()->setUrl( TQString("http://%1:%2%3").tqarg(srv->hostName()).tqarg(srv->port()).tqarg(srv->textData()["path"]) );
proc->getProcessController()->setDescription( i18n("found by Zeroconf") );
proc->getProcessController()->setAutomatic(true);
proc->getProcessController()->setService(srv);
@@ -269,8 +269,8 @@ void KStreamRipper::selectedNewListItem()
ProcessController * ProcCtl = ((ProcessListViewItem*)m_streamsListView->currentItem())->getProcessController();
// reconfigure what the user is allowed to do based on if this process is ripping
- m_ripButton->setEnabled( !ProcCtl->getStatus() );
- m_stopRipButton->setEnabled( ProcCtl->getStatus() );
+ m_ripButton->setEnabled( !ProcCtl->gettqStatus() );
+ m_stopRipButton->setEnabled( ProcCtl->gettqStatus() );
m_tuneInButton->setEnabled( true );
m_deleteStreamButton->setEnabled( !ProcCtl->getAutomatic() );