Commit 590bb0db authored by Guy Maurel's avatar Guy Maurel
Browse files

trim all the lines for kdepimlibs/kalarmcal

parent 3d4ee503
......@@ -72,12 +72,12 @@ CollectionAttribute* CollectionAttribute::clone() const
return new CollectionAttribute(*this);
}
bool CollectionAttribute::isEnabled(CalEvent::Type type) const
bool CollectionAttribute::isEnabled(CalEvent::Type type) const
{
return d->mEnabled & type;
}
CalEvent::Types CollectionAttribute::enabled() const
CalEvent::Types CollectionAttribute::enabled() const
{
return d->mEnabled;
}
......@@ -121,7 +121,7 @@ bool CollectionAttribute::isStandard(CalEvent::Type type) const
}
}
CalEvent::Types CollectionAttribute::standard() const
CalEvent::Types CollectionAttribute::standard() const
{
return d->mStandard;
}
......@@ -148,32 +148,32 @@ void CollectionAttribute::setStandard(CalEvent::Types types)
d->mStandard = types & (CalEvent::ACTIVE | CalEvent::ARCHIVED | CalEvent::TEMPLATE);
}
QColor CollectionAttribute::backgroundColor() const
QColor CollectionAttribute::backgroundColor() const
{
return d->mBackgroundColour;
}
void CollectionAttribute::setBackgroundColor(const QColor& c)
void CollectionAttribute::setBackgroundColor(const QColor& c)
{
d->mBackgroundColour = c;
}
bool CollectionAttribute::keepFormat() const
bool CollectionAttribute::keepFormat() const
{
return d->mKeepFormat;
}
void CollectionAttribute::setKeepFormat(bool keep)
void CollectionAttribute::setKeepFormat(bool keep)
{
d->mKeepFormat = keep;
}
QByteArray CollectionAttribute::type() const
QByteArray CollectionAttribute::type() const
{
return name();
}
QByteArray CollectionAttribute::name()
QByteArray CollectionAttribute::name()
{
return "KAlarmCollection";
}
......
......@@ -39,8 +39,8 @@ class CompatibilityAttribute::Private
KACalendar::Compat mCompatibility; // calendar compatibility with current KAlarm format
int mVersion; // KAlarm calendar format version
};
CompatibilityAttribute::CompatibilityAttribute()
: d(new Private)
{
......
/*
* datetime.h - date/time with start-of-day time for date-only values
* datetime.h - date/time with start-of-day time for date-only values
* This file is part of kalarmcal library, which provides access to KAlarm
* calendar data.
* Copyright © 2003,2005-2007,2009,2011 by David Jarvie <djarvie@kde.org>
......
......@@ -2308,7 +2308,7 @@ bool KAEvent::repeatSound() const
{
return d->mRepeatSoundPause >= 0;
}
int KAEvent::repeatSoundPause() const
{
return d->mRepeatSoundPause;
......
......@@ -186,7 +186,7 @@ class KALARMCAL_EXPORT KARecurrence
KDateTime startDateTime() const;
/** Return the start date/time of the recurrence */
QDate startDate() const;
/** Set the recurrence start date/time, and optionally set it to all-day.
* @param dt start date/time.
* @param dateOnly if true, sets the recurrence to all-day.
......
......@@ -107,7 +107,7 @@ Repetition::operator bool() const
return d->mCount;
}
bool Repetition::operator==(const Repetition& r) const
bool Repetition::operator==(const Repetition& r) const
{
return d->mInterval == r.d->mInterval && d->mCount == r.d->mCount;
}
......
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