Source: ktrader.h


Annotated List
Files
Globals
Hierarchy
Index
#ifndef __ko_trader_h__
#define __ko_trader_h__

#include <qstring.h>

#include <ksharedptr.h>
#include <kservice.h>

/**
 */
class KTrader : public QObject
{
    Q_OBJECT
public:
    // A list of services
    typedef QValueList<KService::Ptr> OfferList;
  
    virtual ~KTrader();

    virtual OfferList query( const QString& servicetype,
			     const QString& constraint = QString::null,
			     const QString& preferences = QString::null) const;

    static KTrader* self();
    
protected:
    KTrader();
    
private:
    static KTrader* s_self;
};

#endif

Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:31 2000, using kdoc 2.0a33.