summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/UTCValue.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/UTCValue.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/UTCValue.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/kabc/vcard/UTCValue.cpp b/kabc/vcard/UTCValue.cpp
index 374306c..f35d986 100644
--- a/kabc/vcard/UTCValue.cpp
+++ b/kabc/vcard/UTCValue.cpp
@@ -15,58 +15,60 @@
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <VCardUTCValue.h>
#include <VCardValue.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
UTCValue::UTCValue()
: Value()
{
}
UTCValue::UTCValue(const UTCValue & x)
: Value(x), positive_(x.positive_), hour_(x.hour_), minute_(x.minute_)
{
}
-UTCValue::UTCValue(const QCString & s)
+UTCValue::UTCValue(const Q3CString & s)
: Value(s)
{
}
UTCValue &
UTCValue::operator = (UTCValue & x)
{
if (*this == x) return *this;
positive_ = x.positive_;
hour_ = x.hour_;
minute_ = x.minute_;
Value::operator = (x);
return *this;
}
UTCValue &
-UTCValue::operator = (const QCString & s)
+UTCValue::operator = (const Q3CString & s)
{
Value::operator = (s);
return *this;
}
bool
UTCValue::operator == (UTCValue & x)
{
x.parse();
if (positive_ != x.positive_) return false;
if (hour_ != x.hour_) return false;