summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:54:39 +0900
committerMichele Calgaro <[email protected]>2023-09-04 10:31:12 +0900
commite8e8e54254ec3786edbbc149be5a7a7109e6541d (patch)
tree6684b76c8005878e39139bc706e1653cbf311fb9 /lib
parentda6192de80b02052d30576401e06deb228ad84e6 (diff)
downloadtdevelop-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')
-rw-r--r--lib/util/blockingkprocess.cpp2
-rw-r--r--lib/util/kdevshellwidget.cpp2
-rw-r--r--lib/widgets/processwidget.cpp2
-rw-r--r--lib/widgets/qcomboview.cpp6
-rw-r--r--lib/widgets/resizablecombo.cpp2
5 files changed, 7 insertions, 7 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();
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();
}