summaryrefslogtreecommitdiffstats
path: root/src/viewarea.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 23:32:34 +0900
committerMichele Calgaro <[email protected]>2023-11-05 20:49:30 +0900
commitf29a95f68421b915be501407c13e2de51dc0dc93 (patch)
tree779881571b0a86b40b65b400a56c0069e3f4b355 /src/viewarea.cpp
parentba4791737917ade2a36c669bf82e28dbc31b3fa7 (diff)
downloadkmplayer-f29a95f68421b915be501407c13e2de51dc0dc93.tar.gz
kmplayer-f29a95f68421b915be501407c13e2de51dc0dc93.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 4ee90855df32a13209bd394b86d81446aa2e31ad)
Diffstat (limited to 'src/viewarea.cpp')
-rw-r--r--src/viewarea.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/viewarea.cpp b/src/viewarea.cpp
index ea1474d..6f291ba 100644
--- a/src/viewarea.cpp
+++ b/src/viewarea.cpp
@@ -1245,7 +1245,7 @@ static void followLink (SMIL::LinkingBase * link) {
KDE_NO_EXPORT void MouseVisitor::visit (SMIL::Anchor * anchor) {
if (event == event_pointer_moved)
- cursor.setShape (Qt::PointingHandCursor);
+ cursor.setShape (TQt::PointingHandCursor);
else if (event == event_pointer_clicked)
followLink (anchor);
}
@@ -1276,7 +1276,7 @@ KDE_NO_EXPORT void MouseVisitor::visit (SMIL::Area * area) {
}
}
if (event == event_pointer_moved)
- cursor.setShape (Qt::PointingHandCursor);
+ cursor.setShape (TQt::PointingHandCursor);
else {
NodeRefListPtr nl = area->listeners (event);
if (nl)
@@ -1386,7 +1386,7 @@ KDE_NO_EXPORT void ViewArea::fullScreen () {
TQPopupMenu * menu = m_view->controlPanel ()->popupMenu ();
TQLabel * lbl = new TQLabel (i18n ("Scale:"), menu);
scale_lbl_id = menu->insertItem (lbl, -1, 4);
- TQSlider * slider = new TQSlider (50, 150, 10, m_fullscreen_scale, Qt::Horizontal, menu);
+ TQSlider * slider = new TQSlider (50, 150, 10, m_fullscreen_scale, TQt::Horizontal, menu);
connect (slider, TQT_SIGNAL (valueChanged (int)), this, TQT_SLOT (scale (int)));
scale_slider_id = menu->insertItem (slider, -1, 5);
m_view->controlPanel ()->button (ControlPanel::button_playlist)->setIconSet (TQIconSet (TQPixmap (normal_window_xpm)));
@@ -1445,7 +1445,7 @@ KDE_NO_EXPORT void ViewArea::mouseDoubleClickEvent (TQMouseEvent *) {
}
KDE_NO_EXPORT void ViewArea::mouseMoveEvent (TQMouseEvent * e) {
- if (e->state () == Qt::NoButton) {
+ if (e->state () == TQt::NoButton) {
int vert_buttons_pos = height () - m_view->statusBarHeight ();
int cp_height = m_view->controlPanel ()->maximumSize ().height ();
m_view->delayedShowButtons (e->y() > vert_buttons_pos-cp_height &&