Diffusion Ark 7d7e49f76516

Refactor ArchiveEntry to Archive::Entry and move it to Kerfuffle (see…

Authored by mvlabat on May 28 2016, 3:06 PM.

Description

Refactor ArchiveEntry to Archive::Entry and move it to Kerfuffle (see comments in T2704)

Details

Committed
mvlabatJun 7 2016, 9:22 PM
Parents
R36:1809b1270cf8: Refactor ArchiveNode and ArchiveDirNode classes into one ArchiveEntry class…
Branches
Unknown
Tags
Unknown

Some general notes aboute the coding style:

  1. Use Q_NULLPTR instead of NULL
  2. Declare pointers as Foo *bar instead of Foo* bar
  3. Don't put Qt module names in the includes. Use #include <QIcon> instead of #include <QtGui/QIcon>.
/kerfuffle/archiveentry.h
73

Call this one m_children ?

/part/archivemodel.cpp
427–441

Please add a // TODO GSoC comment here, otherwise we might forget about this

Can you also try to get rid of EntryMetaDataType defined in archive_kerfuffle.h?