- LYXERR(Debug::GUI) << "Select with path \"" << to_utf8(path)
- << "\", mask \"" << to_utf8(filters.as_string())
- << "\", suggested \"" << to_utf8(suggested) << '"' << endl;
+ private_->b1.first = label;
+ private_->b1.second = dir;
+}
+
+
+void FileDialog::setButton2(QString const & label, QString const & dir)
+{
+ private_->b2.first = label;
+ private_->b2.second = dir;
+}
+
+
+FileDialog::Result FileDialog::save(QString const & path,
+ QStringList const & filters, QString const & suggested)
+{
+ LYXERR(Debug::GUI, "Select with path \"" << path
+ << "\", mask \"" << filters.join(";;")
+ << "\", suggested \"" << suggested << '"');
+