fixed some build related problems
[qsqlmon.git] / qsqlmon / dlgindexdef.h
blobea125d71f6623416059276fca9b443397a151256
2 //
3 // Author: Frantisek Vacek <fanda.vacek@volny.cz>, (C) 2005
4 //
5 // Copyright: See COPYING file that comes with this distribution
6 //
8 #ifndef DLGINDEXDEF_H
9 #define DLGINDEXDEF_H
11 //#include <qfglobal.h>
12 #include <qfsqlconnection.h>
15 #include <QDialog>
17 //#define QF_NO_TRASH_OUTPUT
18 #include <qflogcust.h>
20 namespace Ui {class DlgIndexDef;};
22 //! TODO: write class documentation.
23 class DlgIndexDef : public QDialog
25 Q_OBJECT
26 private:
27 Ui::DlgIndexDef *ui;
28 protected:
29 QString dbName, tableName, indexName;
31 //MainWindow* mainWindow();
32 QFSqlConnection connection();
34 void loadIndexDefinition();
35 public:
36 QString createIndexCommand();
37 public slots:
38 void on_actionAddFieldToIndex_triggered();
39 void on_actionRemoveFieldFromIndex_triggered();
40 public:
41 DlgIndexDef(QWidget * parent, const QString &table_name, const QString &index_name = QString());
42 virtual ~DlgIndexDef();
45 #endif // DLGINDEXDEF_H