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

List:       koffice-devel
Subject:    Re: Text Tool Plugins
From:       "Fredy Yanardi" <fyanardi () gmail ! com>
Date:       2007-09-30 16:09:24
Message-ID: 1ec1a3270709300909p7342f389l650f3abefdaad37d () mail ! gmail ! com
[Download RAW message or body]

Yes, I was also thinking of passing actionCollection as one option,
I'll try to implement that, given enough free time ;). And I'll put
all text plugins in one place also.

Thanks,

Fredy

On 9/30/07, Sebastian Sauer <mail@dipe.org> wrote:
> On Friday 28 September 2007, Fredy Yanardi wrote:
> > Hello all,
> >
> > I'm working on some text-tool plugins (text-editing plugins), but I'm stuck
> > in some problem regarding the plugin structure and I need help on this.
> >
> > Basically I think that every plugin should have access to:
> > 1. Configuration widget
> > 2. A way to enable/disable plugin
> > 3. A way to invoke it manually
>
> yeah.
>
> > But I'm confused on how to put those items on application's menu. We can't
> > use actionCollection() from within the plugins since they are not
> > KParts::Plugin.
>
> can't we just pass the KActionCollection* around?
>
> > I'm also thinking of other problems, do all applications want all text-tool
> > plugins?
>
> probably not...
>
> > And if yes, do they also want menus to show plugin configurations
> > in the main window? For example, do Krita or Karbon want a menu to
> > configure autocorrection or to enable/disable autocorrection or maybe
> > spellchecking?
>
> maybe passing the KXMLGuiClient->actionCollection() around may the most easy
> way
>
> > One more thing, I'm planning to move all text-tool plugins to
> > koffice/plugins/text-editing. (since we already have 4 plugins and I think
> > it's better to move them all to one common place)  Is it ok to do that?
>
> sounds fine imho :)
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel
>
_______________________________________________
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