blob: a70441554a6b5f4a323db5d3f0d1d69bb5bf7367 (
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 TQString& _url);
/**
* Returns the parameter value found in the search part of the URL
*/
TQString searchPar( const TQString & _parName ) const;
/**
* Sets a parameter value in the search part of the URL
*/
void setSearchPar( const TQString & _parName, const TQString & _newParVal );
TQString pass() const;
private:
/**
* Returns the position of a parameter within the search part
*/
int findPos( const TQString & _searchPart, const TQString & _parName ) const;
};
#endif // KBIFFURL_H
|