summaryrefslogtreecommitdiff
authortille <tille>2002-07-06 16:11:39 (UTC)
committer tille <tille>2002-07-06 16:11:39 (UTC)
commit8beb5fcdbca8110dc586a7e620bf8eae892087fb (patch) (side-by-side diff)
treee3f96de0e645f160fd54bdcb6b4c36a25f4437c1
parentb83751deab22e8e25d21265bd59ab53766109ca2 (diff)
downloadopie-8beb5fcdbca8110dc586a7e620bf8eae892087fb.zip
opie-8beb5fcdbca8110dc586a7e620bf8eae892087fb.tar.gz
opie-8beb5fcdbca8110dc586a7e620bf8eae892087fb.tar.bz2
qcop calls
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/netsystemtime/ntp.cpp10
-rw-r--r--noncore/settings/netsystemtime/settime.cpp6
2 files changed, 10 insertions, 6 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
@@ -311,8 +311,12 @@ void Ntp::makeChannel()
void Ntp::receive(const QCString &msg, const QByteArray &arg)
{
- qDebug("QCop "+msg+" "+QCString(arg));
- if ( msg == "open(QString)" )
+ qDebug("QCop(Ntp) "+msg+" "+QCString(arg));
+ if ( msg == "ntpLookup(QString)" )
{
- // qApp->exec();
+ slotRunNtp();
+ }
+ if ( msg == "setPredictedTime(QString)" )
+ {
+ setPredictTime();
}else{
qDebug("Ntp::receive: Huh what do ya want");
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
@@ -269,7 +269,7 @@ void SetDateTime::setTime(QDateTime dt)
// (example re-trigger alarms for when we travel back in time)
DateBookDB db;
- // Restore screensaver
- QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" );
- enableScreenSaver << -1 << -1 << -1;
+ // Restore screensaver
+ QCopEnvelope enableScreenSaver( "QPE/System", "setScreenSaverIntervals(int,int,int)" );
+ enableScreenSaver << -1 << -1 << -1;
}