Changeset View
Changeset View
Standalone View
Standalone View
src/ksieveui/scriptsparsing/parsingresultdialog.cpp
Show All 32 Lines | |||||
33 | #include <QPushButton> | 33 | #include <QPushButton> | ||
34 | #include <QVBoxLayout> | 34 | #include <QVBoxLayout> | ||
35 | 35 | | |||
36 | using namespace KSieveUi; | 36 | using namespace KSieveUi; | ||
37 | 37 | | |||
38 | ParsingResultDialog::ParsingResultDialog(QWidget *parent) | 38 | ParsingResultDialog::ParsingResultDialog(QWidget *parent) | ||
39 | : QDialog(parent) | 39 | : QDialog(parent) | ||
40 | { | 40 | { | ||
41 | setWindowTitle(i18n("Sieve Parsing")); | 41 | setWindowTitle(i18nc("@title:window", "Sieve Parsing")); | ||
42 | QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close, this); | 42 | QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close, this); | ||
43 | 43 | | |||
44 | QVBoxLayout *mainLayout = new QVBoxLayout(this); | 44 | QVBoxLayout *mainLayout = new QVBoxLayout(this); | ||
45 | QPushButton *user1Button = new QPushButton(this); | 45 | QPushButton *user1Button = new QPushButton(this); | ||
46 | buttonBox->addButton(user1Button, QDialogButtonBox::ActionRole); | 46 | buttonBox->addButton(user1Button, QDialogButtonBox::ActionRole); | ||
47 | connect(buttonBox, &QDialogButtonBox::rejected, this, &ParsingResultDialog::reject); | 47 | connect(buttonBox, &QDialogButtonBox::rejected, this, &ParsingResultDialog::reject); | ||
48 | user1Button->setText(i18n("Save As...")); | 48 | user1Button->setText(i18n("Save As...")); | ||
49 | 49 | | |||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |