• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

Public Member Functions | List of all members
KTimezoneSource Class Reference

#include <ktimezones.h>

Inheritance diagram for KTimezoneSource:
TDEShared

Public Member Functions

 KTimezoneSource (const TQString &db)
 
virtual TQString db ()
 
virtual bool parse (const TQString &zone, KTimezoneDetails &dataReceiver) const
 
- Public Member Functions inherited from TDEShared
 TDEShared ()
 
 TDEShared (const TDEShared &)
 
TDEShared & operator= (const TDEShared &)
 
void _TDEShared_ref () const
 
void _TDEShared_unref () const
 
int _TDEShared_count () const
 

Detailed Description

The KTimezoneSource class contains information source-dependent functions related to a timezone.

Create subclasses to implement custom sources of timezone information.

For example, to be able to create KTimezone objects from libical's VTIMEZONE objects:

  • Subclass this class with a custom parse() routine.
  • Create one or more instances of this class.
  • Use the instance(s) to create KTimezone objects.
  • If required, add the objects to a KTimezones database.
Since
3.5
Author
S.R.Haque srhaq.nosp@m.ue@i.nosp@m.ee.or.nosp@m.g.

Definition at line 51 of file ktimezones.h.

Constructor & Destructor Documentation

◆ KTimezoneSource()

KTimezoneSource::KTimezoneSource ( const TQString &  db)

Definition at line 674 of file ktimezones.cpp.

◆ ~KTimezoneSource()

KTimezoneSource::~KTimezoneSource ( )
virtual

Definition at line 679 of file ktimezones.cpp.

Member Function Documentation

◆ db()

TQString KTimezoneSource::db ( )
virtual

Location of system timezone information.

Returns
value which can be combined with zone name to retrieve timezone info.

Definition at line 683 of file ktimezones.cpp.

◆ parse()

bool KTimezoneSource::parse ( const TQString &  zone,
KTimezoneDetails &  dataReceiver 
) const
virtual

Extract timezone detail information.

The default implementation consists of a parser for zoneinfo files in tzfile(5).

Returns
true if the parse encountered no errors.

Definition at line 688 of file ktimezones.cpp.


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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.