De-pimpl Macros::Internal::MacroEvent

Less code, less cycles.

Change-Id: I1bbc2d5050fd29f199c12120d183f84c686953fe
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-11-05 09:06:09 +01:00
parent f80e580003
commit 3607866ac1
2 changed files with 17 additions and 52 deletions

View File

@@ -47,10 +47,7 @@ namespace Internal {
class MacroEvent
{
public:
MacroEvent();
MacroEvent(const MacroEvent &other);
virtual ~MacroEvent();
MacroEvent& operator=(const MacroEvent &other);
MacroEvent() {}
Core::Id id() const;
void setId(Core::Id id);
@@ -62,8 +59,8 @@ public:
void save(QDataStream &stream) const;
private:
class MacroEventPrivate;
MacroEventPrivate* d;
Core::Id m_id;
QMap<quint8, QVariant> m_values;
};
} // namespace Internal