diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 17:21:24 +0900 |
commit | 7367a616169a4ec8b35b5a993852c336aaeec25b (patch) | |
tree | 2fd2b837621af51718278a66c8d5151fec1d77e8 /knewsticker/knewsticker.cpp | |
parent | a14ec34f576f49ee1abf4844883fb9e3af69eeb3 (diff) | |
download | tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.tar.gz tdenetwork-7367a616169a4ec8b35b5a993852c336aaeec25b.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b53c83209a6b927b27600899a780db1efc985ecb)
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); } |