kDB: Knowledge DataBase
Loading...
Searching...
No Matches
Engine.h
1#include <QStringList>
2
3#include <kDB/Forward.h>
4
5// TODO kDB 5.0 rename to krQL (knowledge request Query Language), and integrate more tightly in the store. Allow execute to return a value
6
7namespace kDB::SMQuery
8{
14 class Q_DECL_DEPRECATED_X("SMQuery is deprecated in favor of krQL.") Engine
15 {
16 public:
17 Engine();
18 ~Engine();
26 void add(const QStringList& _keys, Interfaces::Action* _action, bool _action_owned_by_engine);
30 void remove(Interfaces::Action* _action);
34 knowCore::ReturnVoid execute(const QString& _text);
35 private:
36 struct Private;
37 Private* const d;
38 };
39}
Definition Action.h:13
class Q_DECL_DEPRECATED_X("SMQuery is deprecated in favor of krQL.") Engine
Definition Engine.h:14