diff options
Diffstat (limited to 'kalzium/src/periodictableview.cpp')
-rw-r--r-- | kalzium/src/periodictableview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kalzium/src/periodictableview.cpp b/kalzium/src/periodictableview.cpp index d1e20339..4218c3a2 100644 --- a/kalzium/src/periodictableview.cpp +++ b/kalzium/src/periodictableview.cpp @@ -51,17 +51,17 @@ PerodicTableView::PerodicTableView(TQWidget *parent, const char *name) unSelect(); #if 0 - connect( this, TQT_SIGNAL( tableClicked( TQPoint ) ), - this, TQT_SLOT( selectPoint( TQPoint ) ) ); + connect( this, TQ_SIGNAL( tableClicked( TQPoint ) ), + this, TQ_SLOT( selectPoint( TQPoint ) ) ); #endif - connect( this, TQT_SIGNAL( ToolTip( int ) ), - this, TQT_SLOT( slotToolTip( int ) ) ); + connect( this, TQ_SIGNAL( ToolTip( int ) ), + this, TQ_SLOT( slotToolTip( int ) ) ); - connect( &HoverTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( slotTransientLabel() ) ); + connect( &HoverTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( slotTransientLabel() ) ); - connect( &MouseoverTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( slotMouseover() ) ); + connect( &MouseoverTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( slotMouseover() ) ); setMouseTracking( true ); @@ -172,7 +172,7 @@ void PerodicTableView::slotToolTip( int number ) TQWidget *p = 0; if ( dynamic_cast<TQWidget*>( parent() ) ) - p = TQT_TQWIDGET( parent() ); + p = static_cast<TQWidget*>( parent() ); if( p ) m_kalziumTip->showTip( mapFromGlobal(TQCursor::pos()), @@ -417,7 +417,7 @@ void PerodicTableView::paintCurrentSelection() p.begin(table); TQPen pen; - pen.setStyle( Qt::DotLine ); + pen.setStyle( TQt::DotLine ); pen.setWidth( 4 ); pen.setColor( TQt::blue ); p.setPen( pen ); |