| 59 | } |
| 60 | |
| 61 | void MainWindow::buttonDo() |
| 62 | { |
| 63 | |
| 64 | QString fileName = QFileDialog::getOpenFileName(this, |
| 65 | tr("Open example.xml"), ".", tr("Example File (*example.xml)")); |
| 66 | qDebug()<<fileName; |
| 67 | if (fileName.length()>0){ |
| 68 | bxth->addRequest(QString("create db test0815 %1").arg(fileName)); |
| 69 | bxth->addRequest("xquery //book"); |
| 70 | bxth->addRequest("close"); |
| 71 | bxth->addRequest("drop database test0815"); |
| 72 | } |
| 73 | } |
nothing calls this directly
no test coverage detected