]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph_pimpl.h
Minimal fix needed to give Qt a label dialog again.
[lyx.git] / src / paragraph_pimpl.h
index 9f03d866369e6c2e8b95b010868595485cd3b00f..db782737b69a50d068afae3afbfce000bfafbbda 100644 (file)
@@ -8,17 +8,13 @@
 #ifndef PARAGRAPH_PIMPL_H
 #define PARAGRAPH_PIMPL_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "paragraph.h"
 #include "ParagraphParameters.h"
 #include "changes.h"
 #include "counters.h"
 
 #include <boost/scoped_ptr.hpp>
+
 class LyXLayout;
 
 struct Paragraph::Pimpl {
@@ -55,24 +51,24 @@ struct Paragraph::Pimpl {
        bool isChanged(lyx::pos_type start, lyx::pos_type end) const;
        /// is there a non-addition in this range ?
        bool isChangeEdited(lyx::pos_type start, lyx::pos_type end) const;
+
        /// set change at pos
        void setChange(lyx::pos_type pos, Change::Type type);
+
        /// mark as erased
        void markErased();
+
        /// accept change
        void acceptChange(lyx::pos_type start, lyx::pos_type end);
 
        /// reject change
        void rejectChange(lyx::pos_type start, lyx::pos_type end);
+
        /// are we tracking changes ?
        bool tracking() const {
                return changes_.get();
        }
+
        ///
        value_type getChar(lyx::pos_type pos) const;
        ///
@@ -151,9 +147,6 @@ struct Paragraph::Pimpl {
        ///
        FontList fontlist;
 
-       ///
-       Paragraph * TeXDeeper(Buffer const *, BufferParams const &,
-                                std::ostream &, TexRow & texrow);
        ///
        void simpleTeXBlanks(std::ostream &, TexRow & texrow,
                             lyx::pos_type const i,
@@ -175,8 +168,6 @@ struct Paragraph::Pimpl {
        void validate(LaTeXFeatures & features,
                      LyXLayout const & layout) const;
 
-       ///
-       Paragraph * getParFromID(int id) const;
        ///
        unsigned int id_;
        ///
@@ -193,7 +184,7 @@ private:
 
        /// for recording and looking up changes in revision tracking mode
        boost::scoped_ptr<Changes> changes_;
+
        /// Who owns us?
        Paragraph * owner_;
        ///