source: smplayer/trunk/src/prefinterface.h@ 142

Last change on this file since 142 was 142, checked in by Silvan Scherrer, 13 years ago

SMPlayer: update trunk to 0.8.5

  • Property svn:eol-style set to LF
File size: 3.5 KB
RevLine 
[112]1/* smplayer, GUI front-end for mplayer.
[142]2 Copyright (C) 2006-2013 Ricardo Villalba <[email protected]>
[112]3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17*/
18
19#ifndef _PREFINTERFACE_H_
20#define _PREFINTERFACE_H_
21
22#include "ui_prefinterface.h"
23#include "prefwidget.h"
[139]24#include "config.h"
[112]25
26class Preferences;
27
28class PrefInterface : public PrefWidget, public Ui::PrefInterface
29{
30 Q_OBJECT
31
32public:
33 PrefInterface( QWidget * parent = 0, Qt::WindowFlags f = 0 );
34 ~PrefInterface();
35
36 virtual QString sectionName();
37 virtual QPixmap sectionIcon();
38
39 // Pass data to the dialog
40 void setData(Preferences * pref);
41
42 // Apply changes
43 void getData(Preferences * pref);
44
45 bool languageChanged() { return language_changed; };
46 bool iconsetChanged() { return iconset_changed; };
[128]47 bool guiChanged() { return gui_changed; }
48 bool styleChanged() { return style_changed; };
[112]49 bool recentsChanged() { return recents_changed; };
[139]