summaryrefslogtreecommitdiffstats
path: root/knewsticker/newsscroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker/newsscroller.cpp')
-rw-r--r--knewsticker/newsscroller.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knewsticker/newsscroller.cpp b/knewsticker/newsscroller.cpp
index 4c5f3861..c9df6429 100644
--- a/knewsticker/newsscroller.cpp
+++ b/knewsticker/newsscroller.cpp
@@ -270,7 +270,7 @@ void NewsScroller::enterEvent(TQEvent *)
void NewsScroller::mousePressEvent(TQMouseEvent *e)
{
- if (e->button() == Qt::LeftButton || e->button() == Qt::MidButton) {
+ if (e->button() == TQt::LeftButton || e->button() == TQt::MidButton) {
m_dragPos = e->pos();
if (m_activeHeadline)
@@ -280,14 +280,14 @@ void NewsScroller::mousePressEvent(TQMouseEvent *e)
void NewsScroller::mouseReleaseEvent(TQMouseEvent *e)
{
- if ((e->button() == Qt::LeftButton || e->button() == Qt::MidButton)
+ if ((e->button() == TQt::LeftButton || e->button() == TQt::MidButton)
&& m_activeHeadline && m_activeHeadline->article()->headline() == m_tempHeadline
&& !m_mouseDrag) {
m_activeHeadline->article()->open();
m_tempHeadline = TQString();
}
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
emit(contextMenu());
if (m_mouseDrag) {
@@ -307,7 +307,7 @@ void NewsScroller::mouseMoveEvent(TQMouseEvent *e)
dragDistance = TQABS(e->x() - m_dragPos.x());
else
dragDistance = TQABS(e->y() - m_dragPos.y());
- m_mouseDrag = (e->state() & Qt::LeftButton != 0) &&
+ m_mouseDrag = (e->state() & TQt::LeftButton != 0) &&
dragDistance >= TDEGlobal::config()->readNumEntry("StartDragDist", TDEApplication::startDragDistance());
if (m_mouseDrag) // Stop the scroller if we just started a drag.
m_scrollTimer->stop();