• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • dnssd
 

dnssd

  • dnssd
query.h
1 /* This file is part of the KDE project
2  *
3  * Copyright (C) 2004 Jakub Stachowski <qbast@go2.pl>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public License
16  * along with this library; see the file COPYING.LIB. If not, write to
17  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #ifndef DNSSDQUERY_H
22 #define DNSSDQUERY_H
23 
24 #include <tqobject.h>
25 #include <dnssd/remoteservice.h>
26 
27 
28 namespace DNSSD
29 {
30 class QueryPrivate;
31 
39 class TDEDNSSD_EXPORT Query : public TQObject
40 {
41  Q_OBJECT
42 public:
50  Query(const TQString& type, const TQString& domain);
51 
52  virtual ~Query();
53 
57  virtual void startQuery();
58 
62  bool isRunning() const;
63 
69  bool isFinished() const;
70 
74  const TQString& domain() const;
75 
76 signals:
80  void serviceAdded(DNSSD::RemoteService::Ptr);
81 
85  void serviceRemoved(DNSSD::RemoteService::Ptr);
86 
90  void finished();
91 
92 protected:
93  virtual void virtual_hook(int, void*);
94  virtual void customEvent(TQCustomEvent* event);
95 private:
96  QueryPrivate *d;
97 private slots:
98  void timeout();
99 };
100 
101 }
102 
103 #endif
DNSSD
Definition: domainbrowser.cpp:36
DNSSD::Query
This class provides way to search for specified service type in one domain.
Definition: query.h:39

dnssd

Skip menu "dnssd"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

dnssd

Skip menu "dnssd"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for dnssd by doxygen 1.8.8
This website is maintained by Timothy Pearson.