diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:30:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:30:48 -0600 |
commit | f97c8a56e217f04e08776ccf8021721b7d919b7d (patch) | |
tree | 436c68db12057f4d08acfbf37bec9cd8dfafcec8 /src/kmplayercontrolpanel.cpp | |
parent | d211eb866a067b537fb32cab5f10f8dd24a73ad7 (diff) | |
download | kmplayer-f97c8a56e217f04e08776ccf8021721b7d919b7d.tar.gz kmplayer-f97c8a56e217f04e08776ccf8021721b7d919b7d.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kmplayercontrolpanel.cpp')
-rw-r--r-- | src/kmplayercontrolpanel.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayercontrolpanel.cpp b/src/kmplayercontrolpanel.cpp index ce5be9d..cab529b 100644 --- a/src/kmplayercontrolpanel.cpp +++ b/src/kmplayercontrolpanel.cpp @@ -16,7 +16,7 @@ * Boston, MA 02110-1301, USA. **/ -#include <tqlayout.h> +#include <layout.h> #include <tqpixmap.h> #include <tqslider.h> #include <tqlabel.h> @@ -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)); } @@ -306,7 +306,7 @@ void VolumeBar::setValue (int v) { if (m_value > 100) m_value = 100; TQToolTip::remove (this); TQToolTip::add (this, i18n ("Volume is %1").arg (m_value)); - tqrepaint (true); + repaint (true); emit volumeChanged (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); |