Akonadi Search
akonadisearchdebugsearchpathcombobox.cpp
25 const QString value = pathFromEnum(static_cast<Akonadi::Search::AkonadiSearchDebugSearchPathComboBox::SearchType>(itemData(currentPathIndex).toInt()));
58 void AkonadiSearchDebugSearchPathComboBox::setSearchType(AkonadiSearchDebugSearchPathComboBox::SearchType type)
66 const QString AkonadiSearchDebugSearchPathComboBox::defaultLocations(const QString &dbName) const
73 basePath = QStringLiteral("baloo/instances/%1").arg(Akonadi::ServerManager::instanceIdentifier());
77 QString dbPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/%1/%2/").arg(basePath, dbName);
85 basePath = QStringLiteral("akonadi/instance/%1/search_db").arg(Akonadi::ServerManager::instanceIdentifier());
89 dbPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/%1/%2/").arg(basePath, dbName);
int findData(const QVariant &data, int role, Qt::MatchFlags flags) const const
currentIndex
QString writableLocation(QStandardPaths::StandardLocation type)
void initialize(StandardShortcut id)
bool mkpath(const QString &dirPath) const const
static QString instanceIdentifier()
GenericDataLocation
QVariant itemData(int index, int role) const const
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
void addItem(const QString &text, const QVariant &userData)
static bool hasInstanceIdentifier()
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:11:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:11:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.