/* * kbiffurl.h * Copyright (C) 1999 Kurt Granroth * Copyright (C) 1999 Bjorn Hansson * * $Id$ * */ #ifndef KBIFFURL_H #define KBIFFURL_H #include /** * This is a simple extension to the KURL class. */ class KBiffURL : public KURL { public: /** * Default constructor */ KBiffURL(); /** * Construct a KBiffURL object from _url */ KBiffURL(const QString& _url); /** * Returns the parameter value found in the search part of the URL */ QString searchPar( const QString & _parName ) const; /** * Sets a parameter value in the search part of the URL */ void setSearchPar( const QString & _parName, const QString & _newParVal ); QString pass() const; private: /** * Returns the position of a parameter within the search part */ int findPos( const QString & _searchPart, const QString & _parName ) const; }; #endif // KBIFFURL_H