diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 18:07:29 +0200 |
commit | cc17a105bc9cf5683ff3f208214068c571fcde59 (patch) | |
tree | b96dcddb68759dec0d35273e6b79f0c7520be820 /kscd/kscd.cpp | |
parent | 558317e518c5c27b0788242b8b9e828fbabb5b89 (diff) | |
download | tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.tar.gz tdemultimedia-cc17a105bc9cf5683ff3f208214068c571fcde59.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 3c299dfe48c0060272c2966fff599b3b417e2ee4)
Diffstat (limited to 'kscd/kscd.cpp')
-rw-r--r-- | kscd/kscd.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kscd/kscd.cpp b/kscd/kscd.cpp index 604a023d..b07732b0 100644 --- a/kscd/kscd.cpp +++ b/kscd/kscd.cpp @@ -212,7 +212,7 @@ KSCD::KSCD( TQWidget *parent, const char *name ) setFocusPolicy(TQ_NoFocus); - songListCB->tqsetSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Fixed); + songListCB->setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Fixed); adjustSize(); setFixedHeight(this->height()); } // KSCD @@ -688,7 +688,7 @@ void KSCD::randomSelected() { setShuffle(Prefs::randomPlay()?0:1); - /* FIXME this helps us to display "Random" in tqStatus line + /* FIXME this helps us to display "Random" in Status line should it maybe to be replaced with symbol "RAND" or something others */ statuslabel->setText(Prefs::randomPlay()?i18n("Random"):i18n("Play")); } // randomSelected @@ -1313,7 +1313,7 @@ int KSCD::currentPosition() return m_cd->trackPosition(); } -int KSCD::gettqStatus() +int KSCD::getStatus() { if (m_cd->isPlaying()) return 2; @@ -1563,11 +1563,11 @@ TQStringList KSCD::trackList() return tracks; } -void KSCD::populateSongList(TQString infotqStatus) +void KSCD::populateSongList(TQString infoStatus) { // set the artist and title labels as well as the dock tooltip. - if (!infotqStatus.isEmpty()) - artistlabel->setText(infotqStatus); + if (!infoStatus.isEmpty()) + artistlabel->setText(infoStatus); else artistlabel->setText(TQString("%1 - %2").tqarg(cddbInfo.artist, cddbInfo.title)); |