Commit cb37c564 authored by David Faure's avatar David Faure
Browse files

Fix compilation

svn path=/trunk/koffice/; revision=546400
parent 09502650
......@@ -41,8 +41,8 @@
#include "kformulawidget.h"
KFormulaWidget::KFormulaWidget(Container* doc, QWidget* parent, const char* name, Qt::WFlags f)
: QWidget(parent, name, f | Qt::WNoAutoErase | Qt::WResizeNoErase),
KFormulaWidget::KFormulaWidget(Container* doc, QWidget* parent)
: QWidget(parent),
formulaView(doc)
{
connect(doc, SIGNAL(formulaChanged(int, int)),
......
......@@ -50,7 +50,7 @@ class KFormulaWidget : public QWidget
Q_OBJECT
public:
KFormulaWidget(Container*, QWidget* parent=0, Qt::WFlags f=0);
KFormulaWidget(Container*, QWidget* parent=0);
~KFormulaWidget();
......
......@@ -37,8 +37,8 @@ using namespace KFormula;
class TestWidget : public KFormulaWidget {
public:
TestWidget(Container* doc, QWidget* parent=0, const char* name=0, Qt::WFlags f=0)
: KFormulaWidget(doc, parent, name, f) {}
TestWidget(Container* doc, QWidget* parent=0)
: KFormulaWidget(doc, parent) {}
protected:
virtual void keyPressEvent(QKeyEvent* event);
......@@ -259,7 +259,7 @@ int main(int argc, char** argv)
ScrollView* scrollview1a = new ScrollView;
KFormulaWidget* mw1a = new TestWidget(container1, scrollview1a, "test1a");
KFormulaWidget* mw1a = new TestWidget(container1, scrollview1a);
scrollview1a->addChild(mw1a);
scrollview1a->setCaption("Test1a of the formula engine");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment