akonadi
firstrun.cpp
80 foreach (const QString &dirName, KGlobal::dirs()->findDirs("data", QLatin1String("akonadi/firstrun"))) {
123 const int currentVersion = migrationCfg.readEntry(QString::fromLatin1("Version-%1").arg(resourceFamily), 0);
189 kError() << "Unable to obtain agent type for default resource agent configuration " << mCurrentDefault->name();
210 const QString kresCfgFile = KStandardDirs::locateLocal("config", QString::fromLatin1("kresources/%1/stdrc").arg(kresType));
224 kDebug() << "ignoring " << mCurrentDefault->name() << " as there is a KResource setup for its type already.";
259 QDBusInterface *iface = new QDBusInterface(QString::fromLatin1("org.freedesktop.Akonadi.Agent.%1").arg(instance.identifier()),
274 kError() << "Setting " << setting << " not found in agent configuration interface of " << instance.identifier();
bool isValid() const
void synchronize()
Triggers the agent instance to start synchronization.
Definition: agentinstance.cpp:110
bool contains(const QString &str, Qt::CaseSensitivity cs) const
virtual const QMetaObject * metaObject() const
bool isValid() const
QString identifier() const
Returns the unique identifier of the agent instance.
Definition: agentinstance.cpp:55
QList< QByteArray > parameterTypes() const
Provides methods to control the Akonadi server process.
Definition: servermanager.h:42
QDBusMessage call(const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8)
int count(const T &value) const
QStringList mimeTypes() const
Returns the list of supported mime types of the agent type.
Definition: agenttype.cpp:71
Type nameToType(const char *name)
bool isEmpty() const
bool isEmpty() const
int methodCount() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QStringList capabilities() const
Returns the list of supported capabilities of the agent type.
Definition: agenttype.cpp:76
const char * signature() const
void deleteLater()
T & first()
AgentType type(const QString &identifier) const
Returns the agent type with the given identifier or an invalid agent type if the identifier does not ...
Definition: agentmanager.cpp:391
void setName(const QString &name)
Sets the user visible name of the agent instance.
Definition: agentinstance.cpp:60
Job for creating new agent instances.
Definition: agentinstancecreatejob.h:71
T takeFirst()
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
static AgentManager * self()
Returns the global instance of the agent manager.
Definition: agentmanager.cpp:377
QString fromLatin1(const char *str, int size)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QMetaMethod method(int index) const
static bool hasInstanceIdentifier()
Returns true if we are connected to a non-default Akonadi server instance.
Definition: servermanager.cpp:289
void reconfigure() const
Tell the agent that its configuration has been changed remotely via D-Bus.
Definition: agentinstance.cpp:149
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 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:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.