summaryrefslogtreecommitdiffstats
path: root/src/viewarea.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:32:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:32:34 +0900
commit4ee90855df32a13209bd394b86d81446aa2e31ad (patch)
treec03b5982be7789561bd592039098d51ffcef0458 /src/viewarea.cpp
parentd8d54a7f44f6c0c9904f6505b35c8e370267f56c (diff)
downloadkmplayer-4ee90855df32a13209bd394b86d81446aa2e31ad.tar.gz
kmplayer-4ee90855df32a13209bd394b86d81446aa2e31ad.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 &&