<commit_before>
#ifndef CONTACTSMODEL_H
#define CONTACTSMODEL_H

#include "entitytreemodel.h"

#include "akonadi_next_export.h"

using namespace Akonadi;

class ContactsModelPrivate;

class AKONADI_NEXT_EXPORT ContactsModel : public EntityTreeModel
{
  Q_OBJECT
public:

  enum Roles
  {
    EmailCompletionRole = EntityTreeModel::UserRole
  };

  ContactsModel(Session *session, Monitor *monitor, QObject *parent = 0);
  virtual ~ContactsModel();

  virtual QVariant getData(Item item, int column, int role=Qt::DisplayRole) const;

  virtual QVariant getData(Collection collection, int column, int role=Qt::DisplayRole) const;

  virtual int columnCount(const QModelIndex &index = QModelIndex()) const;

  virtual QVariant headerData( int section, Qt::Orientation orientation, int role ) const;

private:
    Q_DECLARE_PRIVATE(ContactsModel);
    ContactsModelPrivate *d_ptr;
};

#endif
<commit_msg>Fix pedantic<commit_after>
#ifndef CONTACTSMODEL_H
#define CONTACTSMODEL_H

#include "entitytreemodel.h"

#include "akonadi_next_export.h"

using namespace Akonadi;

class ContactsModelPrivate;

class AKONADI_NEXT_EXPORT ContactsModel : public EntityTreeModel
{
  Q_OBJECT
public:

  enum Roles
  {
    EmailCompletionRole = EntityTreeModel::UserRole
  };

  ContactsModel(Session *session, Monitor *monitor, QObject *parent = 0);
  virtual ~ContactsModel();

  virtual QVariant getData(Item item, int column, int role=Qt::DisplayRole) const;

  virtual QVariant getData(Collection collection, int column, int role=Qt::DisplayRole) const;

  virtual int columnCount(const QModelIndex &index = QModelIndex()) const;

  virtual QVariant headerData( int section, Qt::Orientation orientation, int role ) const;

private:
    Q_DECLARE_PRIVATE(ContactsModel)
    ContactsModelPrivate *d_ptr;
};

#endif

{'fraction_non_alphanumeric': 0.08398220244716352, 'fraction_numerical': 0.0011123470522803114, 'mean_word_length': 5.866412213740458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2617162', 'n_tokens_mistral': 583, 'n_tokens_neox': 554, 'n_words': 149}