[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    kformulawidget in two places?!
From:       Raphael Langerhorst <raphael-langerhorst () gmx ! at>
Date:       2005-01-23 10:06:06
Message-ID: 200501231106.06648.raphael-langerhorst () gmx ! at
[Download RAW message or body]

Hi all,

just discovered bug # 53424

What's the deal with having kformulawidget.* in two places? Is there a 
reason for this? The diff is as follows:

[eagle] ~/devel/kde/koffice> diff kformula/kformulawidget.cc 
lib/kformula/kformulawidget.cc
26a27,28
> //#include <klocale.h>
> //#include <kstdaction.h>
28,32c30,34
< #include <basicelement.h>
< #include <formulacursor.h>
< #include <formulaelement.h>
< #include <kformulacontainer.h>
< #include <kformuladocument.h>
---
> #include "basicelement.h"
> #include "formulacursor.h"
> #include "formulaelement.h"
> #include "kformulacontainer.h"
> #include "kformuladocument.h"
36,37c38
< KFormulaWidget::KFormulaWidget(KFormula::Container* doc,
<                                QWidget* parent, const char* name, 
WFlags f)
---
> KFormulaWidget::KFormulaWidget(Container* doc, QWidget* parent, 
const char* name, WFlags f)
119a121,125
> void KFormulaWidget::wheelEvent(QWheelEvent* event)
> {
>     formulaView.wheelEvent(event);
> }
>
125,126c131,132
<     update();
<     //kdDebug( 40000 ) << "KFormulaWidget::slotFormulaChanged" << 
endl;
---
>     // repaint is needed even if the size doesn't change.
>     //update();
132c138
< KFormula::Container* KFormulaWidget::getDocument()
---
> Container* KFormulaWidget::getDocument()
140c146
< KFormula::FormulaCursor* KFormulaWidget::getCursor()
---
> FormulaCursor* KFormulaWidget::getCursor()
153a160,167
> //     kdDebug( 40000 ) << "KFormulaWidget::slotCursorChanged "
> //                      << formulaView.getDirtyArea().x() << " "
> //                      << formulaView.getDirtyArea().y() << " "
> //                      << formulaView.getDirtyArea().width() << " "
> //                      << formulaView.getDirtyArea().height() << " 
"
> //                      << endl;
>     // sadly this doesn't work
>     //update(formulaView.getDirtyArea());
[eagle] ~/devel/kde/koffice>
-- 
Raphael Langerhorst, JID: raphael@jabber.pilgerer.de
G System, The Evolving Universe - http://www.g-system.at
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic