summaryrefslogtreecommitdiffstats
path: root/akregator/src/feedlist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /akregator/src/feedlist.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/feedlist.h')
-rw-r--r--akregator/src/feedlist.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/akregator/src/feedlist.h b/akregator/src/feedlist.h
index c0ba14ccd..4e630ea7c 100644
--- a/akregator/src/feedlist.h
+++ b/akregator/src/feedlist.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef AKREGATORFEEDLIST_H
@@ -44,16 +44,17 @@ class TreeNode;
class FeedList : public NodeList
{
Q_OBJECT
+ TQ_OBJECT
public:
- FeedList(TQObject *parent = 0, const char *name = 0);
+ FeedList(TQObject *tqparent = 0, const char *name = 0);
/** Destructor. Contained nodes are deleted! */
~FeedList();
/** appends another feed list as sub tree. The root node of @c list is ignored. NOTE: nodes are _moved_ from @c list to this feed list, not copied */
- void append(FeedList* list, Folder* parent=0, TreeNode* after=0);
+ void append(FeedList* list, Folder* tqparent=0, TreeNode* after=0);
/** reads an OPML document and appends the items to this list
@param doc the OPML document to parse
@@ -64,7 +65,7 @@ public:
/** exports the feed list as OPML. The root node ("All Feeds") is ignored! */
virtual TQDomDocument toXML() const;
- /** returns a feed object for a given feed URL. If the feed list does not contain a feed with @c url, NULL is returned. If it tqcontains the same feed multiple times, any of the Feed objects is returned. */
+ /** returns a feed object for a given feed URL. If the feed list does not contain a feed with @c url, NULL is returned. If it contains the same feed multiple times, any of the Feed objects is returned. */
Feed* findByURL(const TQString& feedURL) const;
Article findArticle(const TQString& feedURL, const TQString& guid) const;
@@ -81,7 +82,7 @@ protected:
public: // compat with KDE-3.x assertions, remove for KDE 4
// private:
- void parseChildNodes(TQDomNode &node, Folder* parent);
+ void parseChildNodes(TQDomNode &node, Folder* tqparent);
// never call these
FeedList(const FeedList&) : NodeList() {}