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 9120336a8..2adf8e784 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::currentDateTime(), true, false );
+ TQString date = KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime(), 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]")
- .arg( m_sock->peerAddress().nodeName() )
- .arg( date );
+ .tqarg( m_sock->peerAddress().nodeName() )
+ .tqarg( date );
// Setup the communications
connect( m_sock, TQT_SIGNAL(readyRead()), TQT_SLOT(slotDataAvailable()) );