fixed some build related problems
[qsqlmon.git] / qsqlmon / dlgcolumndef.h
blob34e1b15ca96b424823f85a4589af33a580a869fd
1 //
2 // C++ Interface: dlgcolumndef
3 //
4 // Description:
5 //
6 //
7 // Author: Fanda Vacek <fanda.vacek@volny.cz>, (C) 2005
8 //
9 // Copyright: See COPYING file that comes with this distribution
12 #ifndef DLGCOLUMNDEF_H
13 #define DLGCOLUMNDEF_H
15 #include <QDialog>
17 #include <qfsqlconnection.h>
19 #include "ui_dlgcolumndef.h"
21 /**
22 @author Fanda Vacek
24 class DlgColumnDef : public QDialog, public Ui::DlgColumnDef
26 Q_OBJECT
27 protected:
28 QString dbName, tableName;
30 QFSqlConnection connection();
31 public:
32 DlgColumnDef(QWidget * parent, const QString& table);
33 virtual ~DlgColumnDef();
35 void clearFields();
36 void loadColumnDefinition(const QFSqlFieldInfo &fi);
38 void enableControls(bool v);
40 bool showCommand();
42 QString toString();
43 private slots:
44 void on_lstRefTable_currentIndexChanged(const QString & text);
47 #endif