Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 0ac6c595 authored by Stefan Brüns's avatar Stefan Brüns

[Bookmarks Runner] Expose list of tables from FetchSqlite

Summary: This is a preparatory patch required for further rework

Test Plan: make

Reviewers: #frameworks, davidedmundson

Reviewed By: davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision:
parent bedf66c2
......@@ -100,3 +100,10 @@ QList<QVariantMap> FetchSqlite::query(const QString &sql, QMap<QString, QVariant
return result;
QStringList FetchSqlite::tables(QSql::TableType type)
QMutexLocker lock(&m_mutex);
return m_db.tables(type);
......@@ -48,6 +48,7 @@ public:
QList<QVariantMap> query(const QString &sql, QMap<QString,QVariant> bindObjects);
QList<QVariantMap> query(BuildQuery *buildQuery, QMap<QString,QVariant> bindObjects);
QList<QVariantMap> query(const QString &sql);
QStringList tables(QSql::TableType type = QSql::Tables);
QString const m_databaseFile;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment