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

kalarm

Signals | Public Member Functions | Static Public Member Functions | List of all members
CalendarMigrator Class Reference

#include <calendarmigrator.h>

Inheritance diagram for CalendarMigrator:
Inheritance graph
[legend]

Signals

void creating (const QString &path, Akonadi::Collection::Id id, bool finished)
 

Public Member Functions

 ~CalendarMigrator ()
 
template<class Interface >
Interface * getAgentInterface (const AgentInstance &agent, QString &errorMessage, QObject *parent)
 
template<class Interface >
bool updateStorageFormat (const AgentInstance &agent, QString &errorMessage, QObject *parent)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Static Public Member Functions

static bool completed ()
 
static void execute ()
 
template<class Interface >
static Interface * getAgentInterface (const Akonadi::AgentInstance &, QString &errorMessage, QObject *parent)
 
static CalendarMigrator * instance ()
 
static void reset ()
 
static void updateToCurrentFormat (const Akonadi::Collection &, bool ignoreKeepFormat, QWidget *parent)
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Additional Inherited Members

- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Class to migrate KResources alarm calendars from pre-Akonadi versions of KAlarm, and to create default calendar resources if none exist.

Definition at line 42 of file calendarmigrator.h.

Constructor & Destructor Documentation

CalendarMigrator::~CalendarMigrator ( )

Definition at line 144 of file calendarmigrator.cpp.

Member Function Documentation

static bool CalendarMigrator::completed ( )
inlinestatic

Definition at line 51 of file calendarmigrator.h.

void CalendarMigrator::creating ( const QString &  path,
Akonadi::Collection::Id  id,
bool  finished 
)
signal

Signal emitted when a resource is about to be created, and when creation has completed (successfully or not).

Parameters
idcollection ID if finished is true, else invalid
void CalendarMigrator::execute ( )
static

Definition at line 171 of file calendarmigrator.cpp.

template<class Interface >
static Interface* CalendarMigrator::getAgentInterface ( const Akonadi::AgentInstance &  ,
QString &  errorMessage,
QObject *  parent 
)
static
template<class Interface >
Interface* CalendarMigrator::getAgentInterface ( const AgentInstance &  agent,
QString &  errorMessage,
QObject *  parent 
)

Definition at line 518 of file calendarmigrator.cpp.

CalendarMigrator * CalendarMigrator::instance ( )
static

Definition at line 161 of file calendarmigrator.cpp.

void CalendarMigrator::reset ( )
static

Definition at line 153 of file calendarmigrator.cpp.

template<class Interface >
bool CalendarMigrator::updateStorageFormat ( const AgentInstance &  agent,
QString &  errorMessage,
QObject *  parent 
)

Definition at line 497 of file calendarmigrator.cpp.

void CalendarMigrator::updateToCurrentFormat ( const Akonadi::Collection &  ,
bool  ignoreKeepFormat,
QWidget *  parent 
)
static

Definition at line 375 of file calendarmigrator.cpp.


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

KDE's Doxygen guidelines are available online.

kalarm

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

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