[QWK] Proposal: paths notation

Lukáš Tinkl lukas at kde.org
Wed May 7 13:12:54 BST 2003


Dne st 7. května 2003 13:34 David Faure napsal(a):
> On Wednesday 07 May 2003 12:29, Jarosław Staniek wrote:
> > - it is not used inside places like in
> >
> > QPixmap::QPixmap( const QString & fileName, ...)
> > QImage::QImage( const QString & fileName, ...)
> > and most notable:
> > QFileInfo::QFileInfo(  const QString & file )
> > QDir::QDir( const QString & path, ...)
>
> On Unix all those methods _do_ call QFile::encodeName().
>
> But you're talking about the commercial Qt on Windows, maybe that one
> doesn't.... What sense does QFile::encodeName() has on Windows then?

The same as on Unix -- NT versions of Windows use Unicode filenames while 
older Windows use CP* encodings

-- 
Lukáš Tinkl (lukas at kde.org, lukas.tinkl at suse.cz)
KDE developer | SuSE Labs | KOffice release manager
http://czechia.kde.org






More information about the kde-core-devel mailing list