index 361b30a04c088cb8e71b37c46e371e41a81fa35a..e64353f5a1e6bde0e5fb904b8177703a7dbef503 100644 (file)
-#include "dialog.h"
+#include "ui/widget/panel.h"
#include "application/application.h"
#include "ui/widget/notebook-page.h"
#include "ui/widget/scalar-unit.h"
-class Transformation : public Dialog
+class Transformation : public UI::Widget::Panel
{
public:
/**
* Create a new transform
*/
- Transformation(Behavior::BehaviorFactory behavior_factory);
+ Transformation();
/**
* Cleanup
*/
virtual ~Transformation();
-
/**
* Factory method. Create an instance of this class/interface
*/
- static Transformation *create(Behavior::BehaviorFactory behavior_factory)
- { return new Transformation(behavior_factory); }
+ static Transformation &getInstance()
+ { return *new Transformation(); }
/**