2
* \file tagimportdialog.h
3
* Dialog to import from other tags.
9
* Copyright (C) 2011 Urs Fleisch
11
* This file is part of Kid3.
13
* Kid3 is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 2 of the License, or
16
* (at your option) any later version.
18
* Kid3 is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
23
* You should have received a copy of the GNU General Public License
24
* along with this program. If not, see <http://www.gnu.org/licenses/>.
27
#ifndef TAGIMPORTDIALOG_H
28
#define TAGIMPORTDIALOG_H
36
* Dialog to import from a text (file or clipboard).
38
class TagImportDialog : public QDialog {
45
* @param parent parent widget
46
* @param trackDataModel track data to be filled with imported values
48
explicit TagImportDialog(QWidget* parent,
49
TrackDataModel* trackDataModel);
54
virtual ~TagImportDialog();
63
* Apply import to track data.
68
* Save the local settings to the configuration.
79
* Emitted when the m_trackDataVector was updated with new imported data.
81
void trackDataUpdated();
85
* Set the format combo box and line edits from the configuration.
87
void setFormatFromConfig();
89
FormatListEdit* m_formatListEdit;
90
TrackDataModel* m_trackDataModel;