File indexing completed on 2024-04-28 15:22:06

0001 /*
0002     This file is part of the KDE project
0003 
0004     SPDX-FileCopyrightText: 2004 Jakub Stachowski <qbast@go2.pl>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-or-later
0007 */
0008 
0009 #ifndef MDNSD_DOMAINBROWSER_P_H
0010 #define MDNSD_DOMAINBROWSER_P_H
0011 
0012 #include "domainbrowser.h"
0013 #include "mdnsd-responder.h"
0014 #include <QStringList>
0015 
0016 namespace KDNSSD
0017 {
0018 class DomainBrowserPrivate : public Responder
0019 {
0020     Q_OBJECT
0021 public:
0022     DomainBrowserPrivate(DomainBrowser::DomainType type, DomainBrowser *parent)
0023         : Responder()
0024         , m_type(type)
0025         , m_parent(parent)
0026     {
0027     }
0028     DomainBrowser::DomainType m_type;
0029     DomainBrowser *m_parent = nullptr;
0030     QStringList m_domains;
0031     virtual void customEvent(QEvent *event);
0032 };
0033 
0034 }
0035 #endif