X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FGuiCitation.h;h=36a3eb23240975c17f93b98264a15c2584661356;hb=f66146973407ecb44ca93bae074ee916d5ed2f04;hp=a4784b20ec03b4e24610c9604a203b8fe0f5de1e;hpb=715b8cda54a2aded29260b57ff201b16fd906f21;p=lyx.git diff --git a/src/frontends/qt/GuiCitation.h b/src/frontends/qt/GuiCitation.h index a4784b20ec..36a3eb2324 100644 --- a/src/frontends/qt/GuiCitation.h +++ b/src/frontends/qt/GuiCitation.h @@ -7,7 +7,7 @@ * \author Angus Leeming * \author Kalle Dalheimer * \author Abdelrazak Younes - * \author Richard Heck + * \author Richard Kimberly Heck * * Full author contact details are available in file CREDITS. */ @@ -17,12 +17,10 @@ #include "DialogView.h" #include "ui_CitationUi.h" -#include "FancyLineEdit.h" #include "insets/InsetCommandParams.h" #include "BiblioInfo.h" -#include "Citation.h" #include #include @@ -31,10 +29,11 @@ namespace lyx { -class BiblioInfo; +class CitationStyle; namespace frontend { +class FancyLineEdit; class GuiSelectionManager; @@ -87,9 +86,9 @@ private: //@} /// - void showEvent(QShowEvent * e); + void showEvent(QShowEvent * e) override; /// - void closeEvent(QCloseEvent * e); + void closeEvent(QCloseEvent * e) override; /// prepares a call to GuiCitation::searchKeys when we /// are ready to search the BibTeX entries void findText(QString const & text, bool reset = false); @@ -151,7 +150,7 @@ private: /// void filterByEntryType(BiblioInfo const & bi, - std::vector & keyVector, docstring entryType); + std::vector & keyVector, docstring const & entryType); /// Search a given string within the passed keys. /// \return the vector of matched keys. @@ -160,7 +159,7 @@ private: std::vector const & keys_to_search, //< Keys to search. bool only_keys, //< whether to search only the keys docstring const & search_expression, //< Search expression (regex possible) - docstring field, //< field to search, empty for all fields + docstring const & field, //< field to search, empty for all fields bool case_sensitive = false, //< set to true is the search should be case sensitive bool regex = false //< \set to true if \c search_expression is a regex ); //