Messagelib

shownextmessagewidget.h
1/*
2 SPDX-FileCopyrightText: 2019-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 <QWidget>
11class QPushButton;
12namespace MessageViewer
13{
14class MESSAGEVIEWER_TESTS_EXPORT ShowNextMessageWidget : public QWidget
15{
16 Q_OBJECT
17public:
18 explicit ShowNextMessageWidget(QWidget *parent = nullptr);
19 ~ShowNextMessageWidget() override;
20
21 void updateButton(bool hasPreviousMessage, bool hasNextMessage);
22Q_SIGNALS:
23 void showNextMessage();
24 void showPreviousMessage();
25
26private:
27 QPushButton *const mNextMessage;
28 QPushButton *const mPreviousMessage;
29};
30}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.