Changeset View
Changeset View
Standalone View
Standalone View
kcm/kcm.cpp
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 49 | public: | |||
---|---|---|---|---|---|
50 | explicit ScreenLockerKcmForm(QWidget *parent); | 50 | explicit ScreenLockerKcmForm(QWidget *parent); | ||
51 | }; | 51 | }; | ||
52 | 52 | | |||
53 | ScreenLockerKcmForm::ScreenLockerKcmForm(QWidget *parent) | 53 | ScreenLockerKcmForm::ScreenLockerKcmForm(QWidget *parent) | ||
54 | : QWidget(parent) | 54 | : QWidget(parent) | ||
55 | { | 55 | { | ||
56 | setupUi(this); | 56 | setupUi(this); | ||
57 | layout()->setContentsMargins(0, 0, 0, 0); | 57 | layout()->setContentsMargins(0, 0, 0, 0); | ||
58 | kcfg_Timeout->setSuffix(ki18ncp("Spinbox suffix. Short for minutes"," min"," mins")); | 58 | kcfg_Timeout->setSuffix(ki18ncp("Spinbox suffix"," minute"," minutes")); | ||
59 | 59 | | |||
60 | kcfg_LockGrace->setSuffix(ki18ncp("Spinbox suffix. Short for seconds"," sec"," secs")); | 60 | kcfg_LockGrace->setSuffix(ki18ncp("Spinbox suffix"," second"," seconds")); | ||
61 | } | 61 | } | ||
62 | 62 | | |||
63 | 63 | | |||
64 | 64 | | |||
65 | ScreenLockerKcm::ScreenLockerKcm(QWidget *parent, const QVariantList &args) | 65 | ScreenLockerKcm::ScreenLockerKcm(QWidget *parent, const QVariantList &args) | ||
66 | : KCModule(parent, args) | 66 | : KCModule(parent, args) | ||
67 | , m_actionCollection(new KActionCollection(this, QStringLiteral("ksmserver"))) | 67 | , m_actionCollection(new KActionCollection(this, QStringLiteral("ksmserver"))) | ||
68 | , m_ui(new ScreenLockerKcmForm(this)) | 68 | , m_ui(new ScreenLockerKcmForm(this)) | ||
▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines |