1 //=============================================================================
2 //  MusE Score
3 //  Linux Music Score Editor
4 //
5 //  Copyright (C) 2002-2009 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 __FILE_H__
21 #define __FILE_H__
22 
23 namespace Ms {
24 
25 //---------------------------------------------------------
26 //   WallpaperPreview
27 //---------------------------------------------------------
28 
29 class WallpaperPreview : public QFrame {
30       Q_OBJECT
31       QPixmap* _pixmap;
32 
33       virtual void paintEvent(QPaintEvent*);
sizeHint()34       virtual QSize sizeHint() const { return QSize(100, 100); }
35 
36    public slots:
37       void setImage(const QString& path);
38 
39    public:
40       WallpaperPreview(QWidget* parent = 0);
41       };
42 
43 
44 extern QStringList getSoundFont(const QString&);
45 
46 } // namespace Ms
47 #endif
48 
49