MuseScore/mscore/abstractdialog.cpp
2016-07-01 15:28:35 +02:00

42 lines
1.3 KiB
C++

//=============================================================================
// MuseScore
// Music Composition & Notation
// $Id: abstractdialog.cpp 4220 2011-04-22 10:31:26Z wschweer $
//
// Copyright (C) 2002-2016 Werner Schweer and others
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//=============================================================================
#include "abstractdialog.h"
namespace Ms {
AbstractDialog::AbstractDialog(QWidget * parent, Qt::WindowFlags f)
: QDialog(parent, f)
{
}
AbstractDialog::~AbstractDialog()
{
}
void AbstractDialog::changeEvent(QEvent *event)
{
QDialog::changeEvent(event);
if (event->type() == QEvent::LanguageChange)
retranslate();
}
}