summaryrefslogtreecommitdiffstats
path: root/kalzium
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium')
-rw-r--r--kalzium/src/detailinfodlg.cpp2
-rw-r--r--kalzium/src/kalziumtip.cpp4
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 );
}