• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

  • tdeio
  • tdeio
ktrader.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 Torben Weis <weis@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 #ifndef __ktrader_h__
19 #define __ktrader_h__
20 
21 #include <tqstring.h>
22 #include <tqobject.h>
23 #include <kservice.h>
24 
85 class TDEIO_EXPORT TDETrader : public TQObject
86 {
87  Q_OBJECT
88 public:
92  typedef TQValueList<KService::Ptr> OfferList;
93  typedef TQValueListIterator<KService::Ptr> OfferListIterator;
94 
98  virtual ~TDETrader();
99 
129  virtual OfferList query( const TQString& servicetype,
130  const TQString& constraint = TQString::null,
131  const TQString& preferences = TQString::null) const;
132 
156  OfferList query( const TQString& servicetype, const TQString& genericServiceType,
157  const TQString& constraint /*= TQString::null*/,
158  const TQString& preferences /*= TQString::null*/) const;
159 
169  static TDETrader* self();
170 
171 protected:
175  TDETrader();
176 
177 private:
178  static TDETrader* s_self;
179 protected:
180  virtual void virtual_hook( int id, void* data );
181 };
182 
295 #endif
TDETrader
A Trader interface, similar to the CORBA Trader.
Definition: ktrader.h:85
TDETrader::OfferList
TQValueList< KService::Ptr > OfferList
A list of services.
Definition: ktrader.h:92

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • 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 tdeio/tdeio by doxygen 1.8.8
This website is maintained by Timothy Pearson.