Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 13 years ago
parent 1731c59e84
commit bcbfd20eca

@ -269,8 +269,8 @@ void KStreamRipper::selectedNewListItem()
ProcessController * ProcCtl = ((ProcessListViewItem*)m_streamsListView->currentItem())->getProcessController(); ProcessController * ProcCtl = ((ProcessListViewItem*)m_streamsListView->currentItem())->getProcessController();
// reconfigure what the user is allowed to do based on if this process is ripping // reconfigure what the user is allowed to do based on if this process is ripping
m_ripButton->setEnabled( !ProcCtl->gettqStatus() ); m_ripButton->setEnabled( !ProcCtl->getStatus() );
m_stopRipButton->setEnabled( ProcCtl->gettqStatus() ); m_stopRipButton->setEnabled( ProcCtl->getStatus() );
m_tuneInButton->setEnabled( true ); m_tuneInButton->setEnabled( true );
m_deleteStreamButton->setEnabled( !ProcCtl->getAutomatic() ); m_deleteStreamButton->setEnabled( !ProcCtl->getAutomatic() );

@ -29,7 +29,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="tqsizeHint"> <property name="sizeHint">
<size> <size>
<width>31</width> <width>31</width>
<height>20</height> <height>20</height>
@ -80,7 +80,7 @@
<property name="sizeType"> <property name="sizeType">
<enum>Expanding</enum> <enum>Expanding</enum>
</property> </property>
<property name="tqsizeHint"> <property name="sizeHint">
<size> <size>
<width>421</width> <width>421</width>
<height>21</height> <height>21</height>

@ -23,7 +23,7 @@
#include "processlistviewitem.h" #include "processlistviewitem.h"
ProcessController::ProcessController(ProcessListViewItem * parent) ProcessController::ProcessController(ProcessListViewItem * parent)
: TQObject((TQObject *)parent), myParent(parent), mytqStatus(false), myAutomatic(false), myProcess(new TQProcess(this)) : TQObject((TQObject *)parent), myParent(parent), myStatus(false), myAutomatic(false), myProcess(new TQProcess(this))
{ {
connect (myProcess, TQT_SIGNAL( readyReadStdout() ), (ProcessController *) this, TQT_SLOT( readStdout()) ); connect (myProcess, TQT_SIGNAL( readyReadStdout() ), (ProcessController *) this, TQT_SLOT( readStdout()) );
// connect (myProcess, TQT_SIGNAL( destroyed() ), myProcess, TQT_SLOT( kill()) ); // connect (myProcess, TQT_SIGNAL( destroyed() ), myProcess, TQT_SLOT( kill()) );
@ -71,7 +71,7 @@ void ProcessController::readStdout()
void ProcessController::startRip(TQString destination, TQString time) void ProcessController::startRip(TQString destination, TQString time)
{ {
mytqStatus = true; myStatus = true;
myParent->setText( 1, "Ripping" ); myParent->setText( 1, "Ripping" );
myProcess->clearArguments(); myProcess->clearArguments();
@ -92,7 +92,7 @@ void ProcessController::startRip(TQString destination, TQString time)
void ProcessController::stopRip() void ProcessController::stopRip()
{ {
mytqStatus = false; myStatus = false;
myParent->setText( 1, "" ); myParent->setText( 1, "" );
myParent->setText( 2, "" ); myParent->setText( 2, "" );
@ -101,9 +101,9 @@ void ProcessController::stopRip()
} }
bool ProcessController::gettqStatus() bool ProcessController::getStatus()
{ {
return mytqStatus; return myStatus;
} }
TQString ProcessController::getUrl() TQString ProcessController::getUrl()

@ -40,7 +40,7 @@ public:
ProcessController(ProcessListViewItem * parent); ProcessController(ProcessListViewItem * parent);
~ProcessController(); ~ProcessController();
bool gettqStatus(); bool getStatus();
bool getAutomatic(); bool getAutomatic();
void setAutomatic(bool a); void setAutomatic(bool a);
#if KDE_IS_VERSION(3,3,90) #if KDE_IS_VERSION(3,3,90)
@ -59,7 +59,7 @@ protected slots:
private: private:
ProcessListViewItem * myParent; ProcessListViewItem * myParent;
bool mytqStatus; bool myStatus;
bool myAutomatic; bool myAutomatic;
#if KDE_IS_VERSION(3,3,90) #if KDE_IS_VERSION(3,3,90)
DNSSD::RemoteService::Ptr myService; DNSSD::RemoteService::Ptr myService;

Loading…
Cancel
Save