]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocModel.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / TocModel.h
index 265999b1654e34ec32d510c3aab48d6b34e4cd88..8a97aebff7d2d54fe1ad957f052564ca137c6140 100644 (file)
 namespace lyx {
 namespace frontend {
 
-typedef TocBackend::Toc::const_iterator TocIterator;\r
-\r
+typedef TocBackend::Toc::const_iterator TocIterator;
+
 class TocModel: public QStandardItemModel {
        Q_OBJECT
-\r
+
 public:
        ///
        TocModel() {}
@@ -51,13 +51,13 @@ private:
        ///
        void populate(TocIterator & it,
                TocIterator const & end,
-               QModelIndex const & parent);\r
+               QModelIndex const & parent);
        ///
        typedef std::map<QModelIndex, TocIterator> TocMap;
        ///
        typedef std::map<TocIterator, QModelIndex> ModelMap;
        ///
-       TocMap toc_map_;\r
+       TocMap toc_map_;
        ///
        ModelMap model_map_;
 };