Commit 4ea92464 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize some value

parent d748161f
......@@ -68,18 +68,18 @@ protected Q_SLOTS:
private:
void showWhatsThis();
KUrlRequester *mArchiveFile;
KDateComboBox *mDateEdit;
QCheckBox *mDeleteCb;
QRadioButton *mArchiveOnceRB;
QRadioButton *mAutoArchiveRB;
QSpinBox *mExpiryTimeNumInput;
KComboBox *mExpiryUnitsComboBox;
QCheckBox *mEvents;
QCheckBox *mTodos;
Akonadi::IncidenceChanger *mChanger;
KUrlRequester *mArchiveFile = nullptr;
KDateComboBox *mDateEdit = nullptr;
QCheckBox *mDeleteCb = nullptr;
QRadioButton *mArchiveOnceRB = nullptr;
QRadioButton *mAutoArchiveRB = nullptr;
QSpinBox *mExpiryTimeNumInput = nullptr;
KComboBox *mExpiryUnitsComboBox = nullptr;
QCheckBox *mEvents = nullptr;
QCheckBox *mTodos = nullptr;
Akonadi::IncidenceChanger *mChanger = nullptr;
Akonadi::ETMCalendar::Ptr mCalendar;
QPushButton *mUser1Button;
QPushButton *mUser1Button = nullptr;
};
}
......
......@@ -59,7 +59,7 @@ protected:
int depth() const override;
private:
KComboBox *mBox;
KComboBox *mBox = nullptr;
int mCurrentDepth;
};
......@@ -78,8 +78,8 @@ protected:
int depth() const override;
private:
QTreeWidget *mTree;
QTreeWidgetItem *mItem;
QTreeWidget *mTree = nullptr;
QTreeWidgetItem *mItem = nullptr;
int mCurrentDepth;
};
#endif
......
......@@ -93,8 +93,8 @@ protected:
private:
Akonadi::ETMCalendar::Ptr mCalendar;
QWidget *mParent;
KConfig *mConfig;
QWidget *mParent = nullptr;
KConfig *mConfig = nullptr;
bool mUniqItem;
};
......@@ -122,12 +122,12 @@ protected Q_SLOTS:
void slotOk();
private:
QButtonGroup *mTypeGroup;
QStackedWidget *mConfigArea;
QButtonGroup *mTypeGroup = nullptr;
QStackedWidget *mConfigArea = nullptr;
QMap<int, PrintPlugin *> mPluginIDs;
QString mPreviewText;
KComboBox *mOrientationSelection;
QPushButton *mOkButton;
QPushButton *mOkButton = nullptr;
CalPrinter::ePrintOrientation mOrientation;
};
......
......@@ -188,10 +188,10 @@ protected:
QPointer<QWidget> mConfigWidget;
/** The printer object. This will only be available in the doPrint method
of the selected plugin */
QPrinter *mPrinter;
QPrinter *mPrinter = nullptr;
Akonadi::ETMCalendar::Ptr mCalendar;
KCalCore::Incidence::List mSelectedIncidences;
KConfig *mConfig;
KConfig *mConfig = nullptr;
};
class PrintPluginFactory : public PluginFactory
......
......@@ -56,7 +56,7 @@ private:
QHash<Akonadi::Tag::Id, Akonadi::Tag> mCache;
QHash<QByteArray, Akonadi::Tag::Id> mGidCache;
QHash<QString, Akonadi::Tag::Id> mNameCache;
Akonadi::Monitor *mMonitor;
Akonadi::Monitor *mMonitor = nullptr;
};
}
......
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