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

List:       kde-devel
Subject:    Re: KParts question
From:       Matteo Agostinelli <agostinelli () gmail ! com>
Date:       2009-07-29 11:47:01
Message-ID: e64c8ae40907290447w6dd23a3fy22ae375fc88acbe3 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you very much for the tip! It worked perfectly! I managed to remove
the action from the action collection and I have introduced my own action
instead.

Matteo

On Wed, Jul 29, 2009 at 11:29, Andras Mantia <amantia@kde.org> wrote:

> On Wednesday 29 July 2009, Andreas Pakulat wrote:
> > On 29.07.09 10:17:54, Matteo Agostinelli wrote:
> > > Actually I have one more question. is it possible to override the
> > > behavior of an action inherited by the Part? In my case I would
> > > like to customize the SaveAs behavior. What should I do? Is there a
> > > specific function that I can override to fit my needs?
> >
> > No, thats not possible without changing the part.
>
> There are some hacks to do it (search for the action name in the
> colletion, remove and use your own action instead), but that would work
> only if you work with one kpart (eg. always katepart) and you  have to
> know some internal of the part.
>
> Andras
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>

[Attachment #5 (text/html)]

Thank you very much for the tip! It worked perfectly! I managed to remove the action \
from the action collection and I have introduced my own action \
instead.<br><br>Matteo<br><br><div class="gmail_quote">On Wed, Jul 29, 2009 at 11:29, \
Andras Mantia <span dir="ltr">&lt;<a \
href="mailto:amantia@kde.org">amantia@kde.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"><div class="im">On Wednesday 29 July 2009, Andreas \
Pakulat wrote:<br> &gt; On 29.07.09 10:17:54, Matteo Agostinelli wrote:<br>
&gt; &gt; Actually I have one more question. is it possible to override the<br>
&gt; &gt; behavior of an action inherited by the Part? In my case I would<br>
&gt; &gt; like to customize the SaveAs behavior. What should I do? Is there a<br>
&gt; &gt; specific function that I can override to fit my needs?<br>
&gt;<br>
&gt; No, thats not possible without changing the part.<br>
<br>
</div>There are some hacks to do it (search for the action name in the<br>
colletion, remove and use your own action instead), but that would work<br>
only if you work with one kpart (eg. always katepart) and you  have to<br>
know some internal of the part.<br>
<font color="#888888"><br>
Andras<br>
</font><br><br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> <br></blockquote></div><br>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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