List Info

Thread: Re: koffice/libs/kopageapp




Re: koffice/libs/kopageapp
country flaguser name
Netherlands
2007-02-12 13:04:31
reading this commit I noted the textBold / italic etc
methods.
I'm actually surprised these are there, I never noticed that
someone copied my 
temporary code from KWord. ;)

In KWord I removed these actions some time ago, and I added
a framework to 
KoToolManager to reuse those actions from the tool.
So, you can remove those methods and the actions and when
the textTool is 
installed the menu and toolbar items will still be visible
and updated.
Assuming you call an equivalent of;
   
KoToolManager::instance()->registerTools(m_view->actio
nCollection(),
    m_canvasController);

See kword/part/KWGui.cpp

On Monday 12 February 2007 18:37, Thorsten Zachmann wrote:
> --- trunk/koffice/libs/kopageapp/KoPAView.cpp
#632917:632918
...
>  void KoPAView::textBold(bool bold) {

Cheers!
-- 
Thomas Zander

_______________________________________________
koffice-devel mailing list
koffice-develkde.org
h
ttps://mail.kde.org/mailman/listinfo/koffice-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )