kmobiletools
SyncDateTime Class Reference
#include <at_jobs.h>
Inheritance diagram for SyncDateTime:

Detailed Description
Syncs the computers clock to the phones clock.This job uses the AT+CCLK command to read the time from the phone. If this time differs more than two seconds from the system time, the phones time is synchronized to the systems time.
Definition at line 184 of file at_jobs.h.
Public Member Functions | |
| SyncDateTime (KMobileTools::Job *pjob, KMobileTools::SerialManager *device, AT_Engine *parent=0) | |
| JobType | type () |
Protected Member Functions | |
| void | run () |
Constructor & Destructor Documentation
| SyncDateTime::SyncDateTime | ( | KMobileTools::Job * | pjob, | |
| KMobileTools::SerialManager * | device, | |||
| AT_Engine * | parent = 0 | |||
| ) |
Definition at line 303 of file at_jobs.cpp.
Member Function Documentation
| void SyncDateTime::run | ( | ) | [protected] |
Since we already have a config entry for syncing time, it's not a bad idea to sync ANYWAY if this config entry is enabled. However i'll need to have a better look on it. timediff>2
Definition at line 304 of file at_jobs.cpp.
| JobType SyncDateTime::type | ( | ) | [inline, virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference