summaryrefslogtreecommitdiffstats
path: root/knotes/knotesnetsend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesnetsend.cpp')
-rw-r--r--knotes/knotesnetsend.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knotes/knotesnetsend.cpp b/knotes/knotesnetsend.cpp
index 7cf7567e4..86246407b 100644
--- a/knotes/knotesnetsend.cpp
+++ b/knotes/knotesnetsend.cpp
@@ -38,29 +38,29 @@
#define CONNECT_TIMEOUT 10000
-KNotesNetworkSender::KNotesNetworkSender( const QString& hostname, int port )
- : KBufferedSocket( hostname, QString::number( port ) ),
+KNotesNetworkSender::KNotesNetworkSender( const TQString& hostname, int port )
+ : KBufferedSocket( hostname, TQString::number( port ) ),
m_note( 0 ), m_title( 0 ), m_sender( 0 ), m_index( 0 )
{
enableRead( false );
enableWrite( false );
setTimeout( CONNECT_TIMEOUT );
- // QObject:: prefix needed, otherwise the KStreamSocket::connect()
+ // TQObject:: prefix needed, otherwise the KStreamSocket::connect()
// mehtod is called!!!
- QObject::connect( this, SIGNAL(connected( const KResolverEntry& )),
- SLOT(slotConnected( const KResolverEntry& )) );
- QObject::connect( this, SIGNAL(gotError( int )), SLOT(slotError( int )) );
- QObject::connect( this, SIGNAL(closed()), SLOT(slotClosed()) );
- QObject::connect( this, SIGNAL(readyWrite()), SLOT(slotReadyWrite()) );
+ TQObject::connect( this, TQT_SIGNAL(connected( const KResolverEntry& )),
+ TQT_SLOT(slotConnected( const KResolverEntry& )) );
+ TQObject::connect( this, TQT_SIGNAL(gotError( int )), TQT_SLOT(slotError( int )) );
+ TQObject::connect( this, TQT_SIGNAL(closed()), TQT_SLOT(slotClosed()) );
+ TQObject::connect( this, TQT_SIGNAL(readyWrite()), TQT_SLOT(slotReadyWrite()) );
}
-void KNotesNetworkSender::setSenderId( const QString& sender )
+void KNotesNetworkSender::setSenderId( const TQString& sender )
{
m_sender = sender.ascii();
}
-void KNotesNetworkSender::setNote( const QString& title, const QString& text )
+void KNotesNetworkSender::setNote( const TQString& title, const TQString& text )
{
// TODO: support for unicode and rich text.
// Mmmmmm... how to behave with such heterogeneous environment?