rem: inline void setTimeZone(int tz) { timeZone = tz; };
add: void CalObject::setTimeZone(const QString & tz) { bool neg = FALSE; int hours, minutes; QString tmpStr(tz);  if (tmpStr.left(1) == "-") neg = TRUE; if (tmpStr.left(1) == "-" || tmpStr.left(1) == "+") tmpStr.remove(0, 1); hours = tmpStr.left(2).toInt(); if (tmpStr.length() > 2) minutes = tmpStr.right(2).toInt(); else minutes = 0; timeZone = (60*hours+minutes); if (neg) timeZone = -timeZone; }
context:   inline void setTimeZone(int tz) { timeZone = tz; };