diff options
Diffstat (limited to 'knewsticker/knewsticker.h')
-rw-r--r-- | knewsticker/knewsticker.h | 28 |
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 |