summaryrefslogtreecommitdiffstats
path: root/src/kmplayercontrolpanel.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:10:16 -0600
committerSlávek Banko <[email protected]>2012-06-18 23:49:43 +0200
commite1c9b8f5bbbf686e798b84f91f205bf512417ea7 (patch)
treec44a0078d920ea11d76bb0df7dd0ec640173683b /src/kmplayercontrolpanel.cpp
parent5f87f03087289613a11d176e1f57233b572714d6 (diff)
downloadkmplayer-e1c9b8f5bbbf686e798b84f91f205bf512417ea7.tar.gz
kmplayer-e1c9b8f5bbbf686e798b84f91f205bf512417ea7.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 81ad3b51a1f061b0934426aaf339917f76c0cfc5)
Diffstat (limited to 'src/kmplayercontrolpanel.cpp')
-rw-r--r--src/kmplayercontrolpanel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kmplayercontrolpanel.cpp b/src/kmplayercontrolpanel.cpp
index ce5be9d..8973e89 100644
--- a/src/kmplayercontrolpanel.cpp
+++ b/src/kmplayercontrolpanel.cpp
@@ -292,7 +292,7 @@ KDE_NO_EXPORT void KMPlayerPopupMenu::leaveEvent (TQEvent *) {
KDE_NO_CDTOR_EXPORT VolumeBar::VolumeBar (TQWidget * parent, View * view)
: TQWidget (parent), m_view (view), m_value (100) {
- tqsetSizePolicy( TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed));
+ setSizePolicy( TQSizePolicy (TQSizePolicy::Minimum, TQSizePolicy::Fixed));
setMinimumSize (TQSize (51, button_height_only_buttons + 2));
TQToolTip::add (this, i18n ("Volume is %1").arg (m_value));
}
@@ -517,11 +517,11 @@ void ControlPanel::setAutoControls (bool b) {
KDE_NO_EXPORT void ControlPanel::showPopupMenu () {
m_view->updateVolume ();
- m_popupMenu->exec (m_buttons [button_config]->mapToGlobal (TQPoint (0, tqmaximumSize ().height ())));
+ m_popupMenu->exec (m_buttons [button_config]->mapToGlobal (TQPoint (0, maximumSize ().height ())));
}
KDE_NO_EXPORT void ControlPanel::showLanguageMenu () {
- m_languageMenu->exec (m_buttons [button_language]->mapToGlobal (TQPoint (0, tqmaximumSize ().height ())));
+ m_languageMenu->exec (m_buttons [button_language]->mapToGlobal (TQPoint (0, maximumSize ().height ())));
}
void ControlPanel::showPositionSlider (bool show) {
@@ -540,7 +540,7 @@ KDE_NO_EXPORT void ControlPanel::setupPositionSlider (bool show) {
m_posSlider->show ();
m_buttonbox->setMargin (4);
m_buttonbox->setSpacing (4);
- setEraseColor (m_view->tqtopLevelWidget ()->paletteBackgroundColor ());
+ setEraseColor (m_view->topLevelWidget ()->paletteBackgroundColor ());
} else {
m_posSlider->hide ();
m_buttonbox->setMargin (1);