MCPcopy Create free account
hub / github.com/BaseXdb/basex / buttonDo

Method buttonDo

basex-api/src/main/qt/mainwindow.cpp:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void 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}

Callers

nothing calls this directly

Calls 3

addRequestMethod · 0.80
lengthMethod · 0.45
argMethod · 0.45

Tested by

no test coverage detected