summaryrefslogtreecommitdiffstats
path: root/plugins/rssfeed/rssfeedmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/rssfeed/rssfeedmanager.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/rssfeed/rssfeedmanager.h')
-rw-r--r--plugins/rssfeed/rssfeedmanager.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/plugins/rssfeed/rssfeedmanager.h b/plugins/rssfeed/rssfeedmanager.h
index 1afc766..2d3e7cd 100644
--- a/plugins/rssfeed/rssfeedmanager.h
+++ b/plugins/rssfeed/rssfeedmanager.h
@@ -22,12 +22,12 @@
#include <kdirlister.h>
#include <kfileitem.h>
-#include <qstring.h>
-#include <qobject.h>
-#include <qdir.h>
+#include <tqstring.h>
+#include <tqobject.h>
+#include <tqdir.h>
-#include <qptrlist.h>
-#include <qwidget.h>
+#include <tqptrlist.h>
+#include <tqwidget.h>
#include "rssfeedwidget.h"
#include "rssfeed.h"
@@ -47,6 +47,7 @@ namespace kt
class RssFeedManager : public RssFeedWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -54,7 +55,7 @@ namespace kt
* @param core Pointer to core interface
* @param openSilently Wheather to open torrent silently or nor.
*/
- RssFeedManager(CoreInterface* core, QWidget * parent = 0);
+ RssFeedManager(CoreInterface* core, TQWidget * tqparent = 0);
~RssFeedManager();
public slots:
@@ -85,7 +86,7 @@ namespace kt
void deleteSelectedRejectFilter();
void updateRegExps();
- void updateMatches(const QValueList<FilterMatch>& matches);
+ void updateMatches(const TQValueList<FilterMatch>& matches);
void saveFeedList();
void saveFilterList();
@@ -102,24 +103,24 @@ namespace kt
void testTextChanged();
void testFilter();
- void setFilterTitle(const QString& title);
- void setFeedTitle(const QString& title);
+ void setFilterTitle(const TQString& title);
+ void setFeedTitle(const TQString& title);
private:
CoreInterface* m_core;
- QPtrList<RssFeed> feeds;
+ TQPtrList<RssFeed> feeds;
int currentFeed;
- QPtrList<RssFilter> acceptFilters;
+ TQPtrList<RssFilter> acceptFilters;
int currentAcceptFilter;
- QPtrList<RssFilter> rejectFilters;
+ TQPtrList<RssFilter> rejectFilters;
int currentRejectFilter;
- QString getFeedListFilename();
+ TQString getFeedListFilename();
void loadFeedList();
- QString getFilterListFilename();
+ TQString getFilterListFilename();
void loadFilterList();
bool feedListSaving;