[PATCH] win32 paths-related fixes
Thiago Macieira
thiago.macieira at kdemail.net
Fri Feb 11 23:23:16 GMT 2005
Jaroslaw Staniek wrote:
> if ( !KURL::isRelativeURL( QString::fromLocal8Bit(urlArg) ) )
No. The filename encoding doesn't have to be the local 8-bit encoding.
IMO it's more trouble than it's worth to do so, but it's a valid case
nonetheless.
Use QFile::decodeName() and QFile::encodeName().
> return KURL(QString::fromLocal8Bit(urlArg)); // Argument is a URL
>
>in KCmdLineArgs::makeURL()? -- is QString::fromLocal8Bit(urlArg) needed
> or replacing it with _urlArg is enough?
--
Thiago Macieira - thiago (AT) macieira (DOT) info
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050211/e5b44ed5/attachment.sig>
More information about the kde-core-devel
mailing list