diff --git a/tests/src/components/chat/ChatModel.cpp b/tests/src/components/chat/ChatModel.cpp index a4f1ab6c8..d74dbd551 100644 --- a/tests/src/components/chat/ChatModel.cpp +++ b/tests/src/components/chat/ChatModel.cpp @@ -21,6 +21,7 @@ public: ~MessageHandlers () = default; +private: void onFileTransferRecv ( const shared_ptr &message, const shared_ptr &content, @@ -65,7 +66,6 @@ public: emit chat.dataChanged(chat.index(row, 0), chat.index(row, 0)); } -private: ChatModel *m_chat_model; }; diff --git a/tests/src/components/core/CoreHandlers.hpp b/tests/src/components/core/CoreHandlers.hpp index b17106350..916faa0ba 100644 --- a/tests/src/components/core/CoreHandlers.hpp +++ b/tests/src/components/core/CoreHandlers.hpp @@ -11,7 +11,10 @@ class CoreHandlers : public linphone::CoreListener { Q_OBJECT; -public: +signals: + void receivedMessage (const std::shared_ptr &message); + +private: void onAuthenticationRequested ( const std::shared_ptr &core, const std::shared_ptr &auth_info, @@ -30,9 +33,6 @@ public: const std::shared_ptr &room, const std::shared_ptr &message ) override; - -signals: - void receivedMessage (const std::shared_ptr &message); }; #endif // CORE_HANDLERS_H_