]> git.lyx.org Git - features.git/commitdiff
Embedding: remove the embeddingChanged signal
authorBo Peng <bpeng@lyx.org>
Sun, 21 Oct 2007 19:08:53 +0000 (19:08 +0000)
committerBo Peng <bpeng@lyx.org>
Sun, 21 Oct 2007 19:08:53 +0000 (19:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21105 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp
src/Buffer.h
src/buffer_funcs.cpp
src/frontends/Delegates.h
src/frontends/LyXView.h

index c7ed0a0c4b12d3a9d1ef99067214e0d164332feb..b94a7278be7de001def01065ace5fdd4fe2a665d 100644 (file)
@@ -1900,13 +1900,6 @@ void Buffer::structureChanged() const
 }
 
 
-void Buffer::embeddingChanged() const
-{
-       if (gui_)
-               gui_->embeddingChanged();
-}
-
-
 void Buffer::errors(std::string const & err) const
 {
        if (gui_)
index 8644f0e08be3798068668213d6c1d5c8c98a77c9..29fb1876678fde350b59c49e404eff87f623d472 100644 (file)
@@ -394,8 +394,6 @@ public:
        void changed() const;
        /// This function is called when the buffer structure is changed.
        void structureChanged() const;
-       /// This function is called when an embedded file is changed
-       void embeddingChanged() const;
        /// This function is called when some parsing error shows up.
        void errors(std::string const & err) const;
        /// This function is called when the buffer busy status change.
index d66040c5630ad9e77bf803708743219ef827ac42..04bbb1b1b5e36fa442eaf6f4c67b71802dde4ab3 100644 (file)
@@ -473,11 +473,6 @@ void updateLabels(Buffer const & buf, bool childonly)
        cbuf.tocBackend().update();
        if (!childonly)
                cbuf.structureChanged();
-       // FIXME
-       // the embedding signal is emitted with structureChanged signal
-       // this is inaccurate so these two will be separated later.
-       //cbuf.embeddedFiles().update();
-       //cbuf.embeddingChanged();
 }
 
 
index c063c0d37f0a27a8c1198381a2d39c16ebfd7f87..02661c6b0021cd79b9c4978c268ef169f0bb9a02 100644 (file)
@@ -53,8 +53,6 @@ public:
        virtual ~GuiBufferDelegate() {}
        /// This function is called when the buffer structure is changed.
        virtual void structureChanged() = 0;
-       /// This function is called when an embedded file is changed
-       virtual void embeddingChanged() = 0;
        /// This function is called when some parsing error shows up.
        virtual void errors(std::string const &) = 0;
        /// This function is called when some message shows up.
index 30443e15f137c5e57fd13b7c26454e9e220e8ea4..eb386304b0fcc8b085bc2b38a057c8ccb79ea160 100644 (file)
@@ -184,8 +184,6 @@ public:
        //
        /// This function is called when the buffer structure is changed.
        void structureChanged() { updateToc(); }
-       /// This function is called when an embedded file is changed
-       void embeddingChanged() { updateEmbeddedFiles(); }
        /// This function is called when some parsing error shows up.
        void errors(std::string const & err) { showErrorList(err); }
        /// This function is called when the buffer busy status change.