From 35774a402027714ed6f93041aea1ebe5f5391205 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 1 Jul 2011 15:58:56 +0200 Subject: 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. --- mappingtablemodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mappingtablemodel.h') 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); -- cgit v1.2.3-70-g09d2