VirtualBox

Ignore:
Timestamp:
Apr 28, 2022 5:13:37 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
151120
Message:

FE/Qt/Ds: bugref:10205: Reworking UIUpdateDefs; Reordering and a bit of cleanup (more to go).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UIUpdateDefs.h

    r94733 r94738  
    9696    UpdatePeriodType updatePeriod() const;
    9797    /** Returns update date. */
    98     QString date() const;
    99     /** Returns internal update date. */
    100     QDate internalDate() const;
     98    QDate date() const;
     99    /** Returns update date as string. */
     100    QString dateToString() const;
    101101    /** Returns update channel. */
    102102    KUpdateChannel updateChannel() const;
     
    124124private:
    125125
    126     /** Decodes data. */
    127     void decode();
    128     /** Encodes data. */
    129     void encode();
    130 
    131126    /** Holds the populated list of update period options. */
    132     static VBoxUpdateDayList  s_days;
     127    static VBoxUpdateDayList s_days;
    133128
    134129    /** Holds the update data. */
    135     QString           m_strData;
     130    QString  m_strData;
    136131    /** Holds the update period. */
    137     UpdatePeriodType  m_enmUpdatePeriod;
     132    UpdatePeriodType      m_enmUpdatePeriod;
    138133    /** Holds the update date. */
    139     QDate             m_date;
     134    QDate           m_date;
    140135    /** Holds the update channel. */
    141     KUpdateChannel    m_enmUpdateChannel;
     136    KUpdateChannel  m_enmUpdateChannel;
    142137    /** Holds the update version. */
    143     UIVersion         m_version;
     138    UIVersion       m_version;
    144139};
    145140
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette