~agateau/unity-2d/show-launcher-from-home-button

« back to all changes in this revision

Viewing changes to launcher/app/autohidebehavior.cpp

  • Committer: Aurelien Gateau
  • Date: 2011-03-17 16:16:30 UTC
  • Revision ID: aurelien.gateau@canonical.com-20110317161630-9se8xqj75xai4pw3
Renamed SetMouseIsOverButton to SetMouseOverButton

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        m_autohideTimer->stop();
67
67
        break;
68
68
    case QEvent::Leave:
69
 
        if (!m_controller->mouseIsOverHomeButton()) {
 
69
        if (!m_controller->isMouseOverHomeButton()) {
70
70
            m_autohideTimer->start();
71
71
        }
72
72
        break;
76
76
    return false;
77
77
}
78
78
 
79
 
void AutoHideBehavior::mouseIsOverHomeButtonChanged()
 
79
void AutoHideBehavior::onMouseOverHomeButtonChanged()
80
80
{
81
 
    if (m_controller->mouseIsOverHomeButton()) {
 
81
    if (m_controller->isMouseOverHomeButton()) {
82
82
        m_panel->slideIn();
83
83
    } else {
84
84
        if (!m_panel->underMouse()) {