diff options
Diffstat (limited to 'src/knemod/interface.cpp')
-rw-r--r-- | src/knemod/interface.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/knemod/interface.cpp b/src/knemod/interface.cpp index eefb658..905702a 100644 --- a/src/knemod/interface.cpp +++ b/src/knemod/interface.cpp @@ -52,13 +52,13 @@ Interface::Interface( TQString ifname, mPlotterSettings( plotterSettings ) { connect( &mMonitor, TQT_SIGNAL( statusChanged( int ) ), - &mIcon, TQT_SLOT( updatetqStatus( int ) ) ); + &mIcon, TQT_SLOT( updateStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( available( int ) ), - &mIcon, TQT_SLOT( updateTraytqStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( notAvailable( int ) ), - &mIcon, TQT_SLOT( updateTraytqStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( notExisting( int ) ), - &mIcon, TQT_SLOT( updateTraytqStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( available( int ) ), this, TQT_SLOT( setStartTime( int ) ) ); connect( &mMonitor, TQT_SIGNAL( statusChanged( int ) ), @@ -92,9 +92,9 @@ Interface::~Interface() void Interface::configChanged() { // UNKNOWN_STATE to avoid notification - mIcon.updateTraytqStatus( UNKNOWN_STATE ); + mIcon.updateTrayStatus( UNKNOWN_STATE ); // handle changed iconset by user - mIcon.updatetqStatus( mState ); + mIcon.updateStatus( mState ); mIcon.updateToolTip(); mIcon.updateMenu(); @@ -127,12 +127,12 @@ void Interface::configChanged() void Interface::activateMonitor() { - mMonitor.checktqStatus( this ); + mMonitor.checkStatus( this ); } void Interface::setStartTime( int ) { - mStartTime.setDate( TQDate::tqcurrentDate() ); + mStartTime.setDate( TQDate::currentDate() ); mStartTime.setTime( TQTime::currentTime() ); } @@ -398,7 +398,7 @@ void Interface::configurePlotter() break; } mVisibleBeams = nextVisibleBeams; - mPlotter->tqrepaint(); + mPlotter->repaint(); } void Interface::startStatistics() @@ -464,7 +464,7 @@ void Interface::activateOrHide( TQWidget* widget, bool onlyActivate ) NET::WMGeometry | NET::XAWMState | NET::WMState | NET::WMWindowType ); if( info2.mappingState() != NET::Visible ) continue; // not visible on current desktop -> ignore - if( !info2.geometry().intersects( widget->tqgeometry())) + if( !info2.geometry().intersects( widget->geometry())) continue; // not obscuring the window -> ignore if( !info1.hasState( NET::KeepAbove ) && info2.hasState( NET::KeepAbove )) continue; // obscured by window kept above -> ignore |