diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:48:04 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:35:14 +0900 |
commit | 3f8cbc7f57f13d43fb05965486d1c0752e1e903b (patch) | |
tree | 705b34eae1145d62e810b6e5af23fa37b09672c7 | |
parent | 04e6c49e9cd03210f2569cdebec50a879c708d95 (diff) | |
download | konversation-3f8cbc7f57f13d43fb05965486d1c0752e1e903b.tar.gz konversation-3f8cbc7f57f13d43fb05965486d1c0752e1e903b.zip |
Replace TQ_*Focus* and TQ_Scale* definesr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cba78c439a23abcb5bb895505ff55de902c1c6aa)
-rw-r--r-- | konversation/src/ircview.cpp | 2 | ||||
-rw-r--r-- | konversation/src/konsolepanel.cpp | 2 | ||||
-rw-r--r-- | konversation/src/logfilereader.cpp | 4 | ||||
-rw-r--r-- | konversation/src/osd.cpp | 2 | ||||
-rw-r--r-- | konversation/src/topiclabel.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/konversation/src/ircview.cpp b/konversation/src/ircview.cpp index 6f86aff..89dca72 100644 --- a/konversation/src/ircview.cpp +++ b/konversation/src/ircview.cpp @@ -93,7 +93,7 @@ IRCView::IRCView(TQWidget* parent, Server* newServer) : KTextBrowser(parent) setHScrollBarMode(AlwaysOff); setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary); setNotifyClick(true); - setFocusPolicy(TQ_ClickFocus); + setFocusPolicy(TQWidget::ClickFocus); // set basic style sheet for <p> to make paragraph spacing possible TQStyleSheet* sheet=new TQStyleSheet(TQT_TQOBJECT(this),"ircview_style_sheet"); diff --git a/konversation/src/konsolepanel.cpp b/konversation/src/konsolepanel.cpp index e604d37..d54ee5b 100644 --- a/konversation/src/konsolepanel.cpp +++ b/konversation/src/konsolepanel.cpp @@ -28,7 +28,7 @@ KonsolePanel::KonsolePanel(TQWidget *p) : ChatWindow( p ), k_part (0) k_part = (KParts::ReadOnlyPart *) fact->create(TQT_TQOBJECT(this)); if (!k_part) return; - k_part->widget()->setFocusPolicy(TQ_WheelFocus); + k_part->widget()->setFocusPolicy(TQWidget::WheelFocus); setFocusProxy(k_part->widget()); k_part->widget()->setFocus(); diff --git a/konversation/src/logfilereader.cpp b/konversation/src/logfilereader.cpp index e5cea7f..98514dd 100644 --- a/konversation/src/logfilereader.cpp +++ b/konversation/src/logfilereader.cpp @@ -63,8 +63,8 @@ LogfileReader::LogfileReader(TQWidget* parent, const TQString& log) : ChatWindow updateView(); resize(Preferences::logfileReaderSize()); - ircBox->ircView()->setFocusPolicy(TQ_StrongFocus); - setFocusPolicy(TQ_StrongFocus); + ircBox->ircView()->setFocusPolicy(TQWidget::StrongFocus); + setFocusPolicy(TQWidget::StrongFocus); setFocusProxy(ircBox->ircView()); connect(getTextView(), TQT_SIGNAL(gotFocus()), getTextView(), TQT_SLOT(setFocus())); diff --git a/konversation/src/osd.cpp b/konversation/src/osd.cpp index d342bab..a1567ab 100644 --- a/konversation/src/osd.cpp +++ b/konversation/src/osd.cpp @@ -39,7 +39,7 @@ OSDWidget::OSDWidget( const TQString &appName, TQWidget *parent, const char *nam , m_y( MARGIN ) , m_dirty( false ) { - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); setBackgroundMode( NoBackground ); unsetColors(); diff --git a/konversation/src/topiclabel.cpp b/konversation/src/topiclabel.cpp index 773ac33..7036549 100644 --- a/konversation/src/topiclabel.cpp +++ b/konversation/src/topiclabel.cpp @@ -41,7 +41,7 @@ namespace Konversation : KActiveLabel(parent, name) { setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary); - setFocusPolicy(TQ_ClickFocus); + setFocusPolicy(TQWidget::ClickFocus); m_isOnChannel = false; m_copyUrlMenu = false; |