Changeset View
Changeset View
Standalone View
Standalone View
src/attendeeline.cpp
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Line(s) | 147 | AttendeeLine::AttendeeLine(QWidget *parent) | |||
---|---|---|---|---|---|
151 | , mResponseCombo(new AttendeeComboBox(this)) | 151 | , mResponseCombo(new AttendeeComboBox(this)) | ||
152 | , mEdit(new AttendeeLineEdit(this)) | 152 | , mEdit(new AttendeeLineEdit(this)) | ||
153 | , mData(new AttendeeData(QString(), QString())) | 153 | , mData(new AttendeeData(QString(), QString())) | ||
154 | , mModified(false) | 154 | , mModified(false) | ||
155 | { | 155 | { | ||
156 | setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); | 156 | setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); | ||
157 | 157 | | |||
158 | QBoxLayout *topLayout = new QHBoxLayout(this); | 158 | QBoxLayout *topLayout = new QHBoxLayout(this); | ||
159 | topLayout->setMargin(0); | 159 | topLayout->setContentsMargins(0, 0, 0, 0); | ||
160 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-participant")), | 160 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-participant")), | ||
161 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::ReqParticipant)); | 161 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::ReqParticipant)); | ||
162 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-participant-optional")), | 162 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-participant-optional")), | ||
163 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::OptParticipant)); | 163 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::OptParticipant)); | ||
164 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-observer")), | 164 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-observer")), | ||
165 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::NonParticipant)); | 165 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::NonParticipant)); | ||
166 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-chair")), | 166 | mRoleCombo->addItem(QIcon::fromTheme(QStringLiteral("meeting-chair")), | ||
167 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::Chair)); | 167 | KCalUtils::Stringify::attendeeRole(KCalCore::Attendee::Chair)); | ||
▲ Show 20 Lines • Show All 246 Lines • Show Last 20 Lines |