akregator/src/librss

textinput.h

00001 /*
00002  * textinput.h
00003  *
00004  * Copyright (c) 2001, 2002, 2003 Frerich Raabe <raabe@kde.org>
00005  *
00006  * This program is distributed in the hope that it will be useful, but WITHOUT
00007  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00008  * FOR A PARTICULAR PURPOSE. For licensing and distribution details, check the
00009  * accompanying file 'COPYING'.
00010  */
00011 #ifndef LIBRSS_TEXTINPUT_H
00012 #define LIBRSS_TEXTINPUT_H
00013 
00014 #include "global.h"
00015 
00016 class KURL;
00017 
00018 class QDomNode;
00019 class QString;
00020 
00021 namespace RSS
00022 {
00030     class TextInput
00031     {
00032         public:
00036             TextInput();
00037             
00042             TextInput(const TextInput &other);
00043             
00049             TextInput(const QDomNode &node);
00050 
00056             TextInput &operator=(const TextInput &other);
00057 
00065             bool operator==(const TextInput &other) const;
00066             
00072             bool operator!=(const TextInput &other) const { return !operator==(other); }
00073             
00077             virtual ~TextInput();
00078 
00084             QString title() const;
00085 
00093             QString description() const;
00094 
00100             QString name() const;
00101 
00112             const KURL &link() const;
00113 
00114         private:
00115             struct Private;
00116             Private *d;
00117     };
00118 }
00119 
00120 #endif // LIBRSS_TEXTINPUT_H
00121 // vim: noet:ts=4
KDE Home | KDE Accessibility Home | Description of Access Keys