Updated code to complete task id
[confmgr] / profile.h
index 377fb0d..e805a11 100644 (file)
--- a/profile.h
+++ b/profile.h
@@ -11,6 +11,19 @@ public:
     Steps(const QString &value, const int &delay) : mValue(value), mDelay(delay) {}\r
     ~Steps() { }\r
 \r
+    Steps(const Steps &s) {\r
+        *this = s;\r
+    }\r
+\r
+    Steps& operator=(const Steps &s) {\r
+        if(this != &s)\r
+        {\r
+            mValue = s.mValue;\r
+            mDelay = s.mDelay;\r
+        }\r
+        return *this;\r
+    }\r
+\r
     // Getters...\r
     QString value() { return mValue; }\r
     int delay() { return mDelay; }\r