- Timestamp:
- Oct 7, 2016 12:56:16 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.cpp
r64168 r64178 69 69 } 70 70 71 void QITableView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) 72 { 73 /* Notify listeners about index changed: */ 74 emit sigCurrentChanged(current, previous); 75 /* Call to base-class: */ 76 QTableView::currentChanged(current, previous); 77 } 78 71 79 void QITableView::prepare() 72 80 { … … 85 93 } 86 94 87 void QITableView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous)88 {89 /* Notify listeners about index changed: */90 emit sigCurrentChanged(current, previous);91 /* Call to base-class: */92 QTableView::currentChanged(current, previous);93 }94 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QITableView.h
r64168 r64178 50 50 protected: 51 51 52 /** Prepares all. */53 virtual void prepare();54 55 52 /** Handles index change from @a previous to @a current. */ 56 53 virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) /* override */; 54 55 private: 56 57 /** Prepares all. */ 58 void prepare(); 57 59 58 60 /** Holds the map of editors stored for passed indexes. */
Note:
See TracChangeset
for help on using the changeset viewer.