# GpgFrontend Project: src/ui/GpgFrontendApplication.h Source File

GpgFrontendApplication.h
#include "ui/GpgFrontendUI.h"
#ifndef GPGFRONTEND_GPGFRONTENDAPPLICATION_H
#define GPGFRONTEND_GPGFRONTENDAPPLICATION_H
namespace GpgFrontend::UI {
class GPGFRONTEND_UI_EXPORT GpgFrontendApplication : public QApplication {
Q_OBJECT
public:
explicit GpgFrontendApplication(int &argc, char *argv[]);
~GpgFrontendApplication() override = default;
static GpgFrontendApplication *GetInstance(int argc = 0,
char *argv[] = nullptr,
bool new_instance = false);
protected:
bool notify(QObject *receiver, QEvent *event) override;
};
} // namespace GpgFrontend::UI
#endif // GPGFRONTEND_GPGFRONTENDAPPLICATION_H
GpgFrontend::UI::GpgFrontendApplication
Definition: GpgFrontendApplication.h:34
GpgFrontend::UI::GpgFrontendApplication::~GpgFrontendApplication
~GpgFrontendApplication() override=default
Destroy the GpgFrontend Application object.
GpgFrontend::UI
Definition: FileReadTask.cpp:29