summaryrefslogtreecommitdiffstats
path: root/src/widgets/qlistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-01 22:50:23 -0500
committerTimothy Pearson <[email protected]>2012-11-01 22:50:23 -0500
commit180abfff4d31bc8db66fea92cf070ff21b7a5e2f (patch)
tree4f999f42be0434280c65a9f3945e7a06c9b63739 /src/widgets/qlistview.cpp
parent294ec2ee1fca27847ba0e913a3b11f7382e0492e (diff)
downloadqt3-180abfff4d31bc8db66fea92cf070ff21b7a5e2f.tar.gz
qt3-180abfff4d31bc8db66fea92cf070ff21b7a5e2f.zip
Add accessor methods to list view items and popup menus for styling
Diffstat (limited to 'src/widgets/qlistview.cpp')
-rw-r--r--src/widgets/qlistview.cpp9
1 files changed, 9 insertions, 0 deletions
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
@@ -490,6 +490,15 @@ static QString qEllipsisText( const QString &org, const QFontMetrics &fm, int wi
*/
/*!
+ 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.
*/