kwave  18.07.70
SaveBlocksDialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  SaveBlocksDialog.h - Extended KwaveFileDialog for saving blocks
3  -------------------
4  begin : Thu Mar 01 2007
5  copyright : (C) 2007 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef SAVE_BLOCKS_DIALOG_H
19 #define SAVE_BLOCKS_DIALOG_H
20 
21 #include "config.h"
22 
23 #include <QObject>
24 #include <QString>
25 #include <QWidget>
26 
27 #include "SaveBlocksPlugin.h"
28 #include "libgui/FileDialog.h"
29 
30 class QUrl;
31 
32 namespace Kwave
33 {
34 
35  class SaveBlocksWidget;
36 
38  {
39  Q_OBJECT
40  public:
41 
55  SaveBlocksDialog(const QString &startDir,
56  const QString &filter,
57  QWidget *parent,
58  const QUrl &last_url,
59  const QString &last_ext,
60  QString &filename_pattern,
62  bool selection_only,
63  bool have_selection
64  );
65 
67  virtual ~SaveBlocksDialog();
68 
70  QString pattern();
71 
74 
76  bool selectionOnly();
77 
78  signals:
79 
89  const QString &filename,
90  const QString &pattern,
92  bool selection_only);
93 
94  public slots:
95 
100  void setNewExample(const QString &example);
101 
103  void emitUpdate();
104 
105  private:
106 
109 
110  };
111 }
112 
113 #endif /* SAVE_BLOCKS_DIALOG_H */
114 
115 //***************************************************************************
116 //***************************************************************************
SaveBlocksDialog(const QString &startDir, const QString &filter, QWidget *parent, const QUrl &last_url, const QString &last_ext, QString &filename_pattern, Kwave::SaveBlocksPlugin::numbering_mode_t numbering_mode, bool selection_only, bool have_selection)
Definition: App.h:33
Kwave::SaveBlocksPlugin::numbering_mode_t numberingMode()
void setNewExample(const QString &example)
void sigSelectionChanged(const QString &filename, const QString &pattern, Kwave::SaveBlocksPlugin::numbering_mode_t mode, bool selection_only)
Kwave::SaveBlocksWidget * m_widget