Changeset 63894 in vbox
- Timestamp:
- Sep 19, 2016 4:04:36 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 110766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.cpp
r63893 r63894 160 160 /** Constructs snapshot tree passing @a pParent to the base-class. */ 161 161 UISnapshotTree(QWidget *pParent); 162 163 /** Returns the number of children. */ 164 int childCount() const; 165 /** Returns the child snapshot item with @a iIndex. */ 166 UISnapshotItem *childSnapshotItem(int iIndex) const; 162 167 }; 163 168 … … 495 500 // #endif 496 501 #endif /* QT_VERSION < 0x050000 */ 502 } 503 504 int UISnapshotTree::childCount() const 505 { 506 /* Return the number of children: */ 507 return invisibleRootItem()->childCount(); 508 } 509 510 UISnapshotItem *UISnapshotTree::childSnapshotItem(int iIndex) const 511 { 512 /* Return the child snapshot item with iIndex if any: */ 513 return invisibleRootItem()->child(iIndex) ? UISnapshotPane::toSnapshotItem(invisibleRootItem()->child(iIndex)) : 0; 497 514 } 498 515
Note:
See TracChangeset
for help on using the changeset viewer.