[Kde-pim] [patch] Windows port of Maildir and some simplified code

Jarosław Staniek js at iidea.pl
Thu Feb 7 22:33:11 GMT 2008


For review:

- process of simplifying/Qt-ifying the code started:
    FolderStorage::canAccess() now returns bool,
    and thus also the same method in KMFolderSearch, KMFolderMaildir,
    KMFolderMbox, KMFolder

- Maildir filenames: use '!' character separator instead of ':' for windows
    (KMAIL_MAILDIR_FNAME_SEPARATOR macro),
    as it is impossible to create a file containing ':' (regardless of the
    used filesystem - it is a property of the FS API itself)

- KMFolderMaildir::canAccess() use QFileInfo instead of access() - solves
    problem with undefined
    X_OK flag on windows and is still enough efficient as there are no hundreds
    of dirs in a maildir

- KMFolderIndex::recreateIndex() now returns bool

- KMFolderDir::reload() simplified

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmail.patch.gz
Type: application/x-gzip
Size: 4983 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080207/7e67e668/attachment.bin>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list