summaryrefslogtreecommitdiffstats
path: root/akregator/src/feed.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/feed.h')
-rw-r--r--akregator/src/feed.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/akregator/src/feed.h b/akregator/src/feed.h
index d94eecaca..c9590365b 100644
--- a/akregator/src/feed.h
+++ b/akregator/src/feed.h
@@ -19,8 +19,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 AKREGATORFEED_H
@@ -43,7 +43,7 @@ namespace KPIM {
// needed for slot fetchCompleted()
using RSS::Document;
using RSS::Loader;
-using RSS::Status;
+using RSS::tqStatus;
namespace Akregator
{
@@ -64,6 +64,7 @@ namespace Akregator
friend class Article;
Q_OBJECT
+ TQ_OBJECT
public:
/** the archiving modes:
- globalDefault: use default from Settings (default)
@@ -94,7 +95,7 @@ namespace Akregator
virtual bool accept(TreeNodeVisitor* visitor);
/** exports the feed settings to OPML */
- virtual TQDomElement toOPML( TQDomElement parent, TQDomDocument document ) const;
+ virtual TQDomElement toOPML( TQDomElement tqparent, TQDomDocument document ) const;
/**
returns whether this feed uses its own fetch interval or the global setting
@@ -177,7 +178,7 @@ namespace Akregator
/** sets the description of this feed */
void setDescription(const TQString& s);
- virtual TQValueList<Article> articles(const TQString& tag=TQString::null);
+ virtual TQValueList<Article> articles(const TQString& tag=TQString());
/** returns the article with the given @c guid, or a null article if it not exists */
virtual Article findArticle(const TQString& guid) const;
@@ -253,7 +254,7 @@ namespace Akregator
private slots:
- void fetchCompleted(Loader *loader, Document doc, Status status);
+ void fetchCompleted(Loader *loader, Document doc, tqStatus status);
void slotImageFetched(const TQPixmap& image);
private:
@@ -264,10 +265,10 @@ namespace Akregator
void setArticleDeleted(Article& a);
/** notifies that article @c mya was changed
- @param oldStatus if the status was changed, it tqcontains the old status, -1 otherwise
+ @param oldtqStatus if the status was changed, it contains the old status, -1 otherwise
To be called by @ref Article
*/
- void setArticleChanged(Article& a, int oldStatus=-1);
+ void setArticleChanged(Article& a, int oldtqStatus=-1);
void enforceLimitArticleNumber();