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

List:       kde-pim
Subject:    Re: [Kde-pim] KMail: "smart paste" of email addresses
From:       Thomas McGuire <thomas.mcguire () gmx ! net>
Date:       2007-12-20 21:33:47
Message-ID: 200712202233.48063.thomas.mcguire () gmx ! net
[Download RAW message or body]

Hi,

On Tuesday 18 December 2007, Kevin Krammer wrote:
> On Monday 17 December 2007, Ingo Klöcker wrote:
> > On Sunday 16 December 2007, Kevin Krammer wrote:
> > > Since the AddresseeLineEdit in libkdepim used this (i.e.
> > > reimplementing KLineEdit::paste(), KLineEdit::insert()) to implement
> > > the so called "smart paste" feature, it no longer works.
> > >
> > > [..]
> > >
> > > Any preferences which way I should investigate further, or maybe any
> > > other option I am overlooking?
> >
> > It's always possible to reimplement the *Event() methods, i.e.
> > keyPressEvent(), and the mouse events. Just make sure that you handle
> > all shortcuts of KStandardAction::paste().
>
> Right, but the text still has to be intercepted somewhere and the
> contextmenu paste would also have to be handled.
>
> Kind of weird that the widget setters are no longer virtual.
I unfortunately can't contribute an answer, because I also don't know a proper 
way to fix this.

What concerns me is that there are suddenly methods in Qt that are no longer 
virtual; I guess these kind of errors can be found in other places, too.
Anybody knows if there is a compiler warning for this? It should warn if 
non-virtual methods are overridden in a subclass. This would be very helpful 
(like the overload-virtual warnings).

Regards,
Thomas


_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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