blob: 82bc9b6af687384d89bf3b07ac309759233cc11d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/*
* kbiffurl.h
* Copyright (C) 1999 Kurt Granroth <granroth@kde.org>
* Copyright (C) 1999 Bjorn Hansson <Bjorn.Hansson@signal.uu.se>
*
* $Id$
*
*/
#ifndef KBIFFURL_H
#define KBIFFURL_H
#include <kurl.h>
/**
* 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
|