Commit f0b89c98 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Add missing Updates alias to Process

parent 23852597
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <QTime> #include <QTime>
#include <QElapsedTimer> #include <QElapsedTimer>
#include <QFlags> #include <QFlags>
#include <QVariant>
namespace KSysGuard namespace KSysGuard
{ {
...@@ -263,6 +264,8 @@ public: ...@@ -263,6 +264,8 @@ public:
Changes changes() const; /**< A QFlags representing what has changed */ Changes changes() const; /**< A QFlags representing what has changed */
void setChanges(Change changes); void setChanges(Change changes);
using Updates = QVector<QPair<Change, QVariant>>;
private: private:
void clear(); void clear();
...@@ -273,4 +276,6 @@ private: ...@@ -273,4 +276,6 @@ private:
Q_DECLARE_OPERATORS_FOR_FLAGS(Process::Changes) Q_DECLARE_OPERATORS_FOR_FLAGS(Process::Changes)
} }
Q_DECLARE_METATYPE(KSysGuard::Process::Updates)
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment