# class MessageThreaderProxyModel

###

Module | akonadi
Namespace | Akonadi
Class | MessageThreaderProxyModel
Inherits | QAbstractProxyModel

Proxy to thread message using the Mailthreader agent

### methods

- MessageThreaderProxyModel (parent)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  parent | QObject | 0

  Create a new MessageThreaderProxyModel

  parent - The parent object

- columnCount (index)

  returns int

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented

- createIndex (row, column, internalId)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  row | int |
  column | int |
  internalId | quint32 |

  Reimplemented

- hasChildren (index)

  returns bool

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented

- index (row, column, parent)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  row | int |
  column | int |
  parent | QModelIndex |

  Reimplemented

- mapFromSource (index)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented

- mapToSource (index)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented

- mimeData (indexes)

  returns QMimeData

  Argument | Type | Default
  --- | --- | ---
  indexes | QModelIndexList |

  Reimplemented

- mimeTypes ( )

  returns QStringList

  Reimplemented

- parent (index)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented to actually do the threading.

- rowCount (index)

  returns int

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |

  Reimplemented

- setSourceModel (sourceMessageModel)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  sourceMessageModel | QAbstractItemModel |

  Set the source model.

  sourceMessageModel - the source model. Be careful, sourceMessageModel has to be a MessageModel.