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 /noatun/modules/winskin/waSkin.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 'noatun/modules/winskin/waSkin.cpp')
-rw-r--r-- | noatun/modules/winskin/waSkin.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun/modules/winskin/waSkin.cpp b/noatun/modules/winskin/waSkin.cpp index aae49bf9..4168642e 100644 --- a/noatun/modules/winskin/waSkin.cpp +++ b/noatun/modules/winskin/waSkin.cpp @@ -72,8 +72,8 @@ WaSkin::WaSkin() : TQWidget(0, "NoatunWinampSkin"), UserInterface() createHighLevelElements(); createButtons(); - setMinimumSize(tqsizeHint()); - setMaximumSize(tqsizeHint()); + setMinimumSize(sizeHint()); + setMaximumSize(sizeHint()); KWin::setType(this->winId(), NET::Override); setBackgroundMode(NoBackground); @@ -142,7 +142,7 @@ void WaSkin::loadSkin(TQString newSkinDir) { waSkinManager->loadSkin(newSkinDir); - setMinimumSize(tqsizeHint()); + setMinimumSize(sizeHint()); if (title_shaded) { // waSkinModel::load() resets our skin model :( @@ -154,7 +154,7 @@ void WaSkin::loadSkin(TQString newSkinDir) } } -TQSize WaSkin::tqsizeHint() const +TQSize WaSkin::sizeHint() const { TQRect temp_rect; @@ -305,7 +305,7 @@ void WaSkin::createHighLevelElements() waInfo = new WaInfo(); - watqStatus = new WatqStatus(); + waStatus = new WaStatus(); waStereo = new WaIndicator(_WA_MAPPING_MONOSTER_STEREO, _WA_SKIN_MONOSTER_STEREO_TRUE, _WA_SKIN_MONOSTER_STEREO_FALSE); waMono = new WaIndicator(_WA_MAPPING_MONOSTER_MONO, _WA_SKIN_MONOSTER_MONO_TRUE, _WA_SKIN_MONOSTER_MONO_FALSE); @@ -337,7 +337,7 @@ void WaSkin::setChannels(int val) void WaSkin::shade() { waSkinModel->setSkinModel(WA_MODEL_WINDOWSHADE); - setMinimumSize(tqsizeHint()); + setMinimumSize(sizeHint()); setMask(*windowRegion->mainWindowShadeMask()); title_shaded = true; @@ -346,7 +346,7 @@ void WaSkin::shade() { void WaSkin::unshade() { waSkinModel->setSkinModel(WA_MODEL_NORMAL); - setMinimumSize(tqsizeHint()); + setMinimumSize(sizeHint()); setMask(*windowRegion->mainWindowMask()); title_shaded = false; @@ -679,7 +679,7 @@ void WaSkin::volumeSetValue(int val) void WaSkin::slotPlaying() { - watqStatus->settqStatus(STATUS_PLAYING); + waStatus->setStatus(STATUS_PLAYING); if (!napp->playlist()->current()) { return; @@ -710,7 +710,7 @@ void WaSkin::slotPlaying() void WaSkin::slotStopped() { - watqStatus->settqStatus(STATUS_STOPPED); + waStatus->setStatus(STATUS_STOPPED); waDigit->setTime(""); @@ -733,7 +733,7 @@ void WaSkin::slotStopped() void WaSkin::slotPaused() { - watqStatus->settqStatus(STATUS_PAUSED); + waStatus->setStatus(STATUS_PAUSED); } void WaSkin::keyPressEvent(TQKeyEvent *e) { |