diff options
Diffstat (limited to 'knewsticker/knewsticker.cpp')
-rw-r--r-- | knewsticker/knewsticker.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp index 49344eaa..9fb5a2e6 100644 --- a/knewsticker/knewsticker.cpp +++ b/knewsticker/knewsticker.cpp @@ -224,7 +224,7 @@ void KNewsTicker::slotNewsSourceFailed(const NewsSourceBase::Ptr &ns) void KNewsTicker::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) slotOpenContextMenu(); } @@ -261,7 +261,7 @@ void KNewsTicker::positionChange(Position) TQBoxLayout *layout; - if (orientation() ==Qt::Horizontal) + if (orientation() ==TQt::Horizontal) layout = new TQHBoxLayout(this); else layout = new TQVBoxLayout(this); @@ -387,16 +387,16 @@ void KNewsTicker::setHighlightedColor(const TQColor &highlightedColor) void KNewsTicker::setupArrowButton() { - Qt::ArrowType at; + TQt::ArrowType at; - if (orientation() ==Qt::Horizontal) { + if (orientation() ==TQt::Horizontal) { m_arrowButton->setFixedWidth(12); m_arrowButton->setMaximumHeight(128); - at = (position() == KPanelApplet::pTop ? Qt::DownArrow : Qt::UpArrow); + at = (position() == KPanelApplet::pTop ? TQt::DownArrow : TQt::UpArrow); } else { m_arrowButton->setMaximumWidth(128); m_arrowButton->setFixedHeight(12); - at = (position() == KPanelApplet::pLeft ? Qt::RightArrow : Qt::LeftArrow); + at = (position() == KPanelApplet::pLeft ? TQt::RightArrow : TQt::LeftArrow); } m_arrowButton->setArrowType(at); } |