]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.h
Compil fix.
[lyx.git] / src / frontends / qt4 / qt_helpers.h
index 66a9235ef287ed61794e6de120aaf2637a542c83..66ec9e6f96958dfcbcc2a6e1fda7f2b6851ebdda 100644 (file)
@@ -32,6 +32,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class BufferParams;
 class LyXErr;
 
 LyXErr & operator<<(LyXErr &, QString const &);
@@ -121,6 +122,10 @@ QString getExtension(QString const & name);
 QString makeAbsPath(QString const & relpath, QString const & base);
 QString changeExtension(QString const & oldname, QString const & ext);
 
+/// \return the display string associated with given type and buffer
+/// parameter.
+QString guiName(std::string const & type, BufferParams const & bp);
+
 } // namespace lyx
 
 #endif // QTHELPERS_H