Messagelib
7 #include "remotecontentdialog.h"
8 #include "remotecontentwidget.h"
9 #include <QDialogButtonBox>
10 #include <QPushButton>
11 #include <QVBoxLayout>
12 using namespace MessageViewer;
13 RemoteContentDialog::RemoteContentDialog(
QWidget *parent)
15 , mRemoveContentWidget(new RemoteContentWidget(this))
18 mainLayout->setObjectName(QStringLiteral(
"mainLayout"));
20 mRemoveContentWidget->setObjectName(QStringLiteral(
"mRemoveContentWidget"));
21 mainLayout->addWidget(mRemoveContentWidget);
24 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
27 mainLayout->addWidget(buttonBox);
30 connect(mRemoveContentWidget, &RemoteContentWidget::updateOkButton,
this, [okButton](
bool enabled) {
35 RemoteContentDialog::~RemoteContentDialog() =
default;
39 return mRemoveContentWidget->info();
44 mRemoveContentWidget->setInfo(info);
47 #include "moc_remotecontentdialog.cpp"
The RemoteContentInfo class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:02:56 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.