fort/src/ui/fortwindow.h

40 lines
623 B
C
Raw Normal View History

2017-09-01 13:13:12 +00:00
#ifndef FORTWINDOW_H
#define FORTWINDOW_H
#include <QObject>
class QQmlApplicationEngine;
class FortSettings;
class FirewallConf;
class FortWindow : public QObject
{
Q_OBJECT
public:
explicit FortWindow(FirewallConf *firewallConf,
FortSettings *fortSettings,
QObject *parent = nullptr);
static void registerQmlTypes();
signals:
public slots:
void show();
bool save();
private:
void setupContext();
private:
QQmlApplicationEngine *m_engine;
FirewallConf *m_firewallConf;
FortSettings *m_fortSettings;
};
#endif // FORTWINDOW_H