summaryrefslogtreecommitdiffstats
path: root/akregator/src/akregator_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/akregator_view.h')
-rw-r--r--akregator/src/akregator_view.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/akregator/src/akregator_view.h b/akregator/src/akregator_view.h
index 599f8cfd..303de0aa 100644
--- a/akregator/src/akregator_view.h
+++ b/akregator/src/akregator_view.h
@@ -27,8 +27,8 @@
#ifndef _AKREGATORVIEW_H_
#define _AKREGATORVIEW_H_
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
#include <kurl.h>
@@ -86,9 +86,9 @@ namespace Akregator {
@param part the Akregator::Part which contains this widget
@param parent parent widget
@param Actionmanager for this view
- @param name the name of the widget (@ref QWidget )
+ @param name the name of the widget (@ref TQWidget )
*/
- View(Akregator::Part *part, QWidget *parent, ActionManagerImpl* actionManager, const char* name);
+ View(Akregator::Part *part, TQWidget *parent, 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. */
@@ -101,18 +101,18 @@ namespace Akregator {
/** Adds the feeds in @c doc to the "Imported Folder"
@param doc the DOM tree (OPML) of the feeds to import */
- bool importFeeds(const QDomDocument& doc);
+ 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 replaced by the parsed one
- @param doc QDomDocument generated from OPML
+ @param doc TQDomDocument generated from OPML
@param parent The parent group the new nodes */
- bool loadFeeds(const QDomDocument& doc, Folder* parent = 0);
+ bool loadFeeds(const TQDomDocument& doc, Folder* parent = 0);
/**
@return the displayed Feed List in OPML format
*/
- QDomDocument feedListToOPML();
+ TQDomDocument feedListToOPML();
/**
Add a feed to a group.
@@ -120,7 +120,7 @@ namespace Akregator {
@param group The name of the folder into which the feed is added.
If the group does not exist, it is created. The feed is added as the last member of the group.
*/
- void addFeedToGroup(const QString& url, const QString& group);
+ void addFeedToGroup(const TQString& url, const TQString& group);
/** session management **/
virtual void readProperties(KConfig* config);
@@ -132,12 +132,12 @@ namespace Akregator {
/** emitted when the unread count of "All Feeds" was changed */
void signalUnreadCountChanged(int);
- void setWindowCaption(const QString&);
- void setStatusBarText(const QString&);
+ void setWindowCaption(const TQString&);
+ void setStatusBarText(const TQString&);
void setProgress(int);
void signalStarted(KIO::Job*);
void signalCompleted();
- void signalCanceled(const QString&);
+ void signalCanceled(const TQString&);
public slots:
@@ -150,16 +150,16 @@ namespace Akregator {
void slotArticleSelected(const Article&);
/** Shows requested popup menu for feed tree */
- void slotFeedTreeContextMenu(KListView*, TreeNode*, const QPoint&);
+ void slotFeedTreeContextMenu(KListView*, TreeNode*, const TQPoint&);
/** emits @ref signalUnreadCountChanged(int) */
void slotSetTotalUnread();
/** special behaviour in article list view (TODO: move code there?) */
- void slotMouseButtonPressed(int button, const Article& article, const QPoint & pos, int c);
+ void slotMouseButtonPressed(int button, const Article& article, const TQPoint & pos, int c);
/** opens article of @c item in external browser */
- void slotOpenArticleExternal(const Article& article, const QPoint&, int);
+ void slotOpenArticleExternal(const Article& article, const TQPoint&, int);
/** opens the current article (currentItem) in external browser
TODO: use selected instead of current? */
@@ -186,7 +186,7 @@ namespace Akregator {
void slotFrameChanged(Frame *f);
/** sets the window caption after a frame change */
- void slotCaptionChanged(const QString &);
+ void slotCaptionChanged(const TQString &);
/** called when URLs are dropped into the tree view */
void slotFeedURLDropped (KURL::List &urls, TreeNode* after, Folder *parent);
@@ -195,10 +195,10 @@ namespace Akregator {
void slotMouseOverInfo(const KFileItem *kifi);
/** sets the status bar text to a given string */
- void slotStatusText(const QString &);
+ void slotStatusText(const TQString &);
void slotStarted();
- void slotCanceled(const QString &);
+ void slotCanceled(const TQString &);
void slotCompleted();
void slotLoadingProgress(int);
@@ -271,7 +271,7 @@ namespace Akregator {
protected:
- void addFeed(const QString& url, TreeNode* after, Folder* parent, bool autoExec = true);
+ void addFeed(const TQString& url, TreeNode* after, Folder* parent, bool autoExec = true);
void connectToFeedList(FeedList* feedList);
void disconnectFromFeedList(FeedList* feedList);
@@ -282,7 +282,7 @@ namespace Akregator {
void connectFrame(Frame *);
- void setTabIcon(const QPixmap&);
+ void setTabIcon(const TQPixmap&);
void slotDoIntervalFetches();
void slotDeleteExpiredArticles();
@@ -308,29 +308,29 @@ namespace Akregator {
ArticleViewer *m_articleViewer;
TabWidget *m_tabs;
- QWidget *m_mainTab;
+ TQWidget *m_mainTab;
Frame *m_mainFrame;
Frame *m_currentFrame;
SearchBar* m_searchBar;
- QSplitter *m_articleSplitter;
- QSplitter *m_horizontalSplitter;
+ TQSplitter *m_articleSplitter;
+ TQSplitter *m_horizontalSplitter;
ListTabWidget* m_listTabWidget;
Akregator::Part *m_part;
ViewMode m_viewMode;
- QTimer *m_fetchTimer;
- QTimer* m_expiryTimer;
- QTimer *m_markReadTimer;
+ TQTimer *m_fetchTimer;
+ TQTimer* m_expiryTimer;
+ TQTimer *m_markReadTimer;
bool m_shuttingDown;
bool m_displayingAboutPage;
ActionManagerImpl* m_actionManager;
- QPixmap m_keepFlagIcon;
+ TQPixmap m_keepFlagIcon;
friend class EditNodePropertiesVisitor;
class EditNodePropertiesVisitor;
EditNodePropertiesVisitor* m_editNodePropertiesVisitor;