X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FFloatPlacement.h;h=f59eb39e55544725a4391a5043c235e6101d7874;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=e3ddc343d5425fe8be9b6de312cded580f48414f;hpb=e28114779bd87979f083d9d0b96b9c345bd3bd82;p=lyx.git diff --git a/src/frontends/qt4/FloatPlacement.h b/src/frontends/qt4/FloatPlacement.h index e3ddc343d5..f59eb39e55 100644 --- a/src/frontends/qt4/FloatPlacement.h +++ b/src/frontends/qt4/FloatPlacement.h @@ -1,6 +1,6 @@ // -*- C++ -*- /** - * \file floatplacement.h + * \file FloatPlacement.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -10,26 +10,28 @@ * Full author contact details are available in file CREDITS. */ -#ifndef QT_FLOATPLACEMENT_H -#define QT_FLOATPLACEMENT_H +#ifndef FLOATPLACEMENT_H +#define FLOATPLACEMENT_H -#include "ui/FloatPlacementUi.h" +#include "ui_FloatPlacementUi.h" #include #include + +namespace lyx { + class InsetFloatParams; class FloatPlacement : public QWidget, public Ui::FloatPlacementUi { Q_OBJECT public: FloatPlacement(QWidget * parent = 0); - ~FloatPlacement(); void useWide(); void useSideways(); - void set(InsetFloatParams const & params); + void set(lyx::InsetFloatParams const & params); void set(std::string const & placement); void checkAllowed(); @@ -46,6 +48,12 @@ public Q_SLOTS: Q_SIGNALS: void changed(); +private: + /// one of figure or table? + bool standardfloat_; + }; -#endif +} // namespace lyx + +#endif // FLOATPLACEMENT_H