Don't use Qt-defined keywords, they can cause problems with other headers.
[pulseview.git] / pv / data / decoderstack.h
index ab700ae0404bfd85129f761ed3886f413c03100b..35f76874bc77bfbc40230aa51d956b7380bed7a5 100644 (file)
@@ -45,7 +45,7 @@ struct srd_proto_data;
 struct srd_session;
 
 namespace DecoderStackTest {
-class TwoDecoderStack;
+struct TwoDecoderStack;
 }
 
 namespace pv {
@@ -118,14 +118,14 @@ private:
        static void annotation_callback(srd_proto_data *pdata,
                void *decoder);
 
-private slots:
+private Q_SLOTS:
        void on_new_frame();
 
        void on_data_received();
 
        void on_frame_ended();
 
-signals:
+Q_SIGNALS:
        void new_decode_data();
 
 private:
@@ -160,7 +160,7 @@ private:
        std::thread _decode_thread;
        std::atomic<bool> _interrupt;
 
-       friend class DecoderStackTest::TwoDecoderStack;
+       friend struct DecoderStackTest::TwoDecoderStack;
 };
 
 } // namespace data