VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfMakRadioQt Library API Changes

Table of Contents

This document describes the public API changes in the vrfMakRadioQt library between VR-Forces 5.2 and 5.3.

It covers the following public header:

Changes that are internal to an implementation or limited to comments are not listed.

Breaking Changes

DtVrfAudioSettingsPage base class changed

DtVrfAudioSettingsPage previously derived from makVrv::DtAudioSettingsPage. It now derives directly from makVrv::DtPage:

// 5.2
class VRFMAKRADIOQT_DLL DtVrfAudioSettingsPage : public makVrv::DtAudioSettingsPage
// 5.3
class VRFMAKRADIOQT_DLL DtVrfAudioSettingsPage : public makVrv::DtPage

The constructor signature is unchanged, and the class is still registered through DtVrfAudioSettingsPageCreator, so code that only creates or registers the page is unaffected. Code that stored the page in a makVrv::DtAudioSettingsPage*, or that called methods declared on makVrv::DtAudioSettingsPage rather than on makVrv::DtPage, must be updated to use makVrv::DtPage* and the DtPage interface.

The header's include set changed accordingly. vrfAudioSettingsPage.h no longer includes vrvAudioQt/DtAudioSettingsPage.h or vrvAudioQt/DtAudioSettingsWidget.h; it includes vrvCoreQt/DtPage.h instead. Translation units that relied on those transitive includes must include them directly.

DtVrfAudioSettingsWidget was removed

The class makVrf::DtVrfAudioSettingsWidget, which derived from makVrv::DtAudioSettingsWidget, was removed along with its constructor, its setAudioEnabled(bool) override, its protected slot_systemEnabledChanged(bool) slot, and its protected myDe member.

The page now owns a makRadio::DtRadioAudioSettingsWidget instead. There is no drop-in replacement for DtVrfAudioSettingsWidget: code that instantiated it, embedded it in another widget, or derived from it to override setAudioEnabled or slot_systemEnabledChanged must be reworked against makRadio::DtRadioAudioSettingsWidget, which is created and managed by DtVrfAudioSettingsPage.

Additions

DtVrfAudioSettingsPage page interface implementation

Because the class now derives from makVrv::DtPage directly, it declares the page interface itself. These methods were previously inherited from makVrv::DtAudioSettingsPage:

virtual void activate() override;
virtual void deactivate() override;
virtual QIcon icon();
virtual makVrv::DtQIconConfigurations qIconConfigurations() const;
virtual QString title();
virtual const std::string& pageClassName() const;
static const std::string& thePageClassName();

Derived classes may override icon, qIconConfigurations, title, and pageClassName to customize presentation. thePageClassName returns the same identifier as pageClassName without requiring an instance, which is useful when looking the page up by class name.

DtVrfAudioSettingsPage protected members

Two protected members are available to derived classes:

myToolbar provides the save and reload controls for the current settings; myWidget is the settings widget that replaced DtVrfAudioSettingsWidget.

Copy construction and assignment are disabled

The default constructor, copy constructor, and copy assignment operator are now declared private and left unimplemented. Code that copied a DtVrfAudioSettingsPage will no longer compile; hold the page by pointer instead.

Summary of Header Changes

Header Breaking Additions
vrfAudioSettingsPage.h DtVrfAudioSettingsPage base class changed to makVrv::DtPage; DtVrfAudioSettingsWidget removed; vrvAudioQt includes removed DtPage interface overrides, thePageClassName, myToolbar and myWidget protected members

Return to VR-Forces 5.3 API Migration Guide.

[Home]


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)