summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:52:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:33:38 +0900
commit7ff24388e9d913479dd269cf29ba9aae5f6bde48 (patch)
treea5eecb895074ce87f4225b37f4e4b930f8cf046d /tdm
parent88a3a73f276d3e2f49ee25f57fb8e8660ebe2228 (diff)
downloadtdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.tar.gz
tdebase-7ff24388e9d913479dd269cf29ba9aae5f6bde48.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/kgreeter.cpp4
-rw-r--r--tdm/kfrontend/tdmshutdown.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp
index 9b8a4ab3a..61c3f84ef 100644
--- a/tdm/kfrontend/kgreeter.cpp
+++ b/tdm/kfrontend/kgreeter.cpp
@@ -401,7 +401,7 @@ KGreeter::insertUser( const TQImage &default_pix,
p = ir.image();
TQSize ns( 48, 48 );
if (p.size() != ns) {
- p = p.convertDepth( 32 ).smoothScale( ns, TQ_ScaleMin );
+ p = p.convertDepth( 32 ).smoothScale( ns, TQImage::ScaleMin );
}
break;
} while (--nd >= 0);
@@ -490,7 +490,7 @@ KGreeter::insertUsers(int limit_users)
TQSize ns( 48, 48 );
if (default_pix.size() != ns)
default_pix =
- default_pix.convertDepth( 32 ).smoothScale( ns, TQ_ScaleMin );
+ default_pix.convertDepth( 32 ).smoothScale( ns, TQImage::ScaleMin );
}
if (_showUsers == SHOW_ALL) {
KGreeterUserList noUsers( _noUsers );
diff --git a/tdm/kfrontend/tdmshutdown.cpp b/tdm/kfrontend/tdmshutdown.cpp
index 0cba5e82d..094e2a8c8 100644
--- a/tdm/kfrontend/tdmshutdown.cpp
+++ b/tdm/kfrontend/tdmshutdown.cpp
@@ -753,7 +753,7 @@ void FlatButton::init()
setUsesBigPixmap(true);
setAutoRaise(true);
setTextPosition( TQToolButton::Under );
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
}