DNSSD
servicetypebrowser.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef DNSSDSERVICETYPEBROWSER_H
00022 #define DNSSDSERVICETYPEBROWSER_H
00023
00024 #include <QtCore/QObject>
00025 #include <dnssd/remoteservice.h>
00026
00027 class QStringList;
00028 namespace DNSSD
00029 {
00030 class ServiceTypeBrowserPrivate;
00031
00036 class KDNSSD_EXPORT ServiceTypeBrowser : public QObject
00037 {
00038 Q_OBJECT
00039 public:
00045 explicit ServiceTypeBrowser(const QString& domain=QString(), QObject *parent=0);
00046
00047 ~ServiceTypeBrowser();
00048
00052 QStringList serviceTypes() const;
00053
00057 void startBrowse() ;
00058
00059
00060 bool isRunning() const;
00061
00062 Q_SIGNALS:
00067 void serviceTypeRemoved(const QString&);
00071 void serviceTypeAdded(const QString&);
00072
00078 void finished();
00079
00080 private:
00081 friend class ServiceTypeBrowserPrivate;
00082 ServiceTypeBrowserPrivate* const d;
00083 };
00084
00085 }
00086
00087 #endif