summaryrefslogtreecommitdiffstats
path: root/khexedit
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:54:29 +0900
commit46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8 (patch)
treef4e64eff8c96dc4a8eaaa30b6e234cc140409969 /khexedit
parentcb9417f415d9eb05966fbe27c323bccb8b801b52 (diff)
downloadtdeutils-46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8.tar.gz
tdeutils-46c271a0c91e3bd1b018b1ff43be34a52f5c2cc8.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khexedit')
-rw-r--r--khexedit/bitswapwidget.cpp2
-rw-r--r--khexedit/dialog.cpp2
-rw-r--r--khexedit/hexviewwidget.cpp2
-rw-r--r--khexedit/lib/khexedit.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/khexedit/bitswapwidget.cpp b/khexedit/bitswapwidget.cpp
index bbea65a..bc6da80 100644
--- a/khexedit/bitswapwidget.cpp
+++ b/khexedit/bitswapwidget.cpp
@@ -27,7 +27,7 @@
CDigitLabel::CDigitLabel( TQWidget *parent, uint digit, const char *name )
:TQLabel(parent, name), mDigit( digit ), mDotPosition( 0 )
{
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
initialize();
}
diff --git a/khexedit/dialog.cpp b/khexedit/dialog.cpp
index c2f2d80..588a715 100644
--- a/khexedit/dialog.cpp
+++ b/khexedit/dialog.cpp
@@ -365,7 +365,7 @@ CFindNavigatorDialog::CFindNavigatorDialog( TQWidget *parent, const char *name,
mKey = new TQLineEdit( plainPage() );
mKey->setMinimumWidth( fontMetrics().width("M") * 20 );
- mKey->setFocusPolicy( TQ_NoFocus );
+ mKey->setFocusPolicy( TQWidget::NoFocus );
hbox->addWidget( mKey );
topLayout->addSpacing( spacingHint() ); // A little bit extra space
diff --git a/khexedit/hexviewwidget.cpp b/khexedit/hexviewwidget.cpp
index 6c15ae3..28335af 100644
--- a/khexedit/hexviewwidget.cpp
+++ b/khexedit/hexviewwidget.cpp
@@ -217,7 +217,7 @@ CHexViewWidget::CHexViewWidget( TQWidget *parent, const char *name,
setFrameStyle( TQFrame::WinPanel|TQFrame::Sunken );
setWFlags( WResizeNoErase );
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
mHexBuffer = hexBuffer;
mHexBuffer->cursorReset();
diff --git a/khexedit/lib/khexedit.cpp b/khexedit/lib/khexedit.cpp
index dd34e1e..eaedc9d 100644
--- a/khexedit/lib/khexedit.cpp
+++ b/khexedit/lib/khexedit.cpp
@@ -133,7 +133,7 @@ KHexEdit::KHexEdit( KDataBuffer *Buffer, TQWidget *Parent, const char *Name, WFl
// get the full control
viewport()->setFocusProxy( this );
- viewport()->setFocusPolicy( TQ_WheelFocus );
+ viewport()->setFocusPolicy( TQWidget::WheelFocus );
viewport()->installEventFilter( this );
installEventFilter( this );