summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/newsticker/nspanel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/sidebar/newsticker/nspanel.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/sidebar/newsticker/nspanel.h')
-rw-r--r--konq-plugins/sidebar/newsticker/nspanel.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/konq-plugins/sidebar/newsticker/nspanel.h b/konq-plugins/sidebar/newsticker/nspanel.h
index 0f30152..1f60947 100644
--- a/konq-plugins/sidebar/newsticker/nspanel.h
+++ b/konq-plugins/sidebar/newsticker/nspanel.h
@@ -25,9 +25,9 @@
#ifndef _konq_sidebar_news_nspanelh_
#define _konq_sidebar_news_nspanelh_
-#include <qstring.h>
-#include <qpixmap.h>
-#include <qtooltip.h>
+#include <tqstring.h>
+#include <tqpixmap.h>
+#include <tqtooltip.h>
#include <dcopref.h>
#include <dcopobject.h>
#include <kio/job.h>
@@ -42,38 +42,38 @@ namespace KSB_News {
////////////////////////////////////////////////////////////////
// ListBox including ToolTip for item
////////////////////////////////////////////////////////////////
- class TTListBox : public KListBox, QToolTip {
+ class TTListBox : public KListBox, TQToolTip {
public:
- TTListBox (QWidget *parent = 0, const char *name = 0, WFlags f = 0);
+ TTListBox (TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
void clear();
protected:
- virtual void maybeTip(const QPoint &);
+ virtual void maybeTip(const TQPoint &);
};
- class NSPanel : public QObject, public DCOPObject {
+ class NSPanel : public TQObject, public DCOPObject {
Q_OBJECT
K_DCOP
public:
- NSPanel(QObject *parent, const char *name, const QString &key,
+ NSPanel(TQObject *parent, const char *name, const TQString &key,
DCOPRef *rssservice);
~NSPanel();
- void setTitle(const QString &tit);
+ void setTitle(const TQString &tit);
void setListbox(TTListBox *lb);
- void setPixmap(const QPixmap &pm);
- void setPixmapBuffer(QBuffer *buf);
+ void setPixmap(const TQPixmap &pm);
+ void setPixmapBuffer(TQBuffer *buf);
void setJob(KIO::Job *kio_job);
TTListBox *listbox() const;
- QPixmap pixmap();
- QString key() const;
- QString title() const;
- QStringList articles();
- QStringList articleLinks();
+ TQPixmap pixmap();
+ TQString key() const;
+ TQString title() const;
+ TQStringList articles();
+ TQStringList articleLinks();
bool isValid() const;
k_dcop:
@@ -83,15 +83,15 @@ namespace KSB_News {
private:
DCOPRef *m_rssservice;
DCOPRef m_rssdocument;
- QString m_key;
- QString m_title;
+ TQString m_key;
+ TQString m_title;
TTListBox *m_listbox;
- QPixmap m_pixmap;
+ TQPixmap m_pixmap;
int m_count;
- QStringList m_articles; // TODO: use proper container
- QStringList m_articlelinks; // TODO: use proper container
+ TQStringList m_articles; // TODO: use proper container
+ TQStringList m_articlelinks; // TODO: use proper container
int m_timeoutinterval;
- QTimer *m_timer;
+ TQTimer *m_timer;
bool m_isValid;
signals: