[PATCH] Smart pasting in address line edit.

Waldo Bastian bastian at kde.org
Wed Dec 10 11:21:11 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The following patch makes it possible to easily paste a list of e-mail 
addresses in a address line edit.

While doing so I noticed that kabc uses:
     if ( newText.startsWith( "mailto:" ) )
         newText.remove( 0, 7 );

while kmail used to use

    if ( newText.startsWith( "mailto:" ) )
    {
        KURL u(newText);
        newText = u.path();
    }

Was there a reason for that change?

It also seems that the changes of rev. 1.608 of kmails kmcomposewin.cpp have 
not been propagated to addresslineedit.cpp

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/1wGrN4pvrENfboIRApYnAJ0R6iXRD1jgofTLFKwH9Y8kEpJTTQCfRG0R
3GvENtWiFzdgX65IEWCyx6Q=
=wR72
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kabc_addresslineedit.patch
Type: text/x-diff
Size: 652 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031210/0a43a851/attachment.patch>


More information about the kde-core-devel mailing list