]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FloatPlacement.h
Revert "Mark some intentional fall-throughs (in a way understandable to gcc)"
[lyx.git] / src / frontends / qt4 / FloatPlacement.h
index 73ed4eb01003b27cd2f4e6862dbf6e4f2a9461d2..c5f8dd7ef1a508f2f5618baa0607634e400bd73b 100644 (file)
@@ -35,8 +35,10 @@ public:
        //@{
        InsetCode insetCode() const { return FLOAT_CODE; }
        FuncCode creationCode() const { return LFUN_FLOAT_INSERT; }
+       QString dialogTitle() const { return qt_("Float Settings"); }
        void paramsToDialog(Inset const *);
        docstring dialogToParams() const;
+       bool checkWidgets(bool readonly) const;
        //@}
        ///
        void useWide();
@@ -53,15 +55,23 @@ private Q_SLOTS:
 
 private:
        ///
-       void checkAllowed();
+       void checkAllowed() const;
        ///
        std::string const get(bool & wide, bool & sideways) const;
        ///
        void initFloatTypeCO(FloatList const & floats);
+       ///
+       bool possiblePlacement(char const & p) const;
 
        /// one of figure or table?
        bool standardfloat_;
        ///
+       std::string allowed_placement_;
+       ///
+       bool allows_wide_;
+       ///
+       bool allows_sideways_;
+       ///
        FloatList const * float_list_;
 };