File indexing completed on 2024-04-28 15:22:07
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_SERVICETYPEBROWSER_P_H 0010 #define MDNSD_SERVICETYPEBROWSER_P_H 0011 0012 #include <QStringList> 0013 0014 #include "servicebrowser.h" 0015 #include "servicetypebrowser.h" 0016 0017 namespace KDNSSD 0018 { 0019 class ServiceTypeBrowserPrivate : public QObject 0020 { 0021 Q_OBJECT 0022 public: 0023 explicit ServiceTypeBrowserPrivate(ServiceTypeBrowser *parent) 0024 : m_parent(parent) 0025 { 0026 } 0027 ServiceTypeBrowser *m_parent = nullptr; 0028 ServiceBrowser *m_browser = nullptr; 0029 QStringList m_servicetypes; 0030 public Q_SLOTS: 0031 void newService(KDNSSD::RemoteService::Ptr); 0032 void removeService(KDNSSD::RemoteService::Ptr); 0033 }; 0034 0035 } 0036 #endif