~ubuntu-branches/ubuntu/wily/muse/wily-proposed

« back to all changes in this revision

Viewing changes to muse/widgets/mdisettings.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 17:12:54 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20111203171254-28b1j4lpb46r5jtl
Tags: 2.0~rc1-1
* New upstream RC release.
* Refresh patches, remove those patches not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//  $Id: genset.h,v 1.3 2004/01/25 09:55:17 wschweer Exp $
 
5
//
 
6
//  (C) Copyright 2001 Werner Schweer (ws@seh.de)
 
7
//
 
8
//  This program is free software; you can redistribute it and/or
 
9
//  modify it under the terms of the GNU General Public License
 
10
//  as published by the Free Software Foundation; version 2 of
 
11
//  the License, or (at your option) any later version.
 
12
//
 
13
//  This program is distributed in the hope that it will be useful,
 
14
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
//  GNU General Public License for more details.
 
17
//
 
18
//  You should have received a copy of the GNU General Public License
 
19
//  along with this program; if not, write to the Free Software
 
20
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
21
//
 
22
//=========================================================
 
23
 
 
24
#ifndef __MDISETTINGS_H__
 
25
#define __MDISETTINGS_H__
 
26
 
 
27
#include <QWidget>
 
28
#include "ui_mdisettings_base.h"
 
29
#include "cobject.h"
 
30
 
 
31
namespace MusEGui {
 
32
 
 
33
//---------------------------------------------------------
 
34
//   GlobalSettingsConfig
 
35
//---------------------------------------------------------
 
36
 
 
37
class MdiSettings : public QWidget, private Ui::MdiSettingsBase
 
38
{
 
39
  Q_OBJECT
 
40
  
 
41
  private:
 
42
    TopWin::ToplevelType _type;
 
43
 
 
44
  public:
 
45
    MdiSettings(TopWin::ToplevelType t, QWidget* parent=0);
 
46
    void update_settings();
 
47
    void apply_settings();
 
48
    TopWin::ToplevelType type() { return _type; }
 
49
};
 
50
 
 
51
} // namespace MusEGui
 
52
 
 
53
#endif