Changeset View
Changeset View
Standalone View
Standalone View
src/incidencedialog.cpp
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Line(s) | 127 | IncidenceDialogPrivate::IncidenceDialogPrivate(Akonadi::IncidenceChanger *changer, IncidenceDialog *qq) | |||
---|---|---|---|---|---|
130 | , mCalSelector(new Akonadi::CollectionComboBox) | 130 | , mCalSelector(new Akonadi::CollectionComboBox) | ||
131 | , mCloseOnSave(false) | 131 | , mCloseOnSave(false) | ||
132 | , mItemManager(new EditorItemManager(this, changer)) | 132 | , mItemManager(new EditorItemManager(this, changer)) | ||
133 | , mEditor(new CombinedIncidenceEditor(qq)) | 133 | , mEditor(new CombinedIncidenceEditor(qq)) | ||
134 | , mInitiallyDirty(false) | 134 | , mInitiallyDirty(false) | ||
135 | { | 135 | { | ||
136 | Q_Q(IncidenceDialog); | 136 | Q_Q(IncidenceDialog); | ||
137 | mUi->setupUi(q); | 137 | mUi->setupUi(q); | ||
138 | mUi->mMessageWidget->hide(); | ||||
138 | QGridLayout *layout = new QGridLayout(mUi->mCalSelectorPlaceHolder); | 139 | QGridLayout *layout = new QGridLayout(mUi->mCalSelectorPlaceHolder); | ||
139 | layout->setSpacing(0); | 140 | layout->setSpacing(0); | ||
140 | layout->setContentsMargins(0, 0, 0, 0); | 141 | layout->setContentsMargins(0, 0, 0, 0); | ||
141 | layout->addWidget(mCalSelector); | 142 | layout->addWidget(mCalSelector); | ||
142 | mCalSelector->setAccessRightsFilter(Akonadi::Collection::CanCreateItem); | 143 | mCalSelector->setAccessRightsFilter(Akonadi::Collection::CanCreateItem); | ||
143 | mUi->label->setBuddy(mCalSelector); | 144 | mUi->label->setBuddy(mCalSelector); | ||
144 | q->connect(mCalSelector, &Akonadi::CollectionComboBox::currentChanged, q, | 145 | q->connect(mCalSelector, &Akonadi::CollectionComboBox::currentChanged, q, | ||
145 | &IncidenceDialog::handleSelectedCollectionChange); | 146 | &IncidenceDialog::handleSelectedCollectionChange); | ||
▲ Show 20 Lines • Show All 728 Lines • Show Last 20 Lines |