]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocModel.h
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / TocModel.h
index 8ebbc8d9f4bfcfba4f02304c666074dd4ffb42a5..2bf4c43282ac4f593b0718666f71f6c0f415714e 100644 (file)
@@ -69,7 +69,7 @@ public:
        ///
        TocModels(): bv_(0) {}
        ///
-       TocModels::~TocModels() { clear(); }
+       ~TocModels() { clear(); }
        ///
        void reset(BufferView const * bv);
        ///
@@ -77,11 +77,11 @@ public:
        ///
        QStandardItemModel * model(int type);
        ///
-       QModelIndex TocModels::currentIndex(int type) const;
+       QModelIndex currentIndex(int type) const;
        ///
        void goTo(int type, QModelIndex const & index) const;
        ///
-       void TocModels::init(Buffer const & buffer);
+       void init(Buffer const & buffer);
        /// Test if outlining operation is possible
        bool canOutline(int type) const;
        /// Return the list of types available
@@ -98,8 +98,6 @@ Q_SIGNALS:
 private:
        ///
        void clear();
-       /// Return the guiname from a given cmdName of the TOC param
-       QString guiName(std::string const & type) const;
        ///
        BufferView const * bv_;
        ///