Changeset View
Changeset View
Standalone View
Standalone View
src/incidenceattachment.cpp
Show First 20 Lines • Show All 549 Lines • ▼ Show 20 Line(s) | 542 | { | |||
---|---|---|---|---|---|
550 | connect(mAttachmentView, &AttachmentIconView::itemChanged, this, | 550 | connect(mAttachmentView, &AttachmentIconView::itemChanged, this, | ||
551 | &IncidenceAttachment::slotItemRenamed); | 551 | &IncidenceAttachment::slotItemRenamed); | ||
552 | connect(mAttachmentView, &AttachmentIconView::itemSelectionChanged, this, | 552 | connect(mAttachmentView, &AttachmentIconView::itemSelectionChanged, this, | ||
553 | &IncidenceAttachment::slotSelectionChanged); | 553 | &IncidenceAttachment::slotSelectionChanged); | ||
554 | connect(mAttachmentView, &AttachmentIconView::customContextMenuRequested, this, | 554 | connect(mAttachmentView, &AttachmentIconView::customContextMenuRequested, this, | ||
555 | &IncidenceAttachment::showContextMenu); | 555 | &IncidenceAttachment::showContextMenu); | ||
556 | 556 | | |||
557 | QGridLayout *layout = new QGridLayout(mUi->mAttachmentViewPlaceHolder); | 557 | QGridLayout *layout = new QGridLayout(mUi->mAttachmentViewPlaceHolder); | ||
558 | layout->setMargin(0); | 558 | layout->setContentsMargins(0, 0, 0, 0); | ||
559 | layout->addWidget(mAttachmentView); | 559 | layout->addWidget(mAttachmentView); | ||
560 | } | 560 | } | ||
561 | 561 | | |||
562 | // void IncidenceAttachmentEditor::addAttachment( KCalCore::Attachment *attachment ) | 562 | // void IncidenceAttachmentEditor::addAttachment( KCalCore::Attachment *attachment ) | ||
563 | // { | 563 | // { | ||
564 | // new AttachmentIconItem( attachment, mAttachmentView ); | 564 | // new AttachmentIconItem( attachment, mAttachmentView ); | ||
565 | // } | 565 | // } | ||
566 | 566 | | |||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |