wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
VersionInfo.h File Reference

Named version predicates for file-format compatibility checks. More...

#include <QVersionNumber>
#include "App/Versions.h"
Include dependency graph for VersionInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  VersionInfo

Functions

bool VersionInfo::hasAppearanceNames (const QVersionNumber &v)
 V2.7: Pixmap appearance names stored in file.
bool VersionInfo::hasAudio (const QVersionNumber &v)
 V2.4: Audio element support (Buzzer, AudioBox).
bool VersionInfo::hasClock (const QVersionNumber &v)
 V1.1: Clock element added.
bool VersionInfo::hasCompressedPayload (const QVersionNumber &v)
bool VersionInfo::hasConnectionQMap (const QVersionNumber &v)
 V4.7: Connection uses QMap-based serialization format.
bool VersionInfo::hasDelayFix (const QVersionNumber &v)
 V4.3: Clock delay format corrected.
bool VersionInfo::hasDisplay7Color (const QVersionNumber &v)
 V1.6: Display7 first color support.
bool VersionInfo::hasDisplay7ExtColor (const QVersionNumber &v)
 V1.7: Display7 additional color support.
bool VersionInfo::hasDolphinFilename (const QVersionNumber &v)
 V3.0: Dolphin waveform filename stored in file header.
bool VersionInfo::hasDolphinSentinelFix (const QVersionNumber &v)
 V3.3: "none" sentinel normalised to empty string for dolphin filename.
bool VersionInfo::hasLabels (const QVersionNumber &v)
 V1.2: Labels added to elements; IC filename field.
bool VersionInfo::hasLockState (const QVersionNumber &v)
 V3.1: Lock state for input elements; color for some display/button types.
bool VersionInfo::hasMetadata (const QVersionNumber &v)
 V4.5: File-level metadata map and embedded IC blob registry.
bool VersionInfo::hasPortSizes (const QVersionNumber &v)
 V1.3: Port-size constraints stored in file.
bool VersionInfo::hasQMapFormat (const QVersionNumber &v)
 V4.1: Format changed from flat binary to keyed QMap; port serial IDs; rotation fix.
bool VersionInfo::hasSceneRect (const QVersionNumber &v)
 V1.4: Scene rectangle stored in file.
bool VersionInfo::hasSlimPortablePayload (const QVersionNumber &v)
bool VersionInfo::hasTrigger (const QVersionNumber &v)
 V1.9: Keyboard trigger sequences added.
bool VersionInfo::hasTruthTableData (const QVersionNumber &v)
 V4.2: TruthTable output data stored in file.
bool VersionInfo::hasUnifiedMetadata (const QVersionNumber &v)
 V4.6: Dolphin filename moved into metadata map; scene rect no longer stored.
bool VersionInfo::hasUnusedPriority (const QVersionNumber &v)
 V4.0.1: Unused priority field in old format.
bool VersionInfo::hasVersionedBlobRegistry (const QVersionNumber &v)
bool VersionInfo::hasWirelessMode (const QVersionNumber &v)
 V4.4: Node wireless mode stored in file.

Detailed Description

Named version predicates for file-format compatibility checks.

Centralises "what changed in each version" so that load/save code reads as self-documenting prose rather than raw version comparisons. Each predicate is a single-line wrapper around Versions::V_X_Y constants.

Definition in file VersionInfo.h.