~ubuntu-branches/ubuntu/wily/muse/wily-proposed

« back to all changes in this revision

Viewing changes to muse/widgets/filedialog.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 17:12:54 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20111203171254-28b1j4lpb46r5jtl
Tags: 2.0~rc1-1
* New upstream RC release.
* Refresh patches, remove those patches not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
//  Linux Music Editor
4
4
//    $Id: filedialog.h,v 1.2.2.2 2008/01/19 13:33:46 wschweer Exp $
5
5
//  (C) Copyright 2000 Werner Schweer (ws@seh.de)
 
6
//
 
7
//  This program is free software; you can redistribute it and/or
 
8
//  modify it under the terms of the GNU General Public License
 
9
//  as published by the Free Software Foundation; version 2 of
 
10
//  the License, or (at your option) any later version.
 
11
//
 
12
//  This program is distributed in the hope that it will be useful,
 
13
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
//  GNU General Public License for more details.
 
16
//
 
17
//  You should have received a copy of the GNU General Public License
 
18
//  along with this program; if not, write to the Free Software
 
19
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
20
//
6
21
//=========================================================
7
22
 
8
23
#include <QFileDialog>
9
24
 
10
25
#include "ui_fdialogbuttons.h"
11
26
 
12
 
class QStringList;
 
27
namespace MusEGui {
13
28
 
14
29
//---------------------------------------------------------
15
30
//   FileDialogButtonsWidget
74
89
      };
75
90
*/
76
91
 
77
 
//QString getSaveFileName(const QString& startWidth, const char** filter,
78
 
QString getSaveFileName(const QString& startWidth, const QStringList& filters,
 
92
QString getSaveFileName(const QString& startWidth, const char** filters,
79
93
         QWidget* parent, const QString& name);
80
 
//QString getOpenFileName(const QString& startWidth, const char** filter,
81
 
QString getOpenFileName(const QString& startWidth, const QStringList& filters,
 
94
QString getOpenFileName(const QString& startWidth, const char** filters,
82
95
                        QWidget* parent, const QString& name, bool* openAll, MFileDialog::ViewType viewType = MFileDialog::PROJECT_VIEW);
83
 
//QString getImageFileName(const QString& startWith, const char** filters, 
84
 
QString getImageFileName(const QString& startWith, const QStringList& filters, 
 
96
QString getImageFileName(const QString& startWith, const char** filters, 
85
97
         QWidget* parent, const QString& name);
86
98
 
87
99
FILE* fileOpen(QWidget*, QString, const QString&,
102
114
   public:
103
115
      MFile(const QString& path, const QString& ext);
104
116
      ~MFile();
105
 
      //FILE* open(const char* mode, const char** pattern,
106
 
      FILE* open(const char* mode, const QStringList& pattern,
 
117
      FILE* open(const char* mode, const char** patterns,
107
118
         QWidget* parent, bool noError,
108
119
         bool warnIfOverwrite, const QString& caption);
109
120
      };
110
121
 
 
122
} // namespace MusEGui