- topLayout->addRow(i18nc("@title:group", "Folder size displays:"), m_numberOfItems);
- topLayout->addRow(QString(), contentsSizeLayout);
-#endif
-
- QDateTime thirtyMinutesAgo = QDateTime::currentDateTime().addSecs(-30 * 60);
- QLocale local;
- KFormat formatter(local);
-
- m_useRelatetiveDates = new QRadioButton(i18nc(
- "option:radio as in relative date", "Relative (e.g. '%1')", formatter.formatRelativeDateTime(thirtyMinutesAgo, QLocale::ShortFormat))
- );
- m_useShortDates = new QRadioButton(
- i18nc("option:radio as in absolute date", "Absolute (e.g. '%1')", local.toString(thirtyMinutesAgo, QLocale::ShortFormat))
- );
-
- QButtonGroup* dateFormatGroup = new QButtonGroup(this);
- dateFormatGroup->addButton(m_useRelatetiveDates);
- dateFormatGroup->addButton(m_useShortDates);
-
- topLayout->addRow(i18nc("@title:group", "Date style:"), m_useRelatetiveDates);
- topLayout->addRow(QString(), m_useShortDates);
+ auto itemActivationAreaGroup = new QButtonGroup(this);
+ itemActivationAreaGroup->addButton(m_entireRow);
+ itemActivationAreaGroup->addButton(m_iconAndNameOnly);