diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:54:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:31:12 +0900 |
commit | e8e8e54254ec3786edbbc149be5a7a7109e6541d (patch) | |
tree | 6684b76c8005878e39139bc706e1653cbf311fb9 /lib/widgets | |
parent | da6192de80b02052d30576401e06deb228ad84e6 (diff) | |
download | tdevelop-e8e8e542.tar.gz tdevelop-e8e8e542.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 88de09b6cc82c3c1592f1a71415cb962e39eb60b)
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/processwidget.cpp | 2 | ||||
-rw-r--r-- | lib/widgets/qcomboview.cpp | 6 | ||||
-rw-r--r-- | lib/widgets/resizablecombo.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/processwidget.cpp b/lib/widgets/processwidget.cpp index a4188643..f3088c88 100644 --- a/lib/widgets/processwidget.cpp +++ b/lib/widgets/processwidget.cpp @@ -106,7 +106,7 @@ void ProcessListBoxItem::paint(TQPainter *p) ProcessWidget::ProcessWidget(TQWidget *parent, const char *name) : TDEListBox(parent, name) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); // Don't override the palette, as that can mess up styles. Instead, draw // the background ourselves (see ProcessListBoxItem::paint). diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index ec132d80..9e564326 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -158,7 +158,7 @@ QComboView::QComboView( bool rw, TQWidget *parent, const char *name ) d->completeNow = FALSE; d->completionTimer = new TQTimer( this ); - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); d->ed = 0; if ( rw ) @@ -1359,7 +1359,7 @@ void QComboView::setEditable( bool y ) d->ed = 0; } - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); updateGeometry(); update(); } @@ -1443,7 +1443,7 @@ void QComboView::setLineEdit( TQLineEdit *edit ) d->updateLinedGeometry(); edit->installEventFilter( this ); setFocusProxy( edit ); - setFocusPolicy( TQ_StrongFocus ); + setFocusPolicy( TQWidget::StrongFocus ); setUpListView(); diff --git a/lib/widgets/resizablecombo.cpp b/lib/widgets/resizablecombo.cpp index ef96e724..c1dd08a3 100644 --- a/lib/widgets/resizablecombo.cpp +++ b/lib/widgets/resizablecombo.cpp @@ -89,7 +89,7 @@ void MyPushButton::mouseMoveEvent( TQMouseEvent * e ) MyPushButton::MyPushButton( ResizableCombo * parent, const char * name ) :TQPushButton(parent, name), m_resizing(false), m_combo(parent) { - setFocusPolicy(TQ_NoFocus); + setFocusPolicy(TQWidget::NoFocus); setFlat(true); m_width = m_combo->m_combo->width(); } |