diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:23 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:23 -0600 |
commit | d979df2f36840b03425e5dc40907f16d10fe4b5c (patch) | |
tree | fcf35fe4a4c90a220e799b51299b00f5cc1bb58b /src/knemod/interface.cpp | |
parent | 238d438877620ed73915f2360d820cfc0c9131cc (diff) | |
download | knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.tar.gz knemo-d979df2f36840b03425e5dc40907f16d10fe4b5c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc.
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 905702a..eefb658 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( updateStatus( int ) ) ); + &mIcon, TQT_SLOT( updatetqStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( available( int ) ), - &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTraytqStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( notAvailable( int ) ), - &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTraytqStatus( int ) ) ); connect( &mMonitor, TQT_SIGNAL( notExisting( int ) ), - &mIcon, TQT_SLOT( updateTrayStatus( int ) ) ); + &mIcon, TQT_SLOT( updateTraytqStatus( 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.updateTrayStatus( UNKNOWN_STATE ); + mIcon.updateTraytqStatus( UNKNOWN_STATE ); // handle changed iconset by user - mIcon.updateStatus( mState ); + mIcon.updatetqStatus( mState ); mIcon.updateToolTip(); mIcon.updateMenu(); @@ -127,12 +127,12 @@ void Interface::configChanged() void Interface::activateMonitor() { - mMonitor.checkStatus( this ); + mMonitor.checktqStatus( this ); } void Interface::setStartTime( int ) { - mStartTime.setDate( TQDate::currentDate() ); + mStartTime.setDate( TQDate::tqcurrentDate() ); mStartTime.setTime( TQTime::currentTime() ); } @@ -398,7 +398,7 @@ void Interface::configurePlotter() break; } mVisibleBeams = nextVisibleBeams; - mPlotter->repaint(); + mPlotter->tqrepaint(); } 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->geometry())) + if( !info2.geometry().intersects( widget->tqgeometry())) continue; // not obscuring the window -> ignore if( !info1.hasState( NET::KeepAbove ) && info2.hasState( NET::KeepAbove )) continue; // obscured by window kept above -> ignore |