diff options
author | Michele Calgaro <[email protected]> | 2023-09-02 15:54:39 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-09-04 10:31:12 +0900 |
commit | e8e8e54254ec3786edbbc149be5a7a7109e6541d (patch) | |
tree | 6684b76c8005878e39139bc706e1653cbf311fb9 /lib/util | |
parent | da6192de80b02052d30576401e06deb228ad84e6 (diff) | |
download | tdevelop-e8e8e54254ec3786edbbc149be5a7a7109e6541d.tar.gz tdevelop-e8e8e54254ec3786edbbc149be5a7a7109e6541d.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 88de09b6cc82c3c1592f1a71415cb962e39eb60b)
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/blockingkprocess.cpp | 2 | ||||
-rw-r--r-- | lib/util/kdevshellwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/blockingkprocess.cpp b/lib/util/blockingkprocess.cpp index b88b0cad..a937c744 100644 --- a/lib/util/blockingkprocess.cpp +++ b/lib/util/blockingkprocess.cpp @@ -95,7 +95,7 @@ void tqt_leave_modal( TQWidget *widget ); void BlockingTDEProcess::enter_loop() { TQWidget dummy(0,0,WType_Dialog | WShowModal); - dummy.setFocusPolicy( TQ_NoFocus ); + dummy.setFocusPolicy( TQWidget::NoFocus ); tqt_enter_modal(&dummy); tqApp->enter_loop(); tqt_leave_modal(&dummy); diff --git a/lib/util/kdevshellwidget.cpp b/lib/util/kdevshellwidget.cpp index 6bd6f1d8..c7ee9139 100644 --- a/lib/util/kdevshellwidget.cpp +++ b/lib/util/kdevshellwidget.cpp @@ -48,7 +48,7 @@ void KDevShellWidget::activate( ) connect( m_konsolePart, TQT_SIGNAL( receivedData( const TQString& ) ), this, TQT_SIGNAL( receivedData( const TQString& ) ) ); connect( m_konsolePart, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()) ); - m_konsolePart->widget()->setFocusPolicy( TQ_WheelFocus ); + m_konsolePart->widget()->setFocusPolicy( TQWidget::WheelFocus ); setFocusProxy( m_konsolePart->widget() ); m_konsolePart->widget()->setFocus(); |