]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.h
Make string conversion work with non-ucs2-characters if using qt 4.2
[lyx.git] / src / lyxrc.h
index 8282c21a4e50242fda9a9e5943aee1c5a4d84229..25d88edf98d743047e17bbcbe2717da2dbe20cae 100644 (file)
@@ -27,6 +27,8 @@
 
 namespace lyx {
 
+namespace support { class FileName; }
+
 class LyXLex;
 
 /// This contains the runtime configuration of LyX
@@ -152,7 +154,7 @@ public:
        ///
        void setDefaults();
        ///
-       int read(std::string const & filename);
+       int read(support::FileName const & filename);
        ///
        int read(std::istream &);
 private:
@@ -160,7 +162,7 @@ private:
        int read(LyXLex &);
 public:
        ///
-       void write(std::string const & filename,
+       void write(support::FileName const & filename,
                   bool ignore_system_lyxrc) const;
        ///
        void write(std::ostream & os,