Commit f8cd299e authored by Matthieu Gallien's avatar Matthieu Gallien 🎵
Browse files

remove code duplication by moving signal to base class

parent 6f470597
......@@ -75,6 +75,11 @@ Q_SIGNALS:
void sortedAscendingChanged();
void entriesToEnqueue(const ElisaUtils::EntryDataList &newEntries,
ElisaUtils::PlayListEntryType databaseIdType,
ElisaUtils::PlayListEnqueueMode enqueueMode,
ElisaUtils::PlayListEnqueueTriggerPlay triggerPlay);
protected:
bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override = 0;
......
......@@ -36,11 +36,6 @@ public:
Q_SIGNALS:
void entriesToEnqueue(const ElisaUtils::EntryDataList &newEntries,
ElisaUtils::PlayListEntryType databaseIdType,
ElisaUtils::PlayListEnqueueMode enqueueMode,
ElisaUtils::PlayListEnqueueTriggerPlay triggerPlay);
public Q_SLOTS:
void enqueueToPlayList();
......
......@@ -41,11 +41,6 @@ public:
Q_SIGNALS:
void entriesToEnqueue(const ElisaUtils::EntryDataList &newEntries,
ElisaUtils::PlayListEntryType databaseIdType,
ElisaUtils::PlayListEnqueueMode enqueueMode,
ElisaUtils::PlayListEnqueueTriggerPlay triggerPlay);
void dataTypeChanged();
public Q_SLOTS:
......
......@@ -36,11 +36,6 @@ public:
Q_SIGNALS:
void entriesToEnqueue(const ElisaUtils::EntryDataList &newEntries,
ElisaUtils::PlayListEntryType databaseIdType,
ElisaUtils::PlayListEnqueueMode enqueueMode,
ElisaUtils::PlayListEnqueueTriggerPlay triggerPlay);
public Q_SLOTS:
void enqueueToPlayList();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment