source: smplayer/trunk/src/prefplaylist.h

Last change on this file was 188, checked in by Silvan Scherrer, 8 years ago

SMPlayer: update trunk to version 17.1.0

  • Property svn:eol-style set to LF
File size: 2.0 KB
Line 
1/* smplayer, GUI front-end for mplayer.
2 Copyright (C) 2006-2017 Ricardo Villalba <rvm@users.sourceforge.net>
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 PREFPLAYLIST_H
20#define PREFPLAYLIST_H
21
22#include "ui_prefplaylist.h"
23#include "prefwidget.h"
24
25class Preferences;
26
27class PrefPlaylist : public PrefWidget, public Ui::PrefPlaylist
28{
29 Q_OBJECT
30
31public:
32 PrefPlaylist( QWidget * parent = 0, Qt::WindowFlags f = 0 );
33 ~PrefPlaylist();
34
35 virtual QString sectionName();
36 virtual QPixmap sectionIcon();
37
38 // Pass data to the dialog
39 void setData(Preferences * pref);
40
41 // Apply changes
42 void getData(Preferences * pref);
43
44
45 void setDirectoryRecursion(bool b);
46 bool directoryRecursion();
47
48 void setAutoGetInfo(bool b);
49 bool autoGetInfo();
50
51 void setSavePlaylistOnExit(bool b);
52 bool savePlaylistOnExit();
53
54 void setPlayFilesFromStart(bool b);
55 bool playFilesFromStart();
56
57 void setPlayOnLoad(bool b);
58 bool playOnLoad();
59
60 void setPlayNextAutomatically(bool b);
61 bool playNextAutomatically();
62
63 void setIgnorePlayerErrors(bool b);
64 bool ignorePlayerErrors();
65
66 void setAutoSort(bool b);
67 bool autoSort();
68
69 void setFilterCaseSensitive(bool b);
70 bool filterCaseSensitive();
71
72protected:
73 virtual void createHelp();
74
75 void setAutoAddFilesToPlaylist(bool b);
76 bool autoAddFilesToPlaylist();
77
78 void setMediaToAdd(int);
79 int mediaToAdd();
80
81protected:
82 virtual void retranslateStrings();
83};
84
85#endif
Note: See TracBrowser for help on using the repository browser.