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

ktimetracker

  • KTimeTracker
  • KTTCalendar
Public Types | Signals | Public Member Functions | Static Public Member Functions | List of all members
KTimeTracker::KTTCalendar Class Reference

#include <kttcalendar.h>

Inherits MemoryCalendar.

Public Types

typedef QSharedPointer
< KTimeTracker::KTTCalendar > 
Ptr
 

Signals

void calendarChanged ()
 

Public Member Functions

 ~KTTCalendar ()
 
bool reload ()
 
bool save ()
 
void setWeakPointer (const QWeakPointer< KTimeTracker::KTTCalendar > &)
 
QWeakPointer
< KTimeTracker::KTTCalendar > 
weakPointer () const
 

Static Public Member Functions

static
KTimeTracker::KTTCalendar::Ptr 
createInstance (const QString &filename, bool monitorFile)
 

Detailed Description

Definition at line 29 of file kttcalendar.h.

Member Typedef Documentation

typedef QSharedPointer<KTimeTracker::KTTCalendar> KTimeTracker::KTTCalendar::Ptr

Definition at line 32 of file kttcalendar.h.

Constructor & Destructor Documentation

KTTCalendar::~KTTCalendar ( )

Definition at line 57 of file kttcalendar.cpp.

Member Function Documentation

void KTimeTracker::KTTCalendar::calendarChanged ( )
signal
KTTCalendar::Ptr KTTCalendar::createInstance ( const QString &  filename,
bool  monitorFile 
)
static

Creates a new KTTCalendar and calls KTTCalendar::setWeakPointer(), so we can do KTTCalendar::Ptr ptr = qobject_cast<KTTCalendar*>( sender() )->weakPointer().toStrongRef() in slots.

static

For this reason, the ctor is private.

Definition at line 86 of file kttcalendar.cpp.

bool KTTCalendar::reload ( )

reimp

Definition at line 62 of file kttcalendar.cpp.

bool KTTCalendar::save ( )

reimp

static

Definition at line 94 of file kttcalendar.cpp.

void KTTCalendar::setWeakPointer ( const QWeakPointer< KTimeTracker::KTTCalendar > &  ptr)

Definition at line 80 of file kttcalendar.cpp.

QWeakPointer< KTTCalendar > KTTCalendar::weakPointer ( ) const

Definition at line 75 of file kttcalendar.cpp.


The documentation for this class was generated from the following files:
  • kttcalendar.h
  • kttcalendar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktimetracker

Skip menu "ktimetracker"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal