]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.h
Compil fix.
[lyx.git] / src / frontends / qt4 / qt_helpers.h
index ed082e1e33bb4c7d73121310deb460e20a552ad1..66ec9e6f96958dfcbcc2a6e1fda7f2b6851ebdda 100644 (file)
@@ -32,6 +32,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class BufferParams;
 class LyXErr;
 
 LyXErr & operator<<(LyXErr &, QString const &);
@@ -68,13 +69,6 @@ void setValid(QWidget * widget, bool valid);
 QString const qt_(std::string const & str);
 
 ///
-struct LanguagePair { QString first; QString second; };
-
-/** If the caller is the character dialog, add "No change" and "Reset"
-*  to the vector.
-*/
-QList<LanguagePair> languageData(bool character_dlg);
-
 support::FileName libFileSearch(QString const & dir, QString const & name,
                                QString const & ext = QString());
 
@@ -126,6 +120,11 @@ QString addExtension(QString const & name, QString const & extension);
 /// Return the extension of the file (not including the .)
 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