Pimcommon
7#include "checknewversiondialog.h"
8#include "checknewversionwidget.h"
9#include <KLocalizedString>
10#include <QDialogButtonBox>
13CheckNewVersionDialog::CheckNewVersionDialog(
QWidget *parent)
15 , mVerifyNewVersionWidget(new CheckNewVersionWidget(this))
17 setWindowTitle(
i18nc(
"@title:window",
"Check New Version"));
20 mainLayout->setObjectName(QStringLiteral(
"mainLayout"));
22 mVerifyNewVersionWidget->setObjectName(QStringLiteral(
"mVerifyNewVersionWidget"));
23 mainLayout->addWidget(mVerifyNewVersionWidget);
26 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
27 mainLayout->addWidget(buttonBox);
32CheckNewVersionDialog::~CheckNewVersionDialog() =
default;
34void CheckNewVersionDialog::checkNewVersion()
36 mVerifyNewVersionWidget->checkNewVersion();
39void CheckNewVersionDialog::setUrl(
const QUrl &url)
41 mVerifyNewVersionWidget->setUrl(url);
44#include "moc_checknewversiondialog.cpp"
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.