summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp10
-rw-r--r--noncore/settings/netsystemtime/settime.cpp0
2 files changed, 7 insertions, 3 deletions
diff --git a/noncore/settings/netsystemtime/ntp.cpp b/noncore/settings/netsystemtime/ntp.cpp
index 2b779fa..15dae93 100644
--- a/noncore/settings/netsystemtime/ntp.cpp
+++ b/noncore/settings/netsystemtime/ntp.cpp
@@ -301,25 +301,29 @@ void Ntp::ntpOutPut(QString out)
301 301
302void Ntp::makeChannel() 302void Ntp::makeChannel()
303 { 303 {
304 channel = new QCopChannel( "QPE/Application/netsystemtime", this ); 304 channel = new QCopChannel( "QPE/Application/netsystemtime", this );
305 connect( channel, SIGNAL(received(const QCString&, const QByteArray&)), 305 connect( channel, SIGNAL(received(const QCString&, const QByteArray&)),
306 this, SLOT(receive(const QCString&, const QByteArray&)) ); 306 this, SLOT(receive(const QCString&, const QByteArray&)) );
307} 307}
308 308
309 309
310 310
311void Ntp::receive(const QCString &msg, const QByteArray &arg) 311void Ntp::receive(const QCString &msg, const QByteArray &arg)
312{ 312{
313 qDebug("QCop "+msg+" "+QCString(arg)); 313 qDebug("QCop(Ntp) "+msg+" "+QCString(arg));
314 if ( msg == "open(QString)" ) 314 if ( msg == "ntpLookup(QString)" )
315 { 315 {
316 //qApp->exec(); 316 slotRunNtp();
317 }
318 if ( msg == "setPredictedTime(QString)" )
319 {
320 setPredictTime();
317 }else{ 321 }else{
318 qDebug("Ntp::receive: Huh what do ya want"); 322 qDebug("Ntp::receive: Huh what do ya want");
319 } 323 }
320} 324}
321 325
322void Ntp::setDocument(const QString &fileName) 326void Ntp::setDocument(const QString &fileName)
323{ 327{
324 328
325} \ No newline at end of file 329} \ No newline at end of file
diff --git a/noncore/settings/netsystemtime/settime.cpp b/noncore/settings/netsystemtime/settime.cpp
index 9c5323a..b0fcb74 100644
--- a/noncore/settings/netsystemtime/settime.cpp
+++ b/noncore/settings/netsystemtime/settime.cpp