VirtualBox

Changeset 64178 in vbox for trunk/src


Ignore:
Timestamp:
Oct 7, 2016 12:56:16 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Accessibility support (step 78): Continuing with the r111150.

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  
    6969}
    7070
     71void QITableView::currentChanged(const QModelIndex &current, 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
    7179void QITableView::prepare()
    7280{
     
    8593}
    8694
    87 void QITableView::currentChanged(const QModelIndex &current, 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  
    5050protected:
    5151
    52     /** Prepares all. */
    53     virtual void prepare();
    54 
    5552    /** Handles index change from @a previous to @a current. */
    5653    virtual void currentChanged(const QModelIndex &current, const QModelIndex &previous) /* override */;
     54
     55private:
     56
     57    /** Prepares all. */
     58    void prepare();
    5759
    5860    /** Holds the map of editors stored for passed indexes. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette