Debian Codegraph @

gui/src/qnapiopendialog.h

raw symbols SCIP
1 /*****************************************************************************
2 ** QNapi
3 ** Copyright (C) 2008-2017 Piotr KrzemiƄski <[email protected]>
4 **
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version.
9 **
10 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
11 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
12 **
13 *****************************************************************************/
14
15 #ifndef __QNAPIOPENDIALOG__H__
16 #define __QNAPIOPENDIALOG__H__cxx . . $ `gui/src/qnapiopendialog.h:16:9`!
17
18 #include "config/staticconfig.h"cxx . . $ `<file>/libqnapi/src/config/staticconfig.h`/
19
20 #include <QDesktopWidget>
21 #include <QDir>
22 #include <QFileDialog>
23 #include <QFileInfo>
24 #include <QSharedPointer>
25 #include <QString>
26 #include <QStringList>
27 #include <QUrl>
28
29 class QNapiOpenDialogcxx . . $ QNapiOpenDialog# : public QFileDialogcxx . . $ QFileDialog# {
30 Q_OBJECTcxx . . $ QNapiOpenDialog#staticMetaObject.
31 public:
32 enum FilterModecxx . . $ QNapiOpenDialog#FilterMode# { Nonecxx . . $ QNapiOpenDialog#None., Moviescxx . . $ QNapiOpenDialog#Movies., Subtitlescxx . . $ QNapiOpenDialog#Subtitles. };
33
34 QNapiOpenDialogcxx . . $ QNapiOpenDialog#QNapiOpenDialog(28a307bc0a39ba29).(QWidgetcxx . . $ QWidget#* parent = 0, const QStringcxx . . $ QString#& caption = QStringcxx . . $ QString#QString(49f6e7a06ebc5aa8).(),
35 const QStringcxx . . $ QString#& init_path = QStringcxx . . $ QString#QString(49f6e7a06ebc5aa8).(),
36 FilterModecxx . . $ QNapiOpenDialog#FilterMode# filterMode = Nonecxx . . $ QNapiOpenDialog#None.);
37
38 bool selectFilecxx . . $ QNapiOpenDialog#selectFile(c9857a73d68e59ba).();
39 bool selectFilescxx . . $ QNapiOpenDialog#selectFiles(c9857a73d68e59ba).();
40 bool selectDirectorycxx . . $ QNapiOpenDialog#selectDirectory(c9857a73d68e59ba).();
41
42 #if defined(Q_OS_WIN) || defined(Q_OS_MAC)
43 QStringList selectedFiles() const;
44 #endif
45
46 private:
47 bool placeWindowcxx . . $ QNapiOpenDialog#placeWindow(c9857a73d68e59ba).();
48
49 QSharedPointercxx . . $ QSharedPointer#<const StaticConfigcxx . . $ StaticConfig#> staticConfigcxx . . $ QNapiOpenDialog#staticConfig.;
50
51 #if defined(Q_OS_WIN) || defined(Q_OS_MAC)
52 QStringList files;
53 #endif
54 };
55
56 #endif