Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,52 @@
/**
* @RDE_HEADER@
* SetVolume
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Fröbel, NLSE, 2018-02-28
*/
#pragma once
#include <AudioVideoManagement/icommand.h>
#include <AudioVideoManagement/ava_types.h>
namespace AudioVideoManagement
{
class IAvaComm;
class IAvaCommandDoneObserver;
namespace AvaCommands
{
/**
* @author Christian Fröbel
*/
class SetVolume final : public ICommand
{
Q_OBJECT
public:
SetVolume(IAvaComm *comm, IAvaCommandDoneObserver *doneObserver, AvaVolume db);
void send() override;
QString debug() const override { return QLatin1String("SetVolume"); }
bool nullifies(ICommand *other) const override;
private slots:
void onOk();
void onVolumeReceived(AvaVolume db);
private:
void done();
AvaVolume m_db;
bool m_ok{false};
IAvaComm *m_comm;
IAvaCommandDoneObserver *m_observer;
};
}} // namespace AudioVideoManagement::AvaCommands