From 180abfff4d31bc8db66fea92cf070ff21b7a5e2f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Nov 2012 22:50:23 -0500 Subject: Add accessor methods to list view items and popup menus for styling --- src/widgets/qlistview.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/widgets/qlistview.cpp') diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp index 304ad18..385ad04 100644 --- a/src/widgets/qlistview.cpp +++ b/src/widgets/qlistview.cpp @@ -489,6 +489,15 @@ static QString qEllipsisText( const QString &org, const QFontMetrics &fm, int wi greater than 1000, to allow for extensions to this class. */ +/*! + Constructs a new top-level list view item with no parent +*/ + +QListViewItem::QListViewItem( ) +{ + init(); +} + /*! Constructs a new top-level list view item in the QListView \a parent. -- cgit v1.2.3