From kde-core-devel Tue Mar 11 11:16:30 2008 From: Ralf Habacker Date: Tue, 11 Mar 2008 11:16:30 +0000 To: kde-core-devel Subject: Re: 'lightweight' QDir::isAbsolutePath replacement ? Message-Id: <47D66A0E.5080406 () freenet ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=120524584132715 Thiago Macieira schrieb: > On Tuesday 11 March 2008 11:48:25 Ralf Habacker wrote: > >> The QFileInfo methods are for convencience and because the previous >> QDir::isRelativePath() uses QFileInfo too. Only the >> QFSFileEngine::isRelativePath() and QFSFileEngine::isAbsolutePath() are >> really required. >> > > No, they are not. You could have used internal functions that exposed no API > changes. > The internal isRelativePath() functions I have taken are located in qfsfileengine_win.cpp and are needed there - the only way I could imagine would be to add these function to QFSFileEnginePrivate and to use qfsfileengine_p.h in qdir.cpp. Are you refering to this solution ? Ralf