Warning, file /frameworks/kio/src/kpac/discovery.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     SPDX-FileCopyrightText: 2003 Malte Starostik <malte@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KPAC_DISCOVERY_H
0008 #define KPAC_DISCOVERY_H
0009 
0010 #include "downloader.h"
0011 
0012 class QProcess;
0013 
0014 namespace KPAC
0015 {
0016 class Discovery : public Downloader
0017 {
0018     Q_OBJECT
0019 public:
0020     explicit Discovery(QObject *);
0021 
0022 protected Q_SLOTS:
0023     void failed() override;
0024 
0025 private Q_SLOTS:
0026     void helperOutput();
0027 
0028 private:
0029     bool initDomainName();
0030     bool checkDomain() const;
0031 
0032     QProcess *m_helper;
0033     QString m_domainName;
0034 };
0035 }
0036 
0037 #endif // KPAC_DISCOVERY_H