summaryrefslogtreecommitdiffstats
path: root/knotes/knotesnetsend.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knotes/knotesnetsend.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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?