KDE 4.7 PyKDE API Reference

- KDE's Python API

# KIdentityProxyModel Class Reference

`from PyKDE4.kdeui import *`

Inherits: QAbstractProxyModel → QAbstractItemModel → QObject

## Detailed Description

## Methods
| __init__ (self, QObject parent=0)
bool | canFetchMore (self, QModelIndex parent)
int | columnCount (self, QModelIndex parent=QModelIndex())
bool | dropMimeData (self, QMimeData data, Qt::DropAction action, int row, int column, QModelIndex parent)
| fetchMore (self, QModelIndex parent)
QModelIndex | index (self, int row, int column, QModelIndex parent=QModelIndex())
bool | insertColumns (self, int column, int count, QModelIndex parent=QModelIndex())
bool | insertRows (self, int row, int count, QModelIndex parent=QModelIndex())
QModelIndex | mapFromSource (self, QModelIndex sourceIndex)
QItemSelection | mapSelectionFromSource (self, QItemSelection selection)
QItemSelection | mapSelectionToSource (self, QItemSelection selection)
QModelIndex | mapToSource (self, QModelIndex proxyIndex)
[QModelIndex] | match (self, QModelIndex start, int role, QVariant value, int hits=1, Qt::MatchFlags flags=Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))
QMimeData | mimeData (self, [QModelIndex] indexes)
QStringList | mimeTypes (self)
QModelIndex | parent (self, QModelIndex child)
bool | removeColumns (self, int column, int count, QModelIndex parent=QModelIndex())
bool | removeRows (self, int row, int count, QModelIndex parent=QModelIndex())
| resetInternalData (self)
int | rowCount (self, QModelIndex parent=QModelIndex())
| setSourceModel (self, QAbstractItemModel sourceModel)
Qt::DropActions | supportedDropActions (self)

## Method Documentation

__init__ | ( | self, |
|  | QObject | parent=0
| ) |  |  |

bool canFetchMore | ( | self, |
|  | QModelIndex | parent
| ) |  |  |

int columnCount | ( | self, |
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

bool dropMimeData | ( | self, |
|  | QMimeData | data,
|  | Qt::DropAction | action,
|  | int | row,
|  | int | column,
|  | QModelIndex | parent
| ) |  |  |

fetchMore | ( | self, |
|  | QModelIndex | parent
| ) |  |  |

QModelIndex index | ( | self, |
|  | int | row,
|  | int | column,
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

bool insertColumns | ( | self, |
|  | int | column,
|  | int | count,
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

bool insertRows | ( | self, |
|  | int | row,
|  | int | count,
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

QModelIndex mapFromSource | ( | self, |
|  | QModelIndex | sourceIndex
| ) |  |  |

QItemSelection mapSelectionFromSource | ( | self, |
|  | QItemSelection | selection
| ) |  |  |

QItemSelection mapSelectionToSource | ( | self, |
|  | QItemSelection | selection
| ) |  |  |

QModelIndex mapToSource | ( | self, |
|  | QModelIndex | proxyIndex
| ) |  |  |

[QModelIndex] match | ( | self, |
|  | QModelIndex | start,
|  | int | role,
|  | QVariant | value,
|  | int | hits=1,
|  | Qt::MatchFlags | flags=Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap)
| ) |  |  |

QMimeData mimeData | ( | self, |
|  | [QModelIndex] | indexes
| ) |  |  |

QStringList mimeTypes | ( |  | self ) |

QModelIndex parent | ( | self, |
|  | QModelIndex | child
| ) |  |  |

bool removeColumns | ( | self, |
|  | int | column,
|  | int | count,
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

bool removeRows | ( | self, |
|  | int | row,
|  | int | count,
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

resetInternalData | ( |  | self ) |

int rowCount | ( | self, |
|  | QModelIndex | parent=QModelIndex()
| ) |  |  |

setSourceModel | ( | self, |
|  | QAbstractItemModel | sourceModel
| ) |  |  |

Qt::DropActions supportedDropActions | ( |  | self ) |