akregator/src/librss

textinput.h
1 /*
2  * textinput.h
3  *
4  * Copyright (c) 2001, 2002, 2003 Frerich Raabe <raabe@kde.org>
5  *
6  * This program is distributed in the hope that it will be useful, but WITHOUT
7  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
8  * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
9  * accompanying file 'COPYING'.
10  */
11 #ifndef LIBRSS_TEXTINPUT_H
12 #define LIBRSS_TEXTINPUT_H
13 
14 #include "global.h"
15 
16 class KURL;
17 
18 class TQDomNode;
19 class TQString;
20 
21 namespace RSS
22 {
30  class TextInput
31  {
32  public:
36  TextInput();
37 
42  TextInput(const TextInput &other);
43 
49  TextInput(const TQDomNode &node);
50 
56  TextInput &operator=(const TextInput &other);
57 
65  bool operator==(const TextInput &other) const;
66 
72  bool operator!=(const TextInput &other) const { return !operator==(other); }
73 
77  virtual ~TextInput();
78 
84  TQString title() const;
85 
93  TQString description() const;
94 
100  TQString name() const;
101 
112  const KURL &link() const;
113 
114  private:
115  struct Private;
116  Private *d;
117  };
118 }
119 
120 #endif // LIBRSS_TEXTINPUT_H
Represents a text input facility as stored in a RSS file for the purpose of allowing users to submit ...
Definition: textinput.h:31
TQString title() const
RSS 0.90 and upwards.
Definition: textinput.cpp:57
TQString name() const
RSS 0.90 and upwards.
Definition: textinput.cpp:67
TextInput()
Default constructor.
Definition: textinput.cpp:28
TextInput & operator=(const TextInput &other)
Assignment operator.
Definition: textinput.cpp:77
bool operator==(const TextInput &other) const
Compares two text inputs.
Definition: textinput.cpp:88
TQString description() const
RSS 0.90 and upwards.
Definition: textinput.cpp:62
virtual ~TextInput()
Destructor.
Definition: textinput.cpp:51
const KURL & link() const
RSS 0.90 and upwards.
Definition: textinput.cpp:72
bool operator!=(const TextInput &other) const
Convenience method.
Definition: textinput.h:72