summaryrefslogtreecommitdiffstats
path: root/listmodel.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-23 11:03:14 +0200
committerArno <am@disconnect.de>2010-05-23 11:03:14 +0200
commit8827510ec55eda169340b5414bd60eb3ba3bfb79 (patch)
tree3168a6a1dab6c80a6187747d9e2fb2a4598da8b4 /listmodel.h
parent2380d2c97c8c95c353715c50b02a0f9fa57adc48 (diff)
downloadSheMov-8827510ec55eda169340b5414bd60eb3ba3bfb79.tar.gz
SheMov-8827510ec55eda169340b5414bd60eb3ba3bfb79.tar.bz2
SheMov-8827510ec55eda169340b5414bd60eb3ba3bfb79.zip
Bugfix: margins in ListEditor
Fix layout of AddMovieWizard. The ListEditor-Widget must have margins set to 0 to be laid out properly in a QWizardPage.
Diffstat (limited to 'listmodel.h')
-rw-r--r--listmodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/listmodel.h b/listmodel.h
index edb21ad..fb3612d 100644
--- a/listmodel.h
+++ b/listmodel.h
@@ -26,6 +26,7 @@ class ListModel : public QAbstractItemModel {
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
QModelIndex index(const QVariant &data) const;
QModelIndex parent(const QModelIndex &) const { return QModelIndex(); };
+ const QString table() const { return mTable; };
int rowCount(const QModelIndex &parent = QModelIndex()) const;
int columnCount(const QModelIndex &) const { return 1; };
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;