diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kontact/plugins/newsticker/summarywidget.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact/plugins/newsticker/summarywidget.h')
-rw-r--r-- | kontact/plugins/newsticker/summarywidget.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kontact/plugins/newsticker/summarywidget.h b/kontact/plugins/newsticker/summarywidget.h index ad914334b..d6cdefa0e 100644 --- a/kontact/plugins/newsticker/summarywidget.h +++ b/kontact/plugins/newsticker/summarywidget.h @@ -27,10 +27,10 @@ #include <dcopobject.h> #include <dcopref.h> -#include <qmap.h> -#include <qptrlist.h> -#include <qtimer.h> -#include <qwidget.h> +#include <tqmap.h> +#include <tqptrlist.h> +#include <tqtimer.h> +#include <tqwidget.h> #include "summary.h" #include <kurl.h> @@ -41,17 +41,17 @@ class QLabel; class DCOPRef; class KURLLabel; -typedef QValueList< QPair<QString, KURL> > ArticleMap; +typedef TQValueList< QPair<TQString, KURL> > ArticleMap; typedef struct { DCOPRef ref; - QString title; - QString url; - QPixmap logo; + TQString title; + TQString url; + TQPixmap logo; ArticleMap map; } Feed; -typedef QValueList<Feed> FeedList; +typedef TQValueList<Feed> FeedList; class SummaryWidget : public Kontact::Summary, public DCOPObject { @@ -59,10 +59,10 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject K_DCOP public: - SummaryWidget( QWidget *parent, const char *name = 0 ); + SummaryWidget( TQWidget *parent, const char *name = 0 ); int summaryHeight() const; - QStringList configModules() const; + TQStringList configModules() const; k_dcop: /** @@ -72,11 +72,11 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject /** * Inform the newsticker summary widget that a feed has been added. */ - void documentAdded( QString ); + void documentAdded( TQString ); /** * Inform the newsticker summary widget that a feed has been removed. */ - void documentRemoved( QString ); + void documentRemoved( TQString ); /** * Inform the newsticker summary widget that an error occurred while updating a feed. * @param ref DCOPRef to the failing RSSDocument. @@ -90,23 +90,23 @@ class SummaryWidget : public Kontact::Summary, public DCOPObject protected slots: void updateDocuments(); - void rmbMenu( const QString& ); + void rmbMenu( const TQString& ); protected: - virtual bool eventFilter( QObject *obj, QEvent *e ); + virtual bool eventFilter( TQObject *obj, TQEvent *e ); void initDocuments(); void updateView(); void readConfig(); private: - QVBoxLayout *mLayout; - QWidget* mBaseWidget; + TQVBoxLayout *mLayout; + TQWidget* mBaseWidget; - QPtrList<QLabel> mLabels; + TQPtrList<TQLabel> mLabels; FeedList mFeeds; - QTimer mTimer; + TQTimer mTimer; int mUpdateInterval; int mArticleCount; uint mFeedCounter; |