Changeset 92012 in vbox
- Timestamp:
- Oct 22, 2021 6:02:12 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationCenter.cpp
r91877 r92012 713 713 714 714 715 /********************************************************************************************************************************* 716 * Class UINotificationReceiver implementation. * 717 *********************************************************************************************************************************/ 718 719 void UINotificationReceiver::setReceiverProperty(const QVariant &value) 720 { 721 setProperty("received_value", value); 722 } 723 724 715 725 #include "UINotificationCenter.moc" -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationCenter.h
r91877 r92012 182 182 #define gpNotificationCenter UINotificationCenter::instance() 183 183 184 /** QObject subclass receiving notification value and storing is as a property. */ 185 class SHARED_LIBRARY_STUFF UINotificationReceiver : public QObject 186 { 187 Q_OBJECT; 188 189 public slots: 190 191 /** Defines received property by @a value. */ 192 void setReceiverProperty(const QVariant &value); 193 }; 194 184 195 #endif /* !FEQT_INCLUDED_SRC_notificationcenter_UINotificationCenter_h */
Note:
See TracChangeset
for help on using the changeset viewer.