diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-04 10:10:24 +0900 |
commit | 7a9e5fefa81e292e306c727fab3e2a2b29c35c6e (patch) | |
tree | c8228cbdd6ab9c518a234013eb41e07f50ef3284 /kalzium | |
parent | a4d6089d3190091585de62066433167bc70007ab (diff) | |
download | tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.tar.gz tdeedu-7a9e5fefa81e292e306c727fab3e2a2b29c35c6e.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f673794b12fa8685c6682fad9ce67a3a971e25f9)
Diffstat (limited to 'kalzium')
-rw-r--r-- | kalzium/src/detailinfodlg.cpp | 2 | ||||
-rw-r--r-- | kalzium/src/kalziumtip.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kalzium/src/detailinfodlg.cpp b/kalzium/src/detailinfodlg.cpp index 97dd76e6..36b8fdd0 100644 --- a/kalzium/src/detailinfodlg.cpp +++ b/kalzium/src/detailinfodlg.cpp @@ -389,7 +389,7 @@ void DetailedInfoDlg::reloadContent() if ( TQFile::exists( picpath ) ) { TQImage img( picpath, "JPEG" ); - img = img.smoothScale ( 400, 400, TQ_ScaleMin ); + img = img.smoothScale ( 400, 400, TQImage::ScaleMin ); TQPixmap pic; pic.convertFromImage( img ); piclabel->setPixmap( pic ); diff --git a/kalzium/src/kalziumtip.cpp b/kalzium/src/kalziumtip.cpp index e78cb0ef..681c1688 100644 --- a/kalzium/src/kalziumtip.cpp +++ b/kalzium/src/kalziumtip.cpp @@ -40,7 +40,7 @@ KalziumTip::KalziumTip( TQWidget * parent, const char * name, WFlags f ) : TQWidget( parent, name, f ) { - setFocusPolicy(TQ_NoFocus); //the widget don't get the keyboard focus + setFocusPolicy(TQWidget::NoFocus); //the widget don't get the keyboard focus setBackgroundMode(NoBackground); // widget has no background resize(0,0); hide(); //initailly hide it @@ -293,7 +293,7 @@ void KalziumTip::loadIcon() if ( !iconpath.isEmpty() ) { TQImage img ( iconpath, "JPEG" ); - img = img.smoothScale ( 128, 128, TQ_ScaleMin ); + img = img.smoothScale ( 128, 128, TQImage::ScaleMin ); m_icon.convertFromImage( img ); } |