ktimetracker
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
Definition at line 32 of file kttcalendar.h.
Constructor & Destructor Documentation
KTTCalendar::~KTTCalendar | ( | ) |
Definition at line 57 of file kttcalendar.cpp.
Member Function Documentation
|
signal |
|
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 | ( | ) |
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:
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
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.