diff options
author | Arno <am@disconnect.de> | 2011-07-01 15:58:56 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-07-01 15:58:56 +0200 |
commit | 35774a402027714ed6f93041aea1ebe5f5391205 (patch) | |
tree | 72e90eca0f4bbb20fb9ff69ece1b7429714d0767 /mappingtablemodel.h | |
parent | a06a6425d0ebd982a4fa34502dbb20b06806af49 (diff) | |
download | SheMov-35774a402027714ed6f93041aea1ebe5f5391205.tar.gz SheMov-35774a402027714ed6f93041aea1ebe5f5391205.tar.bz2 SheMov-35774a402027714ed6f93041aea1ebe5f5391205.zip |
Added partial search for MappingTableModel
Added a search button to NewMovieWizard to do partial searches on
the according table. Selected items will be inserted into the
QLineEdit of the Wizard page.
Diffstat (limited to 'mappingtablemodel.h')
-rw-r--r-- | mappingtablemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mappingtablemodel.h b/mappingtablemodel.h index 9d00f72..1c264ff 100644 --- a/mappingtablemodel.h +++ b/mappingtablemodel.h @@ -31,6 +31,7 @@ class MappingTableModel : public SmTreeModel{ virtual bool setData(const QModelIndex &index, const QVariant &value, int role); bool contains(const QString &value) const; void setMappings(const QStringList &itemNames, int seriesPartId = -1); + QStringList findPartialName(const QString &value) const; //add and remove items bool addItem(const QVariant &name); |