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
Definition: FileReadTask.cpp:31
GpgFrontend::UI::GpgFrontendApplication
Definition: GpgFrontendApplication.h:34
GpgFrontend::UI::GpgFrontendApplication::GpgFrontendApplication
GpgFrontendApplication(int &argc, char *argv[])
Construct a new GpgFrontend Application object.
Definition: GpgFrontendApplication.cpp:33
GpgFrontend::UI::GpgFrontendApplication::notify
bool notify(QObject *receiver, QEvent *event) override
Definition: GpgFrontendApplication.cpp:73
GpgFrontend::UI::GpgFrontendApplication::GetInstance
static GpgFrontendApplication * GetInstance(int argc=0, char *argv[]=nullptr, bool new_instance=false)
Get the GpgFrontend Application object.
Definition: GpgFrontendApplication.cpp:56