#include "ui_BibtexUi.h"
#include "ui_BibtexAddUi.h"
-#include "support/docstring.h"
-
-#include <vector>
namespace lyx {
-
-namespace support { class FileFilterList; }
-
namespace frontend {
class GuiBibtexAddDialog : public QDialog, public Ui::BibtexAddUi
Q_OBJECT
public:
- GuiBibtex(GuiView & lv);
+ explicit GuiBibtex(GuiView & lv);
private Q_SLOTS:
void change_adaptor();
void updateContents();
/// Browse for a .bib file
- docstring const browseBib(docstring const & in_name) const;
-
+ QString browseBib(QString const & in_name) const;
/// Browse for a .bst file
- docstring const browseBst(docstring const & in_name) const;
-
+ QString browseBst(QString const & in_name) const;
/// get the list of bst files
- void getBibStyles(std::vector<std::string> & data) const;
+ QStringList bibStyles() const;
/// get the list of bib files
- void getBibFiles(std::vector<std::string> & data) const;
+ QStringList bibFiles() const;
/// build filelists of all availabe bib/bst/cls/sty-files. done through
/// kpsewhich and an external script, saved in *Files.lst
void rescanBibStyles() const;
/// should we put the bibliography to the TOC?
bool bibtotoc() const;
/// which stylefile do we use?
- std::string const getStylefile() const;
+ QString styleFile() const;
///
GuiBibtexAddDialog * add_;