summaryrefslogtreecommitdiffstats
path: root/akregator/src/feed.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/feed.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/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();