Messagelib

remotecontentwidget.h
1/*
2 SPDX-FileCopyrightText: 2021-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "messageviewer_private_export.h"
10#include "remotecontentinfo.h"
11#include <QWidget>
12class QLineEdit;
13namespace MessageViewer
14{
15class RemoteContentStatusTypeComboBox;
16class MESSAGEVIEWER_TESTS_EXPORT RemoteContentWidget : public QWidget
17{
18 Q_OBJECT
19public:
20 explicit RemoteContentWidget(QWidget *parent = nullptr);
21 ~RemoteContentWidget() override;
22
23 [[nodiscard]] RemoteContentInfo info() const;
24 void setInfo(const RemoteContentInfo &info);
25
26Q_SIGNALS:
27 void updateOkButton(bool enabled);
28
29private:
30 MESSAGEVIEWER_NO_EXPORT void slotTextChanged(const QString &url);
31 QLineEdit *const mLineEdit;
32 RemoteContentStatusTypeComboBox *const mStatusComboBox;
33};
34}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:25 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.