summaryrefslogtreecommitdiffstats
path: root/knotes/knotesnetrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesnetrecv.cpp')
-rw-r--r--knotes/knotesnetrecv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/knotes/knotesnetrecv.cpp b/knotes/knotesnetrecv.cpp
index 2adf8e784..9120336a8 100644
--- a/knotes/knotesnetrecv.cpp
+++ b/knotes/knotesnetrecv.cpp
@@ -61,13 +61,13 @@ KNotesNetworkReceiver::KNotesNetworkReceiver( KBufferedSocket *s )
: TQObject(),
m_buffer( new TQByteArray() ), m_sock( s )
{
- TQString date = KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime(), true, false );
+ TQString date = KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime(), true, false );
// Add the remote IP or hostname and the date to the title, to help the
// user guess who wrote it.
m_titleAddon = TQString(" [%1, %2]")
- .tqarg( m_sock->peerAddress().nodeName() )
- .tqarg( date );
+ .arg( m_sock->peerAddress().nodeName() )
+ .arg( date );
// Setup the communications
connect( m_sock, TQT_SIGNAL(readyRead()), TQT_SLOT(slotDataAvailable()) );