]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToc.h
do what the FIXME suggested
[lyx.git] / src / frontends / qt4 / GuiToc.h
index f73291f48f439433d0525cb16a31a2a34bccaedc..99e0e6dba737e883d5e4cd064fcbf5850e57653c 100644 (file)
@@ -83,9 +83,6 @@ public:
        std::vector<docstring> const & typeNames() const
        { return type_names_; }
 
-       ///
-       int selectedType() { return selected_type_; }
-
        /// Return the first TocItem before the cursor
        TocIterator currentTocItem(int type) const;
 
@@ -102,21 +99,16 @@ public:
 
        std::vector<std::string> types_;
        std::vector<docstring> type_names_;
-       int selected_type_;
 
        /// Return the guiname from a given cmdName of the TOC param
        docstring guiName(std::string const & type) const;
 
        /// clean-up on hide.
-       void clearParams() { params_.clear(); }
+       void clearParams() {}
        ///
        void dispatchParams();
        ///
        bool isBufferDependent() const { return true; }
-
-private:
-       ///
-       InsetCommandParams params_;
 };
 
 } // namespace frontend