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

List:       kmail-devel
Subject:    Re: Looking for the email drag and drop fix posted 1-2 weeks ago
From:       Richard Bos <allabos () freeler ! nl>
Date:       2001-01-29 20:00:11
[Download RAW message or body]

I just discovere that the same problem when dragging an email address
to the filterrules dialogue.  Perhaps the underneath patch can applied in the 
filter rules dialogue as well?

On Monday 29 January 2001 06:21, Adriaan de Groot wrote:
> On Sunday 28 January 2001 12:17, Richard Bos wrote:
> > a week or maybe 2 weeks ago I posted a bug about incorrect dragging of an
> > email address to kmail.  There was a very quick reply with a proposal how
>
> I might add that abbrowser/browserwidget.cpp contains
> PabListView::contentsDropEvent() which solves the same problem:
>
> void PabListView::contentsDropEvent( QDropEvent *e )
> {
>   QStrList strings;
>   if ( QUriDrag::decode( e, strings ) ) {
>     QString m("Full URLs:\n");
>     for (const char* u=strings.first(); u; u=strings.next())
>       if (u && (KURL::decode_string(u).find( "mailto:" ) == 0)) {
>         pabWidget->addEmail( KURL::decode_string(u).mid(7) );
>         return;
>       }
>   }
> }
>
> which could be useful since the code i originally posted doesn't handle URI
> lists at all, just single addresses such as generated when you drag an
> address from a mail view into the composer.

-- 
Richard Bos
For those who have no (/)home the journey is endless
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

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

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