Commit d56914d1 authored by Laurent Montel's avatar Laurent Montel 😁

Use QStringLiteral

parent b95c15a3
......@@ -63,7 +63,7 @@ BirthdayDlg::BirthdayDlg(QWidget* parent)
: KDialog(parent),
mSpecialActionsButton(0)
{
setObjectName(QLatin1String("BirthdayDlg")); // used by LikeBack
setObjectName(QStringLiteral("BirthdayDlg")); // used by LikeBack
setCaption(i18nc("@title:window", "Import Birthdays From KAddressBook"));
setButtons(Ok | Cancel);
setDefaultButton(Ok);
......
......@@ -202,7 +202,7 @@ void EditAlarmDlg::init(const KAEvent* event, GetResourceType getResource)
void EditAlarmDlg::init(const KAEvent* event)
{
setObjectName(mTemplate ? QLatin1String("TemplEditDlg") : QLatin1String("EditDlg")); // used by LikeBack
setObjectName(mTemplate ? QStringLiteral("TemplEditDlg") : QStringLiteral("EditDlg")); // used by LikeBack
QString caption;
if (mReadOnly)
caption = mTemplate ? i18nc("@title:window", "Alarm Template [read-only]")
......@@ -1216,7 +1216,7 @@ void EditAlarmDlg::slotEditDeferral()
// deletion of EditAlarmDlg, and on return from this function).
AutoQPointer<DeferAlarmDlg> deferDlg = new DeferAlarmDlg((deferred ? mDeferDateTime : DateTime(now.addSecs(60).toTimeSpec(start.timeSpec()))),
start.isDateOnly(), deferred, this);
deferDlg->setObjectName(QLatin1String("EditDeferDlg")); // used by LikeBack
deferDlg->setObjectName(QStringLiteral("EditDeferDlg")); // used by LikeBack
if (limit)
{
// Don't allow deferral past the next recurrence
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment