X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=profile.h;h=e805a11fae409e030e2f495fbd829a9f110183b7;hb=4ce3be0451a1e12b091ac18b90aebf59de109a2f;hp=377fb0d531ead0649a4c1302714554908c5a038c;hpb=fc9e638703f7b80c390289630b508499c05ca229;p=confmgr diff --git a/profile.h b/profile.h index 377fb0d..e805a11 100644 --- a/profile.h +++ b/profile.h @@ -11,6 +11,19 @@ public: Steps(const QString &value, const int &delay) : mValue(value), mDelay(delay) {} ~Steps() { } + Steps(const Steps &s) { + *this = s; + } + + Steps& operator=(const Steps &s) { + if(this != &s) + { + mValue = s.mValue; + mDelay = s.mDelay; + } + return *this; + } + // Getters... QString value() { return mValue; } int delay() { return mDelay; }