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 storeRunningChanged ()
 
void autoConnectChanged ()
 
void autoSelectPortChanged ()
 
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)
 
bool isAutoConnect () const
 
void setAutoConnect (bool _v)
 
Q_INVOKABLE bool start ()
 
Q_INVOKABLE bool stop ()
 
Q_INVOKABLE bool erase ()
 
Connectionconnection ()
 
bool isStoreRunning () const
 
QString lastError () const
 

Properties

bool storeRunning
 
QString hostname
 
int port
 
bool autoConnect
 
bool autoSelectPort
 
kDBQuick::Connectionconnection
 
QString lastError
 

Member Function Documentation

◆ 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.


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