]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPreview.h
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa...
[lyx.git] / src / insets / InsetPreview.h
index b398c89b8f1a52c4b8dbb1d11ed45b34c1987075..039b8e2f45ac06a7b43367853da23136718a7eb5 100644 (file)
@@ -45,11 +45,11 @@ public:
        
        InsetCode lyxCode() const { return PREVIEW_CODE; }
        
-       docstring name() const { return from_ascii("Preview"); }
+       docstring layoutName() const { return from_ascii("Preview"); }
        
        bool descendable(BufferView const & /*bv*/) const { return true; }
 
-       docstring contextMenu(BufferView const &, int, int) const
+       docstring contextMenuName() const
                { return from_ascii("context-preview"); }
 
        void metrics(MetricsInfo & mi, Dimension & dim) const;