Changeset View
Changeset View
Standalone View
Standalone View
BackgroundTaskManager/JobViewer.cpp
| Show All 24 Lines | |||||
| 25 | #include <KLocalizedString> | 25 | #include <KLocalizedString> | ||
| 26 | 26 | | |||
| 27 | #include "JobViewer.h" | 27 | #include "JobViewer.h" | ||
| 28 | #include "JobModel.h" | 28 | #include "JobModel.h" | ||
| 29 | #include "JobManager.h" | 29 | #include "JobManager.h" | ||
| 30 | 30 | | |||
| 31 | BackgroundTaskManager::JobViewer::JobViewer(QWidget *parent) : QDialog(parent), m_model(nullptr) | 31 | BackgroundTaskManager::JobViewer::JobViewer(QWidget *parent) : QDialog(parent), m_model(nullptr) | ||
| 32 | { | 32 | { | ||
| 33 | setWindowTitle(i18n("Background Job Viewer")); | 33 | setWindowTitle(i18nc("@title:window", "Background Job Viewer")); | ||
| 34 | 34 | | |||
| 35 | QVBoxLayout* mainLayout = new QVBoxLayout; | 35 | QVBoxLayout* mainLayout = new QVBoxLayout; | ||
| 36 | setLayout(mainLayout); | 36 | setLayout(mainLayout); | ||
| 37 | 37 | | |||
| 38 | m_treeView = new QTreeView; | 38 | m_treeView = new QTreeView; | ||
| 39 | mainLayout->addWidget(m_treeView); | 39 | mainLayout->addWidget(m_treeView); | ||
| 40 | 40 | | |||
| 41 | QDialogButtonBox* buttonBox = new QDialogButtonBox; | 41 | QDialogButtonBox* buttonBox = new QDialogButtonBox; | ||
| Show All 39 Lines | |||||