diff options
Diffstat (limited to 'kalzium/src/kalziumtip.cpp')
-rw-r--r-- | kalzium/src/kalziumtip.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kalzium/src/kalziumtip.cpp b/kalzium/src/kalziumtip.cpp index e78cb0ef..c15130ab 100644 --- a/kalzium/src/kalziumtip.cpp +++ b/kalzium/src/kalziumtip.cpp @@ -36,11 +36,11 @@ #include <tdeglobal.h> #include <kiconloader.h> #include <tdelocale.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> 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 @@ -48,14 +48,14 @@ KalziumTip::KalziumTip( TQWidget * parent, const char * name, WFlags f ) : TQWid m_noElemIcon = TDEGlobal::iconLoader()->loadIcon( "orbits", TDEIcon::NoGroup, 64 ); setMouseTracking(true); // receice mouse move events - connect(&m_frameTimer, TQT_SIGNAL(timeout()), TQT_SLOT(internalUpdate())); + connect(&m_frameTimer, TQ_SIGNAL(timeout()), TQ_SLOT(internalUpdate())); } void KalziumTip::showTip( TQPoint mouse, Element* element, int visibleWidth, int visibleHeight ) { TQWidget *p = 0; if ( dynamic_cast<TQWidget*>( parent() ) ) - p = TQT_TQWIDGET( parent() ); + p = static_cast<TQWidget*>( parent() ); if ( p ) { @@ -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 ); } |