]> git.sesse.net Git - vlc/blob - modules/gui/qt4/dialogs/convert.hpp
qt4: use const for QString when possible.
[vlc] / modules / gui / qt4 / dialogs / convert.hpp
1 /*****************************************************************************
2  * GotoTime.hpp : GotoTime dialogs
3  ****************************************************************************
4  * Copyright (C) 2007 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #ifndef QVLC_CONVERT_DIALOG_H_
25 #define QVLC_CONVERT_DIALOG_H_ 1
26
27 #include "util/qvlcframe.hpp"
28
29 class QLineEdit;
30 class QCheckBox;
31 class VLCProfileSelector;
32
33 class ConvertDialog : public QVLCDialog
34 {
35     Q_OBJECT;
36 public:
37     ConvertDialog( QWidget *, intf_thread_t *, const QString& );
38     virtual ~ConvertDialog(){}
39
40     QString getMrl() {return mrl;}
41
42 private:
43     QLineEdit *fileLine;
44
45     QCheckBox *displayBox, *deinterBox, *dumpBox;
46     VLCProfileSelector *profile;
47     QString mrl;
48 private slots:
49     virtual void close();
50     virtual void cancel();
51     void fileBrowse();
52 };
53
54 #endif