diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:53:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-02 15:53:50 +0900 |
commit | d37705184967f236c728938b2824abbed628ce26 (patch) | |
tree | 891cb2133b5edea3d2c78fc5ee31ba1b0e3d49ee /knewsticker | |
parent | 42857567f953e2f9bdda1ac81ee6c3557dee5a29 (diff) | |
download | tdenetwork-d37705184967f236c728938b2824abbed628ce26.tar.gz tdenetwork-d37705184967f236c728938b2824abbed628ce26.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
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); |