Akonadi
utils.cpp
48 const QString socketDir = serverSettings.value(QLatin1String("Connection/SocketDirectory"), defaultDirectory).toString();
59 socketDir = serverSettings.value(QStringLiteral("Connection/SocketDirectory"), defaultDirectory).toString();
82 qCCritical(AKONADISERVER_LOG) << "akonadiSocketDirectory() length of" << totalLength << "is longer than the system limit" << maxLen;
98 const QString identifier = Instance::hasIdentifier() ? Instance::identifier() : QStringLiteral("default");
99 const QString link = StandardDirs::saveDir("data") + QStringLiteral("/socket-%1-%2").arg(hostname, identifier);
141 qCCritical(AKONADISERVER_LOG) << "Creating socket directory with name" << directory << "failed:" << strerror(errno);
148 qCCritical(AKONADISERVER_LOG) << "Creating symlink from" << directory << "to" << link << "failed";
bool remove()
bool mkdir(const QString &dirName) const const
QString homePath()
const QList< QKeySequence > & close()
IniFormat
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
NETWORKMANAGERQT_EXPORT QString hostname()
QString fromLocal8Bit(const char *str, int size)
QDir home()
bool isEmpty() const const
int length() const const
bool mkpath(const QString &dirPath) const const
KIOCORE_EXPORT MkpathJob * mkpath(const QUrl &url, const QUrl &baseUrl=QUrl(), JobFlags flags=DefaultFlags)
bool link(const QString &linkName)
QString & replace(int position, int n, QChar after)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
KIOFILEWIDGETS_EXPORT QString dir(const QString &fileClass)
QString localHostName()
QString symLinkTarget() const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
const QList< QKeySequence > & open()
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:00:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:00:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.