Home
last modified time | relevance | path

Searched refs:fileDialog (Results 1 – 2 of 2) sorted by relevance

/external/webkit/Tools/QtTestBrowser/
Dmainwindow.cpp203 QFileDialog fileDialog(this, tr("Open"), QString(), filter); in openFile() local
204 fileDialog.setAcceptMode(QFileDialog::AcceptOpen); in openFile()
205 fileDialog.setFileMode(QFileDialog::ExistingFile); in openFile()
206 fileDialog.setOptions(QFileDialog::ReadOnly); in openFile()
208 if (fileDialog.exec()) { in openFile()
209 QString selectedFile = fileDialog.selectedFiles()[0]; in openFile()
/external/webkit/Tools/MiniBrowser/qt/
DBrowserWindow.cpp219 QFileDialog fileDialog(this, tr("Open"), QString(), filter); in openFile() local
220 fileDialog.setAcceptMode(QFileDialog::AcceptOpen); in openFile()
221 fileDialog.setFileMode(QFileDialog::ExistingFile); in openFile()
222 fileDialog.setOptions(QFileDialog::ReadOnly); in openFile()
224 if (fileDialog.exec()) { in openFile()
225 QString selectedFile = fileDialog.selectedFiles()[0]; in openFile()