mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Issue #77 toIcon returns a simple enum instead of a full object
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "blackmisc/mixin/mixinstring.h"
|
||||
#include "blackmisc/mixin/mixinmetatype.h"
|
||||
#include "blackmisc/variantprivate.h"
|
||||
#include "blackmisc/icons.h"
|
||||
|
||||
#include <QDBusArgument>
|
||||
#include <QDateTime>
|
||||
@@ -255,11 +256,11 @@ namespace BlackMisc
|
||||
//! \copydoc CValueObject::equalsPropertyByIndex
|
||||
bool equalsPropertyByIndex(const CVariant &compareValue, const CPropertyIndex &index) const;
|
||||
|
||||
//! \copydoc CValueObject::toPixmap
|
||||
//! \copydoc CIcon::toPixmap
|
||||
QPixmap toPixmap() const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::Icon::toIcon
|
||||
CIcon toIcon() const;
|
||||
CIcons::IconIndex toIcon() const;
|
||||
|
||||
//! If this is an event subscription, return true if it matches the given event.
|
||||
bool matches(const CVariant &event) const;
|
||||
|
||||
Reference in New Issue
Block a user