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

dnssd

  • dnssd
domainbrowser.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 DNSSDDOMAINBROWSER_H
22#define DNSSDDOMAINBROWSER_H
23
24#include <tqobject.h>
25#include <tqdict.h>
26#include <dnssd/remoteservice.h>
27
28// KIPC message ID used by kcm module to signal change in browsing domains list
29
30#define KIPCDomainsChanged 2014
31
32class TQStringList;
33namespace DNSSD
34{
35class DomainBrowserPrivate;
36
41class TDEDNSSD_EXPORT DomainBrowser : public TQObject
42{
43 TQ_OBJECT
44public:
50 DomainBrowser(TQObject *parent=0);
51
60 DomainBrowser(const TQStringList& domains, bool recursive=false, TQObject *parent=0);
61
62 ~DomainBrowser();
63
67 const TQStringList& domains() const;
68
72 void startBrowse() ;
73
77 bool isRunning() const;
78
79signals:
83 void domainRemoved(const TQString&);
88 void domainAdded(const TQString&);
89
90protected:
91 virtual void virtual_hook(int,void*);
92private:
93 friend class DomainBrowserPrivate;
94 DomainBrowserPrivate *d;
95
96 void gotNewDomain(const TQString&);
97 void gotRemoveDomain(const TQString&);
98
99private slots:
100 void domainListChanged(int,int);
101};
102
103}
104
105#endif
DNSSD::DomainBrowser
Class used to provide current list of domains for browsing.
Definition: domainbrowser.h:42
DNSSD::DomainBrowser::domainRemoved
void domainRemoved(const TQString &)
Emitted when domain has been removed from browsing list.
DNSSD::DomainBrowser::domainAdded
void domainAdded(const TQString &)
New domain has been discovered.

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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for dnssd by doxygen 1.9.4
This website is maintained by Timothy Pearson.