summaryrefslogtreecommitdiffstats
path: root/src/k3btooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/k3btooltip.cpp')
-rw-r--r--src/k3btooltip.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/k3btooltip.cpp b/src/k3btooltip.cpp
index 63ea037..a28c5c2 100644
--- a/src/k3btooltip.cpp
+++ b/src/k3btooltip.cpp
@@ -47,7 +47,7 @@ K3bToolTip::~K3bToolTip()
void K3bToolTip::tip( const TQRect& rect, const TQString& text, int effect )
{
- TQLabel* label = new TQLabel( text, tqparentWidget() );
+ TQLabel* label = new TQLabel( text, parentWidget() );
label->setMargin( 6 );
if( K3bTheme* theme = k3bappcore->themeManager()->currentTheme() ) {
label->setPaletteBackgroundColor( theme->backgroundColor() );
@@ -59,7 +59,7 @@ void K3bToolTip::tip( const TQRect& rect, const TQString& text, int effect )
void K3bToolTip::tip( const TQRect& rect, const TQPixmap& pix, int effect )
{
- TQLabel* label = new TQLabel( tqparentWidget() );
+ TQLabel* label = new TQLabel( parentWidget() );
label->setMargin( 6 );
if( K3bTheme* theme = k3bappcore->themeManager()->currentTheme() ) {
label->setPaletteBackgroundColor( theme->backgroundColor() );
@@ -134,7 +134,7 @@ void K3bToolTip::hideTip()
bool K3bToolTip::eventFilter( TQObject* o, TQEvent* e )
{
- if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(tqparentWidget()) ) {
+ if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(parentWidget()) ) {
switch( e->type() ) {
case TQEvent::MouseButtonPress:
case TQEvent::MouseButtonRelease: