Go to the documentation of this file.00001 #ifndef TABLEBACKUP_H
00002 #define TABLEBACKUP_H
00003
00004 #include <QDialog>
00005 #include <QtSql>
00006 #include "sqldumpthread.h"
00007 namespace Ui {
00008 class TableBackup;
00009 }
00010
00011 class TableBackup : public QDialog
00012 {
00013 Q_OBJECT
00014
00015 public:
00016 explicit TableBackup(QWidget *parent = 0);
00017 ~TableBackup();
00018 QString dbName;
00019 QString tableName;
00020 QSqlDatabase db;
00021 void refresh();
00022 private:
00023 Ui::TableBackup *ui;
00024 SqlDumpThread *dumpThread;
00025 private slots:
00026 void on_cmdSelectFile_clicked();
00027 void on_cmdBackup_clicked();
00028 void on_cmdCancel_clicked();
00029 void saveFile(QString);
00030 };
00031
00032 #endif // TABLEBACKUP_H