diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:31:40 +0900 |
commit | 203566f83535401b5013d37c4e319b1278a4d650 (patch) | |
tree | aeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /knewsticker | |
parent | c613d3df31b003c077f524cd7184590339b0c04d (diff) | |
download | tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'knewsticker')
-rw-r--r-- | knewsticker/common/newsiconmgr.cpp | 2 | ||||
-rw-r--r-- | knewsticker/knewsticker.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/knewsticker/common/newsiconmgr.cpp b/knewsticker/common/newsiconmgr.cpp index 57f5fc6e..4a2cb8d6 100644 --- a/knewsticker/common/newsiconmgr.cpp +++ b/knewsticker/common/newsiconmgr.cpp @@ -64,7 +64,7 @@ void NewsIconMgr::getIcon(const KURL &url) TQPixmap icon(url.encodedPathAndQuery()); if (!icon.isNull()) { if (icon.size() != TQSize(16, 16)) { - if (!icon.convertFromImage(icon.convertToImage().smoothScale(16, 16, TQ_ScaleMin))) { + if (!icon.convertFromImage(icon.convertToImage().smoothScale(16, 16, TQImage::ScaleMin))) { emit gotIcon(url, m_stdIcon); return; } diff --git a/knewsticker/knewsticker.cpp b/knewsticker/knewsticker.cpp index b98e9263..49344eaa 100644 --- a/knewsticker/knewsticker.cpp +++ b/knewsticker/knewsticker.cpp @@ -57,7 +57,7 @@ KNewsTicker::KNewsTicker(const TQString &cfgFile, Type t, int actions, TQWidget m_arrowButton = new KArrowButton(this); TQToolTip::add(m_arrowButton, i18n("Show menu")); connect(m_arrowButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotArrowButtonPressed())); - m_arrowButton->setFocusPolicy(TQ_NoFocus); + m_arrowButton->setFocusPolicy(TQWidget::NoFocus); setupArrowButton(); layout->addWidget(m_arrowButton); |