summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-03-02 11:49:03 +0100
committerUwe Klotz <uklotz@mixxx.org>2020-03-02 13:55:35 +0100
commit488faeb17214dbea0ad858c813e71ca4b3a4072e (patch)
tree681555b3ef5bd42016cf93c164e7c2cf8d87a9f7 /src
parent18a134faba514f60a273a9b0aa2f3c9a6a09f214 (diff)
Reformat code: Wrap long lines
Diffstat (limited to 'src')
-rw-r--r--src/track/cue.cpp18
-rw-r--r--src/track/cue.h20
2 files changed, 32 insertions, 6 deletions
diff --git a/src/track/cue.cpp b/src/track/cue.cpp
index b171b1244d..e11cb432af 100644
--- a/src/track/cue.cpp
+++ b/src/track/cue.cpp
@@ -21,7 +21,8 @@ void CuePointer::deleteLater(Cue* pCue) {
}
}
-Cue::Cue(TrackId trackId)
+Cue::Cue(
+ TrackId trackId)
: m_bDirty(false),
m_iId(-1),
m_trackId(trackId),
@@ -34,7 +35,15 @@ Cue::Cue(TrackId trackId)
DEBUG_ASSERT(!m_label.isNull());
}
-Cue::Cue(int id, TrackId trackId, mixxx::CueType type, double position, double length, int hotCue, QString label, PredefinedColorPointer color)
+Cue::Cue(
+ int id,
+ TrackId trackId,
+ mixxx::CueType type,
+ double position,
+ double length,
+ int hotCue,
+ QString label,
+ PredefinedColorPointer color)
: m_bDirty(false),
m_iId(id),
m_trackId(trackId),
@@ -55,7 +64,10 @@ Cue::Cue(int id, TrackId trackId, mixxx::CueType type, double position, double l
}
}
-Cue::Cue(TrackId trackId, mixxx::AudioSignal::SampleRate sampleRate, const mixxx::CueInfo& cueInfo)
+Cue::Cue(
+ TrackId trackId,
+ mixxx::AudioSignal::SampleRate sampleRate,
+ const mixxx::CueInfo& cueInfo)
: m_bDirty(false),
m_iId(-1),
m_trackId(trackId),
diff --git a/src/track/cue.h b/src/track/cue.h
index 7deead3b26..9debf86fed 100644
--- a/src/track/cue.h
+++ b/src/track/cue.h
@@ -52,10 +52,24 @@ class Cue : public QObject {
void updated();
private:
- explicit Cue(TrackId trackId);
- explicit Cue(TrackId trackId, mixxx::AudioSignal::SampleRate sampleRate, const mixxx::CueInfo& cueInfo);
- Cue(int id, TrackId trackId, mixxx::CueType type, double position, double length, int hotCue, QString label, PredefinedColorPointer color);
+ explicit Cue(
+ TrackId trackId);
+ Cue(
+ TrackId trackId,
+ mixxx::AudioSignal::SampleRate sampleRate,
+ const mixxx::CueInfo& cueInfo);
+ Cue(
+ int id,
+ TrackId trackId,
+ mixxx::CueType type,
+ double position,
+ double length,
+ int hotCue,
+ QString label,
+ PredefinedColorPointer color);
+
void setDirty(bool dirty);
+
void setId(int id);
void setTrackId(TrackId trackId);