kwave
18.07.70
|
#include <K3BExportWidget.h>
Public Member Functions | |
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) | |
virtual | ~K3BExportWidget () |
virtual void | showPreview (const QUrl &url) |
virtual void | clearPreview () |
QString | pattern () const |
bool | selectionOnly () const |
Kwave::K3BExportPlugin::export_location_t | exportLocation () const |
Kwave::K3BExportPlugin::overwrite_policy_t | overwritePolicy () const |
Definition at line 28 of file K3BExportWidget.h.
Kwave::K3BExportWidget::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 | ||
) |
Constructor
widget | pointer to the parent widget |
pattern | the pattern used for detecting title and artist |
selection_only | if true, save only the selection |
have_selection | if true, there is a selection |
export_location | where to export files with tracks |
overwrite_policy | overwrite existing files or use a new name |
Definition at line 30 of file K3BExportWidget.cpp.
References Kwave::K3BExportPlugin::knownPatterns().
|
virtual |
|
inlinevirtual |
Definition at line 61 of file K3BExportWidget.h.
References exportLocation(), overwritePolicy(), pattern(), and selectionOnly().
Kwave::K3BExportPlugin::export_location_t Kwave::K3BExportWidget::exportLocation | ( | ) | const |
returns export location of the files of the tracks
Definition at line 104 of file K3BExportWidget.cpp.
Referenced by clearPreview(), and Kwave::K3BExportDialog::exportLocation().
Kwave::K3BExportPlugin::overwrite_policy_t Kwave::K3BExportWidget::overwritePolicy | ( | ) | const |
returns the file overwrite policy
Definition at line 115 of file K3BExportWidget.cpp.
Referenced by clearPreview(), and Kwave::K3BExportDialog::overwritePolicy().
QString Kwave::K3BExportWidget::pattern | ( | ) | const |
returns the title/artist detection pattern (as is, not escaped)
Definition at line 82 of file K3BExportWidget.cpp.
Referenced by clearPreview(), and Kwave::K3BExportDialog::pattern().
bool Kwave::K3BExportWidget::selectionOnly | ( | ) | const |
returns true if only the selection should be saved
Definition at line 96 of file K3BExportWidget.cpp.
Referenced by clearPreview(), and Kwave::K3BExportDialog::selectionOnly().
|
inlinevirtual |
Definition at line 55 of file K3BExportWidget.h.