source: smplayer/trunk/src/filedialog.cpp@ 117

Last change on this file since 117 was 112, checked in by Silvan Scherrer, 15 years ago

Smplayer: eol-style

  • Property svn:eol-style set to LF
File size: 2.1 KB
Line 
1/* smplayer, GUI front-end for mplayer.
2 Copyright (C) 2006-2010 Ricardo Villalba <rvm@escomposlinux.org>
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#include "filedialog.h"
20#include <QWidget>
21
22QString MyFileDialog::getOpenFileName( QWidget * parent,
23 const QString & caption,
24 const QString & dir, const QString & filter,
25 QString * selectedFilter, QFileDialog::Options options )
26{
27 return QFileDialog::getOpenFileName( parent, caption, dir, filter,
28 selectedFilter, options );
29}
30
31QString MyFileDialog::getExistingDirectory ( QWidget * parent,
32 const QString & caption,
33 const QString & dir,
34 QFileDialog::Options options )
35{
36 return QFileDialog::getExistingDirectory( parent, caption, dir, options );
37}
38
39QString MyFileDialog::getSaveFileName ( QWidget * parent,
40 const QString & caption,
41 const QString & dir,
42 const QString & filter,
43 QString * selectedFilter,
44 QFileDialog::Options options )
45{
46 return QFileDialog::getSaveFileName( parent, caption, dir, filter,
47 selectedFilter, options );
48}
49
50QStringList MyFileDialog::getOpenFileNames ( QWidget * parent,
51 const QString & caption,
52 const QString & dir,
53 const QString & filter,
54 QString * selectedFilter,
55 QFileDialog::Options options )
56{
57 return QFileDialog::getOpenFileNames( parent, caption, dir, filter,
58 selectedFilter, options );
59}
60
Note: See TracBrowser for help on using the repository browser.