diff options
Diffstat (limited to 'kopete/plugins/connectionstatus')
-rw-r--r-- | kopete/plugins/connectionstatus/connectionstatusplugin.cpp | 10 | ||||
-rw-r--r-- | kopete/plugins/connectionstatus/connectionstatusplugin.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kopete/plugins/connectionstatus/connectionstatusplugin.cpp b/kopete/plugins/connectionstatus/connectionstatusplugin.cpp index e540277e..d6365c0a 100644 --- a/kopete/plugins/connectionstatus/connectionstatusplugin.cpp +++ b/kopete/plugins/connectionstatus/connectionstatusplugin.cpp @@ -36,7 +36,7 @@ ConnectionStatusPlugin::ConnectionStatusPlugin( TQObject *parent, const char *na m_process = 0L; m_timer = new TQTimer(); - connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotChecktqStatus() ) ); + connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotCheckStatus() ) ); m_timer->start( 60000 ); m_pluginConnected = false; @@ -49,7 +49,7 @@ ConnectionStatusPlugin::~ConnectionStatusPlugin() delete m_process; } -void ConnectionStatusPlugin::slotChecktqStatus() +void ConnectionStatusPlugin::slotCheckStatus() { kdDebug( 14301 ) << k_funcinfo << endl; @@ -87,7 +87,7 @@ void ConnectionStatusPlugin::slotProcessExited( KProcess *process ) if ( process == m_process ) { - setConnectedtqStatus( m_buffer.contains( "default" ) ); + setConnectedStatus( m_buffer.contains( "default" ) ); m_buffer = TQString(); delete m_process; m_process = 0L; @@ -98,11 +98,11 @@ void ConnectionStatusPlugin::slotProcessStdout( KProcess *, char *buffer, int bu { // Look for a default gateway //kdDebug( 14301 ) << k_funcinfo << endl; - m_buffer += TQString::tqfromLatin1( buffer, buflen ); + m_buffer += TQString::fromLatin1( buffer, buflen ); //kdDebug( 14301 ) << qsBuffer << endl; } -void ConnectionStatusPlugin::setConnectedtqStatus( bool connected ) +void ConnectionStatusPlugin::setConnectedStatus( bool connected ) { //kdDebug( 14301 ) << k_funcinfo << endl; diff --git a/kopete/plugins/connectionstatus/connectionstatusplugin.h b/kopete/plugins/connectionstatus/connectionstatusplugin.h index e0efdb9a..c030c71c 100644 --- a/kopete/plugins/connectionstatus/connectionstatusplugin.h +++ b/kopete/plugins/connectionstatus/connectionstatusplugin.h @@ -36,7 +36,7 @@ public: ~ConnectionStatusPlugin(); private slots: - void slotChecktqStatus(); + void slotCheckStatus(); void slotProcessStdout( KProcess *process, char *buffer, int len ); /** @@ -45,7 +45,7 @@ private slots: void slotProcessExited( KProcess *process ); private: - void setConnectedtqStatus( bool newtqStatus ); + void setConnectedStatus( bool newStatus ); bool m_pluginConnected; KProcess *m_process; |