mirror of
https://github.com/fralx/LimeReport.git
synced 2025-01-11 17:18:10 +03:00
IConnectionController has been fixed
This commit is contained in:
parent
9dc3d4bfd8
commit
4c50be4196
@ -145,6 +145,8 @@ class IConnectionController{
|
|||||||
public:
|
public:
|
||||||
virtual void addConnectionDesc(ConnectionDesc* connection) = 0;
|
virtual void addConnectionDesc(ConnectionDesc* connection) = 0;
|
||||||
virtual void changeConnectionDesc(ConnectionDesc* connection) = 0;
|
virtual void changeConnectionDesc(ConnectionDesc* connection) = 0;
|
||||||
|
virtual bool checkConnectionDesc(ConnectionDesc* connection) = 0;
|
||||||
|
virtual QString lastError() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class QueryDesc : public QObject{
|
class QueryDesc : public QObject{
|
||||||
@ -365,7 +367,7 @@ class CallbackDatasource :public ICallbackDatasource, public IDataSource {
|
|||||||
public:
|
public:
|
||||||
CallbackDatasource(): m_currentRow(-1), m_eof(false){}
|
CallbackDatasource(): m_currentRow(-1), m_eof(false){}
|
||||||
bool next();
|
bool next();
|
||||||
bool hasNext(){ if (!m_eof) return checkNextRecord(m_currentRow);}
|
bool hasNext(){ if (!m_eof) return checkNextRecord(m_currentRow); else return false;}
|
||||||
bool prior(){ if (m_currentRow !=-1) {m_currentRow--; return true;} else return false;}
|
bool prior(){ if (m_currentRow !=-1) {m_currentRow--; return true;} else return false;}
|
||||||
void first();
|
void first();
|
||||||
void last(){}
|
void last(){}
|
||||||
|
Loading…
Reference in New Issue
Block a user