From 81ad3b51a1f061b0934426aaf339917f76c0cfc5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:10:16 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/viewarea.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/viewarea.cpp') 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); -- cgit v1.2.1