Chris@189: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
Chris@189: 
Chris@189: /*
Chris@189:     Sonic Visualiser
Chris@189:     An audio file viewer and annotation editor.
Chris@189:     Centre for Digital Music, Queen Mary, University of London.
Chris@189:     This file copyright 2007 QMUL.
Chris@189:     
Chris@189:     This program is free software; you can redistribute it and/or
Chris@189:     modify it under the terms of the GNU General Public License as
Chris@189:     published by the Free Software Foundation; either version 2 of the
Chris@189:     License, or (at your option) any later version.  See the file
Chris@189:     COPYING included with this distribution for more information.
Chris@189: */
Chris@189: 
Chris@189: #include "NotifyingComboBox.h"
Chris@189: 
Chris@189: NotifyingComboBox::~NotifyingComboBox()
Chris@189: {
Chris@189: }
Chris@189: 
Chris@189: void
Chris@189: NotifyingComboBox::enterEvent(QEvent *e)
Chris@189: {
Chris@189:     QComboBox::enterEvent(e);
Chris@189:     emit mouseEntered();
Chris@189: }
Chris@189: 
Chris@189: void
Chris@189: NotifyingComboBox::leaveEvent(QEvent *e)
Chris@189: {
Chris@189:     QComboBox::enterEvent(e);
Chris@189:     emit mouseLeft();
Chris@189: }
Chris@189: