Changeset View
Changeset View
Standalone View
Standalone View
src/korganizer_part.cpp
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Line(s) | 49 | { | |||
---|---|---|---|---|---|
72 | mActionManager->createCalendarAkonadi(); | 72 | mActionManager->createCalendarAkonadi(); | ||
73 | setHasDocument(false); | 73 | setHasDocument(false); | ||
74 | 74 | | |||
75 | mStatusBarExtension = new KParts::StatusBarExtension(this); | 75 | mStatusBarExtension = new KParts::StatusBarExtension(this); | ||
76 | setComponentName(QStringLiteral("korganizer"), i18n("KOrganizer")); | 76 | setComponentName(QStringLiteral("korganizer"), i18n("KOrganizer")); | ||
77 | 77 | | |||
78 | QVBoxLayout *topLayout = new QVBoxLayout(canvas); | 78 | QVBoxLayout *topLayout = new QVBoxLayout(canvas); | ||
79 | topLayout->addWidget(mView); | 79 | topLayout->addWidget(mView); | ||
80 | topLayout->setMargin(0); | 80 | topLayout->setContentsMargins(0, 0, 0, 0); | ||
81 | 81 | | |||
82 | connect(mView, &CalendarView::incidenceSelected, this, &KOrganizerPart::slotChangeInfo); | 82 | connect(mView, &CalendarView::incidenceSelected, this, &KOrganizerPart::slotChangeInfo); | ||
83 | 83 | | |||
84 | mActionManager->init(); | 84 | mActionManager->init(); | ||
85 | mActionManager->readSettings(); | 85 | mActionManager->readSettings(); | ||
86 | 86 | | |||
87 | setXMLFile(QStringLiteral("korganizer_part.rc"), true); | 87 | setXMLFile(QStringLiteral("korganizer_part.rc"), true); | ||
88 | mActionManager->loadParts(); | 88 | mActionManager->loadParts(); | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |