- inline virtual QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters) { emit channelListRequested(netId, channelFilters); return QVariantList(); }
- inline virtual void receiveChannelList(const NetworkId &, const QStringList &, const QVariantList &) {};
- inline virtual void reportFinishedList(const NetworkId &netId) { emit finishedListReported(netId); }
-
-signals:
- void channelListRequested(const NetworkId &netId, const QStringList &channelFilters);
- void finishedListReported(const NetworkId &netId);
+ inline virtual QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters) { REQUEST(ARG(netId), ARG(channelFilters)); return QVariantList(); }
+ inline virtual void receiveChannelList(const NetworkId &, const QStringList &, const QVariantList &) {};
+ inline virtual void reportFinishedList(const NetworkId &netId) { SYNC(ARG(netId)) }
+ inline virtual void reportError(const QString &error) { SYNC(ARG(error)) }