Moved QueryParamListController to its own translation unit.
This commit is contained in:
parent
3a13b7ffb4
commit
3bf1ef4fe0
5 changed files with 88 additions and 75 deletions
|
|
@ -2,8 +2,6 @@
|
|||
#define QUERYTAB_H
|
||||
|
||||
#include "ASyncDBConnection.h"
|
||||
#include "ParamListModel.h"
|
||||
#include "ParamTypeDelegate.h"
|
||||
#include "QueryResultModel.h"
|
||||
#include "QueryExplainModel.h"
|
||||
#include "stopwatch.h"
|
||||
|
|
@ -26,24 +24,7 @@ class QueryResultModel;
|
|||
class QueryExplainModel;
|
||||
class PgTypeContainer;
|
||||
class OpenDatabase;
|
||||
|
||||
class QueryParamListController : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QueryParamListController(QTableView *tv, OpenDatabase *opendb, QWidget *parent);
|
||||
|
||||
Pgsql::Params params() const;
|
||||
bool empty() const;
|
||||
public slots:
|
||||
void on_addParam();
|
||||
void on_removeParam();
|
||||
private:
|
||||
QTableView *paramTableView;
|
||||
OpenDatabase *m_openDatabase;
|
||||
ParamListModel m_paramList;
|
||||
ParamTypeDelegate m_typeDelegate;
|
||||
};
|
||||
|
||||
class QueryParamListController;
|
||||
|
||||
class QueryTab : public QWidget {
|
||||
Q_OBJECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue