kwave  18.07.70
K3BExportWidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  * K3BExportWidget.h - widget for K3b export options in the file open dlg
3  * -------------------
4  * begin : Thu Apr 13 2017
5  * copyright : (C) 2017 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 K3B_EXPORT_WIDGET_H
19 #define K3B_EXPORT_WIDGET_H
20 
21 #include <QWidget>
22 
23 #include "K3BExportPlugin.h"
24 #include "ui_K3BExportWidgetBase.h"
25 
26 namespace Kwave
27 {
28  class K3BExportWidget: public QWidget, public Ui::K3BExportWidgetBase
29  {
30  Q_OBJECT
31  public:
32 
43  QWidget *widget,
44  QString &pattern,
45  bool selection_only,
46  bool have_selection,
49  );
50 
52  virtual ~K3BExportWidget();
53 
55  virtual void showPreview(const QUrl &url)
56  {
57  Q_UNUSED(url);
58  }
59 
61  virtual void clearPreview()
62  {
63  }
64 
66  QString pattern() const;
67 
69  bool selectionOnly() const;
70 
73 
76 
77  };
78 }
79 
80 #endif /* K3B_EXPORT_WIDGET_H */
81 
82 //***************************************************************************
83 //***************************************************************************
Definition: App.h:33
virtual void showPreview(const QUrl &url)
Kwave::K3BExportPlugin::export_location_t exportLocation() const
virtual void clearPreview()
K3BExportWidget(QWidget *widget, QString &pattern, bool selection_only, bool have_selection, Kwave::K3BExportPlugin::export_location_t export_location, Kwave::K3BExportPlugin::overwrite_policy_t overwrite_policy)
Kwave::K3BExportPlugin::overwrite_policy_t overwritePolicy() const