]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
* src/frontends/qt4/qlkey.h: add AltGr as modifier key (fix bug 4026)
[lyx.git] / src / BufferView.h
index 2368a1d16901fc66eb3f6600b93e8eac02fefdbd..da216279640438be70b5b936bf50500bac7b70cb 100644 (file)
@@ -72,7 +72,7 @@ struct ScrollbarParameters
  * is a sliding window of the entire document rendering.
  * It is the official interface between the LyX core and
  * the frontend WorkArea.
- * 
+ *
  * \sa WorkArea
  * \sa Buffer
  * \sa CoordCache
@@ -93,9 +93,6 @@ public:
        /// resize the BufferView.
        void resize();
 
-       /// load a buffer into the view.
-       bool loadLyXFile(support::FileName const & name, bool tolastfiles = true);
-
        /// perform pending metrics updates.
        /** \c Update::FitCursor means first to do a FitCursor, and to
         * force an update if screen position changes.
@@ -146,8 +143,8 @@ public:
        /// return the pixel height of the document view.
        int workHeight() const;
 
-       /// switch between primary and secondary keymaps for RTL entry.
-       void switchKeyMap();
+       /// translate and insert a character, using the correct keymap.
+       void translateAndInsert(char_type c, Text * t, Cursor & cur);
 
        /// return true for events that will handle.
        FuncStatus getStatus(FuncRequest const & cmd);
@@ -245,7 +242,7 @@ public:
                std::string data)> updateDialog;
 
        /// This signal is emitted when the layout at the cursor is changed.
-       boost::signal<void(std::string layout)> layoutChanged;
+       boost::signal<void(docstring layout)> layoutChanged;
 
 private:
        ///