]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Remremove unneeded init() method.
[lyx.git] / src / insets / InsetListings.h
index e80167b1512d80f54437b30e0b57f4bfeb30d1d0..d2b63e7110cc687bc49f7dff896d06a190e80c3b 100644 (file)
@@ -24,7 +24,7 @@ namespace lyx {
  */
 
 
-class InsetListings : public InsetERT {
+class InsetListings : public InsetCollapsable {
 public:
        ///
        InsetListings(BufferParams const &, InsetListingsParams const & par = InsetListingsParams());
@@ -49,14 +49,8 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
-       void draw(PainterInfo & pi, int x, int y) const;
-       ///
        bool showInsetDialog(BufferView *) const;
        ///
-       void getDrawFont(FontInfo &) const;
-       ///
        InsetListingsParams const & params() const { return params_; }
        ///
        InsetListingsParams & params() { return params_; }
@@ -69,8 +63,6 @@ protected:
 private:
        virtual Inset * clone() const;
        ///
-       void init();
-       ///
        void setButtonLabel();
        ///
        docstring getCaption(Buffer const &, OutputParams const &) const;