gehe zur Dokumentation dieser Datei
8 #include <QSharedPointer>
78 bool mFirstFirewallRuleExists;
79 bool mFirstFirewallRuleEnabled;
80 bool mSecondFirewallRuleExists;
81 bool mSecondFirewallRuleEnabled;
82 QVector<QSharedPointer<FirewallSoftware>> mDetectedFirewalls;
83 QVector<QSharedPointer<FirewallProfile>> mFirewallProfiles;
88 bool mInstalledFirewallsDone;
91 QProcess mFirewallFirstRuleProcess;
92 QProcess mFirewallSecondRuleProcess;
93 QProcess mFirewallProfilesProcess;
94 QProcess mInstalledFirewallSoftwareProcess;
96 void checkIfAllInformationReady();
99 void onFirstRuleDone(
int exitCode, QProcess::ExitStatus exitStatus);
100 void onFirstRuleError(QProcess::ProcessError pError);
101 void onSecondRuleDone(
int exitCode, QProcess::ExitStatus exitStatus);
102 void onSecondRuleError(QProcess::ProcessError pError);
103 void onProfilesDone(
int exitCode, QProcess::ExitStatus exitStatus);
104 void onProfilesError(QProcess::ProcessError pError);
105 void onInstalledFirewallSoftwareDone(
int exitCode, QProcess::ExitStatus exitStatus);
106 void onInstalledFirewallSoftwareError(QProcess::ProcessError pError);
115 return mFirstFirewallRuleExists;
121 return mFirstFirewallRuleEnabled;
127 return mSecondFirewallRuleExists;
133 return mSecondFirewallRuleEnabled;
139 return mFirewallProfiles;
145 return mDetectedFirewalls;
bool getUpToDate() const
Definition: DiagnosisFirewallDetection.h:64
bool getSecondRuleEnabled() const
Definition: DiagnosisFirewallDetection.h:131
void fireDetectionFailed()
Definition: moc_DiagnosisFirewallDetection.cpp:148
const QVector< QSharedPointer< FirewallProfile > > & getFirewallProfiles() const
Definition: DiagnosisFirewallDetection.h:137
const char * name
Definition: http_parser.cpp:470
void fireFirewallInformationReady()
Definition: moc_DiagnosisFirewallDetection.cpp:142
void startDetection()
Definition: DiagnosisFirewallDetection.cpp:286
const QVector< QSharedPointer< FirewallSoftware > > & getDetectedFirewalls() const
Definition: DiagnosisFirewallDetection.h:143
bool getFirstRuleEnabled() const
Definition: DiagnosisFirewallDetection.h:119
bool getFirstRuleExists() const
Definition: DiagnosisFirewallDetection.h:113
bool getSecondRuleExists() const
Definition: DiagnosisFirewallDetection.h:125
const QString & getName() const
Definition: DiagnosisFirewallDetection.h:52
FirewallSoftware(const QString &pName, bool pEnabled, bool pUpToDate)
Definition: DiagnosisFirewallDetection.cpp:369
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
Definition: DiagnosisFirewallDetection.h:20
Definition: DiagnosisFirewallDetection.h:74
const QString & getName() const
Definition: DiagnosisFirewallDetection.h:28
bool getEnabled() const
Definition: DiagnosisFirewallDetection.h:58
DiagnosisFirewallDetection()
Definition: DiagnosisFirewallDetection.cpp:264
FirewallProfile(const QString &pName, bool pEnabled)
Definition: DiagnosisFirewallDetection.cpp:377
bool getEnabled() const
Definition: DiagnosisFirewallDetection.h:34
Definition: DiagnosisFirewallDetection.h:43