diff options
Diffstat (limited to 'kalzium/src/periodictableview.cpp')
-rw-r--r-- | kalzium/src/periodictableview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/periodictableview.cpp b/kalzium/src/periodictableview.cpp index cb4282d4..950f232e 100644 --- a/kalzium/src/periodictableview.cpp +++ b/kalzium/src/periodictableview.cpp @@ -41,8 +41,8 @@ #include <tqcolor.h> #include <tqrect.h> -PerodicTableView::PerodicTableView(TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name), m_kalziumTip(0), table(0), table2(0) +PerodicTableView::PerodicTableView(TQWidget *parent, const char *name) + : TQWidget(parent, name), m_kalziumTip(0), table(0), table2(0) { d = KalziumDataObject::instance(); @@ -171,8 +171,8 @@ void PerodicTableView::slotToolTip( int number ) m_tooltipElementNumber = number; TQWidget *p = 0; - if ( dynamic_cast<TQWidget*>( tqparent() ) ) - p = TQT_TQWIDGET( tqparent() ); + if ( dynamic_cast<TQWidget*>( parent() ) ) + p = TQT_TQWIDGET( parent() ); if( p ) m_kalziumTip->showTip( mapFromGlobal(TQCursor::pos()), |