summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewsticker.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/knewsticker.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/knewsticker.h')
-rw-r--r--knewsticker/knewsticker.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/knewsticker/knewsticker.h b/knewsticker/knewsticker.h
index bbb228f6..081918d7 100644
--- a/knewsticker/knewsticker.h
+++ b/knewsticker/knewsticker.h
@@ -17,7 +17,7 @@
#include <dcopobject.h>
-#include <qtoolbutton.h>
+#include <tqtoolbutton.h>
#include <kpanelapplet.h>
#include <kpopupmenu.h>
@@ -43,7 +43,7 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
friend class KNewsTickerMenu;
public:
- KNewsTicker(const QString &, Type, int, QWidget * = 0, const char * = 0);
+ KNewsTicker(const TQString &, Type, int, TQWidget * = 0, const char * = 0);
virtual ~KNewsTicker();
virtual int widthForHeight(int) const;
@@ -62,10 +62,10 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
virtual bool underlineHighlighted() const { return m_cfg->underlineHighlighted(); }
virtual bool showIcons() const { return m_cfg->showIcons(); }
virtual bool slowedScrolling() const { return m_cfg->slowedScrolling(); }
- virtual QColor foregroundColor() const { return m_cfg->foregroundColor(); }
- virtual QColor backgroundColor() const { return m_cfg->backgroundColor(); }
- virtual QColor highlightedColor() const { return m_cfg->highlightedColor(); }
- virtual QStringList newsSources() const { return m_cfg->newsSources(); }
+ virtual TQColor foregroundColor() const { return m_cfg->foregroundColor(); }
+ virtual TQColor backgroundColor() const { return m_cfg->backgroundColor(); }
+ virtual TQColor highlightedColor() const { return m_cfg->highlightedColor(); }
+ virtual TQStringList newsSources() const { return m_cfg->newsSources(); }
virtual void setInterval(const uint);
virtual void setScrollingSpeed(const uint);
virtual void setMouseWheelSpeed(const uint);
@@ -76,10 +76,10 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
virtual void setUnderlineHighlighted(bool);
virtual void setShowIcons(bool);
virtual void setSlowedScrolling(bool);
- virtual void setForegroundColor(const QColor &);
- virtual void setBackgroundColor(const QColor &);
- virtual void setHighlightedColor(const QColor &);
- virtual void setNewsSources(const QStringList &) {}
+ virtual void setForegroundColor(const TQColor &);
+ virtual void setBackgroundColor(const TQColor &);
+ virtual void setHighlightedColor(const TQColor &);
+ virtual void setNewsSources(const TQStringList &) {}
public slots:
void slotUpdateNews();
@@ -90,7 +90,7 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
virtual void about();
virtual void help();
virtual void reportBug();
- virtual void mousePressEvent(QMouseEvent *);
+ virtual void mousePressEvent(TQMouseEvent *);
virtual void positionChange(Position);
protected slots:
@@ -107,8 +107,8 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
DCOPClient *m_dcopClient;
ConfigAccess *m_cfg;
KArrowButton *m_arrowButton;
- QTimer *m_newsTimer;
- QTimer *m_updateTimer;
+ TQTimer *m_newsTimer;
+ TQTimer *m_updateTimer;
NewsIconMgr *m_newsIconMgr;
NewsScroller *m_scroller;
KAboutData *m_aboutData;
@@ -116,7 +116,7 @@ class KNewsTicker : public KPanelApplet, virtual public ConfigIface,
bool m_newNews;
NewsSourceBase::List m_newsSources;
QStringList m_failedNewsUpdates;
- QStringList m_pendingNewsUpdates;
+ TQStringList m_pendingNewsUpdates;
};
class KNewsTickerMenu : public KPopupMenu