From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knewsticker/knewsticker.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'knewsticker/knewsticker.h') 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 -#include +#include #include #include @@ -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 -- cgit v1.2.1