Source Code (Use browser search to find items of interest.)

Class Index

khelpcenter'Match (./kdebase/khelpcenter/khc_searchmatch.h:27)

class Match
{

 public:

    Match(const char* _title, const char* _url, int = 0)
	{ title = _title; url = _url; }

    void setWeight(int m) { weight = m; }
    void addWeight(int m) { weight += m; }
    void setTitle(const char * _title) { title = _title; }
    void setURL(const char* _url) { url = _url; }

    const char* getURL() { return url; }
    const char* getTitle() { return title; }
    int getWeight() {	return weight; }
  
 protected:

    QString url, title;
    int weight;
};