diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:22 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-07-31 19:11:09 +0200 |
commit | 90bfd334843721065e3bc902ec9904ee4e29f1ae (patch) | |
tree | 4565945e06eb3983b2f9fa508ac5ae286dd56c68 | |
parent | e3cb7e568518508827d6eb83bc627f455a4eac74 (diff) | |
download | kstreamripper-90bfd334843721065e3bc902ec9904ee4e29f1ae.tar.gz kstreamripper-90bfd334843721065e3bc902ec9904ee4e29f1ae.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit bcbfd20ecaad59c19ff62397807b75f49f4dc47a)
-rw-r--r-- | src/kstreamripper.cpp | 4 | ||||
-rw-r--r-- | src/kstreamripperbase.ui | 4 | ||||
-rw-r--r-- | src/processcontroller.cpp | 10 | ||||
-rw-r--r-- | src/processcontroller.h | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp index 999f272..b55b417 100644 --- a/src/kstreamripper.cpp +++ b/src/kstreamripper.cpp @@ -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->gettqStatus() ); - m_stopRipButton->setEnabled( ProcCtl->gettqStatus() ); + m_ripButton->setEnabled( !ProcCtl->getStatus() ); + m_stopRipButton->setEnabled( ProcCtl->getStatus() ); m_tuneInButton->setEnabled( true ); m_deleteStreamButton->setEnabled( !ProcCtl->getAutomatic() ); diff --git a/src/kstreamripperbase.ui b/src/kstreamripperbase.ui index ea70001..841723f 100644 --- a/src/kstreamripperbase.ui +++ b/src/kstreamripperbase.ui @@ -29,7 +29,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>31</width> <height>20</height> @@ -80,7 +80,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="tqsizeHint"> + <property name="sizeHint"> <size> <width>421</width> <height>21</height> diff --git a/src/processcontroller.cpp b/src/processcontroller.cpp index d025a67..336ce85 100644 --- a/src/processcontroller.cpp +++ b/src/processcontroller.cpp @@ -23,7 +23,7 @@ #include "processlistviewitem.h" 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( destroyed() ), myProcess, TQT_SLOT( kill()) ); @@ -71,7 +71,7 @@ void ProcessController::readStdout() void ProcessController::startRip(TQString destination, TQString time) { - mytqStatus = true; + myStatus = true; myParent->setText( 1, "Ripping" ); myProcess->clearArguments(); @@ -92,7 +92,7 @@ void ProcessController::startRip(TQString destination, TQString time) void ProcessController::stopRip() { - mytqStatus = false; + myStatus = false; myParent->setText( 1, "" ); myParent->setText( 2, "" ); @@ -101,9 +101,9 @@ void ProcessController::stopRip() } -bool ProcessController::gettqStatus() +bool ProcessController::getStatus() { - return mytqStatus; + return myStatus; } TQString ProcessController::getUrl() diff --git a/src/processcontroller.h b/src/processcontroller.h index 3b6e910..16ad613 100644 --- a/src/processcontroller.h +++ b/src/processcontroller.h @@ -40,7 +40,7 @@ public: ProcessController(ProcessListViewItem * parent); ~ProcessController(); - bool gettqStatus(); + bool getStatus(); bool getAutomatic(); void setAutomatic(bool a); #if KDE_IS_VERSION(3,3,90) @@ -59,7 +59,7 @@ protected slots: private: ProcessListViewItem * myParent; - bool mytqStatus; + bool myStatus; bool myAutomatic; #if KDE_IS_VERSION(3,3,90) DNSSD::RemoteService::Ptr myService; |