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,36 @@
/**
* The Party class represents a party. It holds the data and offers some conversion methods.
* $Id$
* $HeadURL$
* $Author$
* Created by Hannes Baeuerle, SLSE, 2016-05-12
*/
#pragma once
#include <ParticipantManagement/ppm_db.h>
#include <ParticipantManagement/ppm_dtc.h>
namespace ParticipantManagement
{
namespace PartyHandling
{
class Party
{
public:
explicit Party(const Database::PpmParty &data)
: m_data(data)
{}
int32_t id() const { return m_data.id; }
Database::PpmParty toDbParty() const;
ParticipantManagement::Party toDdsParty() const;
bool hasChanges(const ParticipantManagement::Party &request, const bool bIgnoreIsUsedBy);
bool isUsedBy() const { return m_data.isUsedBy; }
private:
Database::PpmParty m_data;
};
} // namespace PartyHandling
} // namespace ParticipantManagement