diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:10:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:10:16 -0600 |
commit | 81ad3b51a1f061b0934426aaf339917f76c0cfc5 (patch) | |
tree | d58f2500c1bfa5abeb84264cbaee55a7dd161bac /src/viewarea.cpp | |
parent | ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8 (diff) | |
download | kmplayer-81ad3b51a1f061b0934426aaf339917f76c0cfc5.tar.gz kmplayer-81ad3b51a1f061b0934426aaf339917f76c0cfc5.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/viewarea.cpp')
-rw-r--r-- | src/viewarea.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/viewarea.cpp b/src/viewarea.cpp index daf5e5a..5a42e5b 100644 --- a/src/viewarea.cpp +++ b/src/viewarea.cpp @@ -1378,7 +1378,7 @@ KDE_NO_EXPORT void ViewArea::fullScreen () { } m_view->controlPanel ()->button (ControlPanel::button_playlist)->setIconSet (TQIconSet (TQPixmap (playlist_xpm))); } else { - m_topwindow_rect = tqtopLevelWidget ()->tqgeometry (); + m_topwindow_rect = topLevelWidget ()->tqgeometry (); reparent (0L, 0, tqApp->desktop()->screenGeometry(this).topLeft(), true); showFullScreen (); for (unsigned i = 0; i < m_collection->count (); ++i) @@ -1425,7 +1425,7 @@ void ViewArea::minimalMode () { m_view->setNoInfoMessages (false); m_view->controlPanel ()->button (ControlPanel::button_playlist)->setIconSet (TQIconSet (TQPixmap (playlist_xpm))); } - m_topwindow_rect = tqtopLevelWidget ()->tqgeometry (); + m_topwindow_rect = topLevelWidget ()->tqgeometry (); } KDE_NO_EXPORT void ViewArea::accelActivated () { @@ -1447,7 +1447,7 @@ KDE_NO_EXPORT void ViewArea::mouseDoubleClickEvent (TQMouseEvent *) { KDE_NO_EXPORT void ViewArea::mouseMoveEvent (TQMouseEvent * e) { if (e->state () == Qt::NoButton) { int vert_buttons_pos = height () - m_view->statusBarHeight (); - int cp_height = m_view->controlPanel ()->tqmaximumSize ().height (); + int cp_height = m_view->controlPanel ()->maximumSize ().height (); m_view->delayedShowButtons (e->y() > vert_buttons_pos-cp_height && e->y() < vert_buttons_pos); } @@ -1510,7 +1510,7 @@ KDE_NO_EXPORT void ViewArea::updateSurfaceBounds () { h -= m_view->controlPanel ()->isVisible () ? (m_view->controlPanelMode () == View::CP_Only ? h - : (Single) m_view->controlPanel()->tqmaximumSize ().height ()) + : (Single) m_view->controlPanel()->maximumSize ().height ()) : Single (0); surface->resize (SRect (x, y, w, h)); Mrl *mrl = surface->node ? surface->node->mrl () : NULL; @@ -1545,7 +1545,7 @@ KDE_NO_EXPORT void ViewArea::resizeEvent (TQResizeEvent *) { Single hcp = m_view->controlPanel ()->isVisible () ? (m_view->controlPanelMode () == View::CP_Only ? h-hsb - : (Single) m_view->controlPanel()->tqmaximumSize ().height ()) + : (Single) m_view->controlPanel()->maximumSize ().height ()) : Single (0); Single wws = w; // move controlpanel over video when autohiding and playing @@ -1680,8 +1680,8 @@ KDE_NO_EXPORT void ViewArea::closeEvent (TQCloseEvent * e) { //kdDebug () << "closeEvent" << endl; if (m_fullscreen) { fullScreen (); - if (!m_parent->tqtopLevelWidget ()->isVisible ()) - m_parent->tqtopLevelWidget ()->show (); + if (!m_parent->topLevelWidget ()->isVisible ()) + m_parent->topLevelWidget ()->show (); e->ignore (); } else TQWidget::closeEvent (e); |