]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FloatPlacement.h
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / FloatPlacement.h
index e3ddc343d5425fe8be9b6de312cded580f48414f..f59eb39e55544725a4391a5043c235e6101d7874 100644 (file)
@@ -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.
  *
  * 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 <QWidget>
 
 #include <string>
 
+
+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