summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/newsticker/summarywidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/newsticker/summarywidget.h')
-rw-r--r--kontact/plugins/newsticker/summarywidget.h38
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;