summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTooluButton.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:50:12 +0900
commit04e50e547f8ed2d6db996bc4816179fa962bd6b1 (patch)
tree5880f13b288d79e13e1a10f99c54b27bbe1fc942 /lib/kofficeui/KoTooluButton.cpp
parentd1e35d25fca82e1d86a41895446f7aca8cdc3035 (diff)
downloadkoffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.tar.gz
koffice-04e50e547f8ed2d6db996bc4816179fa962bd6b1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r--lib/kofficeui/KoTooluButton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp
index 4ede56d9..3adcaca8 100644
--- a/lib/kofficeui/KoTooluButton.cpp
+++ b/lib/kofficeui/KoTooluButton.cpp
@@ -458,7 +458,7 @@ void KoColorPanel::finalizeInsertion( const Position& pos )
paint( pos );
if ( !isFocusEnabled() )
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
// Did we start a new row?
if ( m_nextPosition.x == 1 )
updateGeometry();
@@ -599,7 +599,7 @@ void KoColorPanel::paint( const Position& position )
void KoColorPanel::init()
{
- setFocusPolicy( TQ_NoFocus ); // it's empty
+ setFocusPolicy( TQWidget::NoFocus ); // it's empty
m_nextPosition.x = 0;
m_nextPosition.y = 0;
m_focusPosition.x = -1;