]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
add GuiView parent to QToc for proper memory management.
[lyx.git] / src / buffer.h
index ac1395003909f49c7b4390e114c8afc23f4d09e1..94694e2622d847ceb5313721fbe229c900a6bbd1 100644 (file)
@@ -130,6 +130,8 @@ public:
 
        /// This signal is emitted when the buffer is changed.
        boost::signal<void()> changed;
+       /// This signal is emitted when the buffer structure is changed.
+       boost::signal<void()> structureChanged;
        /// This signal is emitted when some parsing error shows up.
        boost::signal<void(std::string)> errors;
        /// This signal is emitted when some message shows up.
@@ -200,8 +202,6 @@ public:
        Language const * getLanguage() const;
        /// get l10n translated to the buffers language
        docstring const B_(std::string const & l10n) const;
-       /// translate \p label to the buffer language if possible
-       docstring const translateLabel(docstring const & label) const;
 
        ///
        int runChktex();
@@ -298,9 +298,6 @@ public:
        ///
        void changeLanguage(Language const * from, Language const * to);
 
-       ///
-       void updateDocLang(Language const * nlang);
-
        ///
        bool isMultiLingual() const;