Changeset View
Changeset View
Standalone View
Standalone View
plugins/filetemplates/licensepage.cpp
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Line(s) | 264 | { | |||
---|---|---|---|---|---|
265 | email = QStringLiteral("email"); //no < > as they are already through the email field | 265 | email = QStringLiteral("email"); //no < > as they are already through the email field | ||
266 | } | 266 | } | ||
267 | developer = developer.arg(email); | 267 | developer = developer.arg(email); | ||
268 | licenseText.replace(QLatin1String("<copyright holder>"), developer); | 268 | licenseText.replace(QLatin1String("<copyright holder>"), developer); | ||
269 | 269 | | |||
270 | return licenseText; | 270 | return licenseText; | ||
271 | } | 271 | } | ||
272 | 272 | | |||
273 | void LicensePage::setFocusToFirstEditWidget() | ||||
274 | { | ||||
275 | d->license->licenseComboBox->setFocus(); | ||||
276 | } | ||||
277 | | ||||
273 | } | 278 | } | ||
274 | 279 | | |||
275 | Q_DECLARE_TYPEINFO(KDevelop::LicensePagePrivate::LicenseInfo, Q_MOVABLE_TYPE); | 280 | Q_DECLARE_TYPEINFO(KDevelop::LicensePagePrivate::LicenseInfo, Q_MOVABLE_TYPE); | ||
276 | 281 | | |||
277 | #include "moc_licensepage.cpp" | 282 | #include "moc_licensepage.cpp" |