Commit 3180896f authored by Guy Maurel's avatar Guy Maurel
Browse files

Only single empty lines for kalarmcal, #109929

parent 14c0d00c
......@@ -40,7 +40,6 @@ class CollectionAttribute::Private
bool mKeepFormat; // whether user has chosen to keep old calendar storage format
};
CollectionAttribute::CollectionAttribute()
: d(new Private)
{
......
......@@ -27,7 +27,6 @@
namespace KAlarmCal
{
class CompatibilityAttribute::Private
{
public:
......@@ -40,7 +39,6 @@ class CompatibilityAttribute::Private
int mVersion; // KAlarm calendar format version
};
CompatibilityAttribute::CompatibilityAttribute()
: d(new Private)
{
......
......@@ -36,7 +36,6 @@ class EventAttribute::Private
KAEvent::CmdErrType mCommandError; // the last command execution error for the alarm
};
EventAttribute::EventAttribute()
: d(new Private)
{
......
......@@ -25,7 +25,6 @@
#include <kpimidentities/identitymanager.h>
#include <kpimidentities/identity.h>
static KPIMIdentities::IdentityManager* mIdentityManager = 0;
namespace KAlarmCal
......
......@@ -55,7 +55,6 @@ using Akonadi::Collection;
using namespace KCal;
#endif
static const KCatalogLoader loader("libkalarmcal");
namespace KAlarmCal
......@@ -72,7 +71,6 @@ static const QByteArray VERSION_PROPERTY("VERSION"); // X-KDE-KALARM-VERSION
static bool isUTC(const QString& localFile);
class Private
{
public:
......@@ -87,7 +85,6 @@ class Private
QByteArray Private::mIcalProductId;
//=============================================================================
namespace KACalendar
......
......@@ -519,7 +519,6 @@ QTime KAEventPrivate::mWorkDayStart(9, 0, 0);
QTime KAEventPrivate::mWorkDayEnd(17, 0, 0);
int KAEventPrivate::mWorkTimeIndex = 1;
#ifndef KALARMCAL_USE_KRESOURCES
static void setProcedureAlarm(const Alarm::Ptr&, const QString& commandLine);
#else
......@@ -527,7 +526,6 @@ static void setProcedureAlarm(Alarm*, const QString& commandLine);
#endif
static QString reminderToString(int minutes);
/*=============================================================================
= Class KAEvent
= Corresponds to a KCal::Event instance.
......@@ -4173,7 +4171,6 @@ void KAEventPrivate::dumpDebug() const
}
#endif
/******************************************************************************
* Fetch the start and next date/time for a KCal::Event.
* Reply = next main date/time.
......@@ -5669,7 +5666,6 @@ bool KAEvent::convertKCalEvents(CalendarLocal& calendar, int calendarVersion)
event->setCustomProperty(KACalendar::APPNAME, KAEventPrivate::FLAGS_PROPERTY, flags.join(KAEventPrivate::SC));
event->setCategories(cats);
if ((pre_1_4_14 || (pre_1_9_7 && !pre_1_9_0))
&& event->recurrence() && event->recurrence()->recurs())
{
......@@ -6103,8 +6099,6 @@ bool KAEventPrivate::convertRepetition(Event* event)
return converted;
}
/*=============================================================================
= Class KAAlarm
= Corresponds to a single KCal::Alarm instance.
......@@ -6220,7 +6214,6 @@ const char* KAAlarm::debugType(Type type)
}
#endif
/*=============================================================================
= Class EmailAddressList
=============================================================================*/
......@@ -6363,7 +6356,6 @@ QString EmailAddressList::pureAddresses(const QString& separator) const
return result;
}
/*=============================================================================
= Static functions
=============================================================================*/
......
......@@ -37,7 +37,6 @@
#include <QBitArray>
#include <QDateTime>
#ifndef KALARMCAL_USE_KRESOURCES
using namespace KCalCore;
#else
......@@ -82,7 +81,6 @@ class KARecurrence::Private
mutable int mCachedType;
};
/*=============================================================================
= Class KARecurrence
= The purpose of this class is to represent the restricted range of recurrence
......@@ -99,10 +97,8 @@ class KARecurrence::Private
= 60th-day-of-the-year recurrence rule, thereby conforming to RFC2445.
=============================================================================*/
KARecurrence::Feb29Type KARecurrence::Private::mDefaultFeb29 = KARecurrence::Feb29_None;
KARecurrence::KARecurrence()
: d(new Private)
{ }
......
......@@ -50,7 +50,6 @@ class Repetition::Private
int mCount; // sub-repetition count (excluding the first time)
};
Repetition::Repetition()
: d(new Private)
{
......
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