VirtualBox

Changeset 83146 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 25, 2020 11:20:42 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9653: Make meta-object sub-system aware of UICloudMachine.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.cpp

    r83144 r83146  
    5353*********************************************************************************************************************************/
    5454
     55UICloudMachine::UICloudMachine()
     56{
     57}
     58
    5559UICloudMachine::UICloudMachine(const CCloudClient &comCloudClient,
    5660                               const QString &strId,
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.h

    r83145 r83146  
    6767public:
    6868
     69    /** Constructs null cloud VM wrapper. */
     70    UICloudMachine();
    6971    /** Constructs cloud VM wrapper on the basis of arguments.
    7072      * @param  comCloudClient  Brings the cloud client object instance.
     
    7678    /** Constructs cloud VM wrapper on the basis of @a other wrapper. */
    7779    UICloudMachine(const UICloudMachine &other);
     80
     81    /** Returns whether cloud VM wrapper is null. */
     82    bool isNull() const { return !d.constData(); }
    7883
    7984    /** Returns cloud client object reference. */
     
    9196};
    9297
     98/* Make meta-object sub-system aware: */
     99Q_DECLARE_METATYPE(UICloudMachine);
     100
    93101#endif /* !FEQT_INCLUDED_SRC_manager_UICloudMachine_h */
Note: See TracChangeset for help on using the changeset viewer.

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