summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qtablewidget_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-11 09:56:54 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-11 14:07:02 (GMT)
commit3f7a7c20c8493f62e090e703acfd581a4e3c4d2e (patch)
treecb835094f6f035ddd3b975db164a056d12f04280 /src/gui/itemviews/qtablewidget_p.h
parent0f60b6e05a707630e02655c60ae60884262a4b8e (diff)
downloadQt-3f7a7c20c8493f62e090e703acfd581a4e3c4d2e.zip
Qt-3f7a7c20c8493f62e090e703acfd581a4e3c4d2e.tar.gz
Qt-3f7a7c20c8493f62e090e703acfd581a4e3c4d2e.tar.bz2
refactor of private getters for the mode i item widget classes
Diffstat (limited to 'src/gui/itemviews/qtablewidget_p.h')
-rw-r--r--src/gui/itemviews/qtablewidget_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qtablewidget_p.h b/src/gui/itemviews/qtablewidget_p.h
index d8bfcc5..2acaf9b 100644
--- a/src/gui/itemviews/qtablewidget_p.h
+++ b/src/gui/itemviews/qtablewidget_p.h
@@ -189,7 +189,7 @@ class QTableWidgetPrivate : public QTableViewPrivate
Q_DECLARE_PUBLIC(QTableWidget)
public:
QTableWidgetPrivate() : QTableViewPrivate() {}
- inline QTableModel *model() const { return qobject_cast<QTableModel*>(q_func()->model()); }
+ inline QTableModel *tableModel() const { return qobject_cast<QTableModel*>(model); }
void setup();
// view signals