kDB: Knowledge DataBase
Loading...
Searching...
No Matches
kDBQuick::Store Class Reference
Inheritance diagram for kDBQuick::Store:
Collaboration diagram for kDBQuick::Store:

Signals

void hostnameChanged ()
 
void portChanged ()
 
void autoSelectPortChanged ()
 
- Signals inherited from knowDBC::Quick::Store
void autoConnectChanged ()
 
void storeRunningChanged ()
 
- Signals inherited from knowCore::Quick::Object
void lastErrorChanged ()
 

Public Member Functions

 Store (QObject *_parent=nullptr)
 
QString hostname () const
 
void setHostname (const QString &_value)
 
int port () const
 
void setPort (int _port)
 
bool isAutoSelectPort () const
 
void setAutoSelectPort (bool _v)
 
Q_INVOKABLE bool start () override
 
Q_INVOKABLE bool stop () override
 
Q_INVOKABLE bool erase () override
 
bool isStoreRunning () const override
 
- Public Member Functions inherited from knowDBC::Quick::Store
 Store (Connection *_connection, QObject *_parent=nullptr)
 
bool isAutoConnect () const
 
void setAutoConnect (bool _v)
 
Connectionconnection () const
 
- Public Member Functions inherited from knowCore::Quick::Object
 Object (QObject *_parent=nullptr)
 
QString lastError () const
 

Properties

QString hostname
 
int port
 
bool autoSelectPort
 
- Properties inherited from knowDBC::Quick::Store
bool storeRunning
 
bool autoConnect
 
knowDBC::Quick::Connectionconnection
 
- Properties inherited from knowCore::Quick::Object
QString lastError
 

Additional Inherited Members

- Protected Member Functions inherited from knowCore::Quick::Object
bool updateLastError (const cres_qresult< void > &_rv)
 
void setLastError (const QString &_error)
 

Member Function Documentation

◆ erase()

bool Store::erase ( )
overridevirtual

Implements knowDBC::Quick::Store.

◆ isStoreRunning()

bool Store::isStoreRunning ( ) const
overridevirtual

Implements knowDBC::Quick::Store.

◆ setAutoSelectPort()

void kDBQuick::Store::setAutoSelectPort ( bool _v)

Try to select the port automatically if a port is already set in the directory of the store. Otherwise, attempt to use the one set in port.

◆ start()

bool Store::start ( )
overridevirtual

Implements knowDBC::Quick::Store.

◆ stop()

bool Store::stop ( )
overridevirtual

Implements knowDBC::Quick::Store.


The documentation for this class was generated from the following files: