• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmobiletools

SyncDateTime Class Reference

#include <at_jobs.h>

Inheritance diagram for SyncDateTime:

Inheritance graph
[legend]

List of all members.


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]

Implements KMobileTools::Job.

Definition at line 188 of file at_jobs.h.


The documentation for this class was generated from the following files:
  • at_jobs.h
  • at_jobs.cpp

kmobiletools

Skip menu "kmobiletools"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal