mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-27 20:36:49 -08:00
(https://github.com/torvalds/subsurface, commit: 82a946152b7f1da177344937acbc9d3cb5b0ccbf). Added MessageWidget class.
22 lines
491 B
C++
22 lines
491 B
C++
|
|
|
|
#ifndef MESSAGEWIDGET_H
|
|
#define MESSAGEWIDGET_H
|
|
|
|
#include "gui/kmessagewidget.h"
|
|
|
|
class MessageWidget : public KMessageWidget
|
|
{
|
|
public:
|
|
explicit MessageWidget(QWidget* parent = 0);
|
|
void showMessageError(const QString& text);
|
|
void showMessageWarning(const QString& text);
|
|
void showMessageInformation(const QString& text);
|
|
void showMessagePositive(const QString& text);
|
|
|
|
private:
|
|
void showMessage(const QString& text, MessageType type);
|
|
};
|
|
|
|
#endif // MESSAGEWIDGET_H
|