MuseScore  3.4
Music composition and notation
abstractdialog.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2002-2016 Werner Schweer and others
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //=============================================================================
19 
20 #ifndef __QABSTRACTDIALOG_H__
21 #define __QABSTRACTDIALOG_H__
22 
23 namespace Ms {
24 
25 //---------------------------------------------------------
26 // AbstractDialog
27 //---------------------------------------------------------
28 
29 class AbstractDialog : public QDialog
30  {
31 
32  Q_OBJECT
33 
34  public:
35  AbstractDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
36  virtual ~AbstractDialog();
37 
38  protected:
39  // change language event
40  virtual void changeEvent(QEvent *event);
41 
42  // translate all strings
43  virtual void retranslate() = 0;
44  };
45 
46 }
47 #endif
48 
AbstractDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: abstractdialog.cpp:24
virtual ~AbstractDialog()
Definition: abstractdialog.cpp:29
virtual void changeEvent(QEvent *event)
Definition: abstractdialog.cpp:34
Definition: abstractdialog.h:29
virtual void retranslate()=0
Definition: aeolus.cpp:26