aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/cueeditor_p.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-02-06 11:55:02 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2021-02-06 11:55:02 +0000
commit3cd19f7132c91639fd71615c726990de36411999 (patch)
tree76c516b26bdd65bbe3c163d97909ca2c1ab4e525 /src/qmmpui/cueeditor_p.h
parent43fae6b9581b9b596eb71a8acdfce2fd877904a7 (diff)
downloadqmmp-3cd19f7132c91639fd71615c726990de36411999.tar.gz
qmmp-3cd19f7132c91639fd71615c726990de36411999.tar.bz2
qmmp-3cd19f7132c91639fd71615c726990de36411999.zip
feature to save cue file
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9689 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/cueeditor_p.h')
-rw-r--r--src/qmmpui/cueeditor_p.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/qmmpui/cueeditor_p.h b/src/qmmpui/cueeditor_p.h
index f0a9d4075..32c909af0 100644
--- a/src/qmmpui/cueeditor_p.h
+++ b/src/qmmpui/cueeditor_p.h
@@ -23,6 +23,8 @@
#include <QWidget>
+#include <qmmp/trackinfo.h>
+
namespace Ui {
class CueEditor;
}
@@ -34,10 +36,11 @@ class CueEditor : public QWidget
Q_OBJECT
public:
- explicit CueEditor(MetaDataModel *model, QWidget *parent = nullptr);
+ explicit CueEditor(MetaDataModel *model, const TrackInfo &info, QWidget *parent = nullptr);
~CueEditor();
void save();
+ bool isEditable() const;
private slots:
void on_loadButton_clicked();
@@ -48,6 +51,8 @@ private:
Ui::CueEditor *m_ui;
MetaDataModel *m_model;
QString m_lastDir;
+ bool m_editable;
+ TrackInfo m_info;
};
#endif // CUEEDITOR_P_H