Commit 19abfa7a authored by Laurent Montel's avatar Laurent Montel 😁

const'ify++

parent 7137406c
Pipeline #34712 passed with stage
in 9 minutes and 29 seconds
......@@ -56,7 +56,7 @@ public:
}
QMap<KJob *, ReceivedInfo> mJobToReceivedInfo;
QPointer<QWidget> mParent;
QPointer<QWidget> const mParent;
};
AttachmentHandler::AttachmentHandler(QWidget *parent) : QObject(parent)
......
......@@ -50,7 +50,7 @@ public:
}
QColor mDefaultCategoryColor;
KCoreConfigSkeleton *config = nullptr;
KCoreConfigSkeleton *const config;
};
QHash<QString, QColor> CategoryConfig::readColors() const
......
......@@ -48,7 +48,7 @@ Q_SIGNALS:
void freebusyChanged(const KCalendarCore::FreeBusy::Ptr fb);
private:
KCalendarCore::Attendee mAttendee;
const KCalendarCore::Attendee mAttendee;
KCalendarCore::FreeBusy::Ptr mFreeBusy;
// This is used for the update timer
......
......@@ -69,12 +69,6 @@ private:
class CalendarSupport::FreeBusyItemModelPrivate
{
public:
FreeBusyItemModelPrivate()
: mForceDownload(false)
, mRootData(nullptr)
{
}
~FreeBusyItemModelPrivate()
{
delete mRootData;
......
......@@ -73,7 +73,7 @@ private:
Akonadi::ETMCalendar::Ptr mCalendar;
QWidget *mParent = nullptr;
KConfig *mConfig = nullptr;
bool mUniqItem;
const bool mUniqItem;
};
class CalPrintDialog : public QDialog
......
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