From d979df2f36840b03425e5dc40907f16d10fe4b5c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:23 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 238d438877620ed73915f2360d820cfc0c9131cc. --- src/knemod/interface.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/knemod/interface.cpp') 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 -- cgit v1.2.1