]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiListings.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / GuiListings.h
index 2ac5194e7756f70c1eff6ebfdcba074508324dbc..22541997688c277d247b3a15ab15f42bf222b92d 100644 (file)
 namespace lyx {
 namespace frontend {
 
-class GuiListings : public GuiDialog, public Ui::ListingsUi, public Controller
+class GuiListings : public GuiDialog, public Ui::ListingsUi
 {
        Q_OBJECT
 public:
-       GuiListings(LyXView & lv);
+       GuiListings(GuiView & lv);
        /// get values from all the widgets and form a string
        std::string construct_params();
        /// validate listings parameters and return an error message, if any
@@ -44,9 +44,6 @@ private Q_SLOTS:
        /// show dialect when language is chosen
        void on_languageCO_currentIndexChanged(int);
 private:
-       void closeEvent(QCloseEvent * e);
-       /// parent controller
-       Controller & controller() { return *this; }
        /// return false if validate_listings_params returns error
        bool isValid();
        /// Apply changes