summaryrefslogtreecommitdiff
path: root/models/StationList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'models/StationList.cpp')
-rw-r--r--models/StationList.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/StationList.cpp b/models/StationList.cpp
index eeeb4d60..202cac0e 100644
--- a/models/StationList.cpp
+++ b/models/StationList.cpp
@@ -52,6 +52,8 @@ QDataStream& operator >> (QDataStream& is, StationList::Station& station)
class StationList::impl final
: public QAbstractTableModel
{
+ Q_OBJECT
+
public:
impl (Bands const * bands, Stations stations, QObject * parent)
: QAbstractTableModel {parent}
@@ -97,6 +99,9 @@ public:
Stations stations_;
};
+#include "StationList.moc"
+#include "moc_StationList.cpp"
+
StationList::StationList (Bands const * bands, QObject * parent)
: StationList {bands, {}, parent}
{