forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user