summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_view.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/akregator_view.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/akregator_view.h')
-rw-r--r--akregator/src/akregator_view.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/akregator/src/akregator_view.h b/akregator/src/akregator_view.h
index 4b9dcd13b..66796d428 100644
--- a/akregator/src/akregator_view.h
+++ b/akregator/src/akregator_view.h
@@ -20,8 +20,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 _AKREGATORVIEW_H_
@@ -77,18 +77,19 @@ namespace Akregator {
/**
* This is the main widget of the view, containing tree view, article list, viewer etc.
*/
- class View : public QWidget
+ class View : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/** constructor
- @param part the Akregator::Part which tqcontains this widget
- @param parent parent widget
+ @param part the Akregator::Part which contains this widget
+ @param tqparent tqparent widget
@param Actionmanager for this view
@param name the name of the widget (@ref TQWidget )
*/
- View(Akregator::Part *part, TQWidget *parent, ActionManagerImpl* actionManager, const char* name);
+ View(Akregator::Part *part, TQWidget *tqparent, ActionManagerImpl* actionManager, const char* name);
/** destructor. Note that cleanups should be done in
slotOnShutdown(), so we don't risk accessing self-deleting objects after deletion. */
@@ -103,11 +104,11 @@ namespace Akregator {
@param doc the DOM tree (OPML) of the feeds to import */
bool importFeeds(const TQDomDocument& doc);
- /** Parse OPML presentation of feeds and read in articles archive, if present. If @c parent is @c NULL, the current
- feed list is tqreplaced by the parsed one
+ /** Parse OPML presentation of feeds and read in articles archive, if present. If @c tqparent is @c NULL, the current
+ feed list is replaced by the parsed one
@param doc TQDomDocument generated from OPML
- @param parent The parent group the new nodes */
- bool loadFeeds(const TQDomDocument& doc, Folder* parent = 0);
+ @param tqparent The tqparent group the new nodes */
+ bool loadFeeds(const TQDomDocument& doc, Folder* tqparent = 0);
/**
@return the displayed Feed List in OPML format
@@ -189,7 +190,7 @@ namespace Akregator {
void slotCaptionChanged(const TQString &);
/** called when URLs are dropped into the tree view */
- void slotFeedURLDropped (KURL::List &urls, TreeNode* after, Folder *parent);
+ void slotFeedURLDropped (KURL::List &urls, TreeNode* after, Folder *tqparent);
/** displays a URL in the status bar when the user moves the mouse over a link */
void slotMouseOverInfo(const KFileItem *kifi);
@@ -271,7 +272,7 @@ namespace Akregator {
protected:
- void addFeed(const TQString& url, TreeNode* after, Folder* parent, bool autoExec = true);
+ void addFeed(const TQString& url, TreeNode* after, Folder* tqparent, bool autoExec = true);
void connectToFeedList(FeedList* feedList);
void disconnectFromFeedList(FeedList* feedList);