summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/knewstickerconfig.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/knewstickerconfig.h')
-rw-r--r--knewsticker/knewstickerconfig.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/knewsticker/knewstickerconfig.h b/knewsticker/knewstickerconfig.h
index ec475236..1280413d 100644
--- a/knewsticker/knewstickerconfig.h
+++ b/knewsticker/knewstickerconfig.h
@@ -17,9 +17,9 @@
#include <kdialogbase.h>
-#include <qevent.h>
-#include <qfont.h>
-#include <qlistview.h>
+#include <tqevent.h>
+#include <tqfont.h>
+#include <tqlistview.h>
class KNewsTickerConfig;
class KNewsTickerConfigWidget;
@@ -30,7 +30,7 @@ class ConfigAccess;
class CategoryItem : public QListViewItem
{
public:
- CategoryItem(QListView *, const QString &);
+ CategoryItem(TQListView *, const TQString &);
void setOpen(bool);
};
@@ -42,12 +42,12 @@ class NewsSourceItem : public QCheckListItem
NewsSourceBase::Data data() const;
void setData(const NewsSourceBase::Data &);
- void setIcon(const QPixmap &);
+ void setIcon(const TQPixmap &);
- QListViewItem *parentItem() { return QCheckListItem::parent(); }
+ TQListViewItem *parentItem() { return TQCheckListItem::parent(); }
private:
- QString m_icon;
+ TQString m_icon;
bool m_isProgram;
NewsSourceBase::Subject m_subject;
CategoryItem *m_parent;
@@ -59,7 +59,7 @@ class KNewsTickerConfig : public KDialogBase
Q_OBJECT
friend class NewsSourceItem;
public:
- KNewsTickerConfig(ConfigAccess *, QWidget * = 0, const char * = 0);
+ KNewsTickerConfig(ConfigAccess *, TQWidget * = 0, const char * = 0);
void load();
void save();
@@ -67,17 +67,17 @@ class KNewsTickerConfig : public KDialogBase
protected:
void addNewsSource(const NewsSourceBase::Data &, bool = false);
- void modifyNewsSource(QListViewItem *);
+ void modifyNewsSource(TQListViewItem *);
void removeNewsSource();
void addFilter(const ArticleFilter &);
- void removeFilter(QListViewItem *);
- void resizeEvent(QResizeEvent *);
+ void removeFilter(TQListViewItem *);
+ void resizeEvent(TQResizeEvent *);
void openModifyDialog();
- bool eventFilter(QObject *o, QEvent *e);
+ bool eventFilter(TQObject *o, TQEvent *e);
void getNewsIcon(NewsSourceItem *, const KURL &);
protected slots:
- void slotNewsSourceContextMenu(KListView *, QListViewItem *, const QPoint &);
+ void slotNewsSourceContextMenu(KListView *, TQListViewItem *, const TQPoint &);
void slotChooseFont();
void slotAddNewsSource();
void slotAddFilter();
@@ -86,25 +86,25 @@ class KNewsTickerConfig : public KDialogBase
void slotRemoveFilter();
void slotModifyNewsSource();
void slotModifyNewsSource(const NewsSourceBase::Data &);
- void slotModifyNewsSource(QListViewItem *, const QPoint &, int);
+ void slotModifyNewsSource(TQListViewItem *, const TQPoint &, int);
void slotNewsSourceSelectionChanged();
- void slotFilterSelectionChanged(QListViewItem *);
- void slotFilterActionChanged(const QString &);
- void slotFilterNewsSourceChanged(const QString &);
- void slotFilterConditionChanged(const QString &);
- void slotFilterExpressionChanged(const QString &);
+ void slotFilterSelectionChanged(TQListViewItem *);
+ void slotFilterActionChanged(const TQString &);
+ void slotFilterNewsSourceChanged(const TQString &);
+ void slotFilterConditionChanged(const TQString &);
+ void slotFilterExpressionChanged(const TQString &);
virtual void slotOk();
private slots:
- void slotGotNewsIcon(const KURL &, const QPixmap &);
+ void slotGotNewsIcon(const KURL &, const TQPixmap &);
private:
ConfigAccess *m_cfg;
KNewsTickerConfigWidget *m_child;
- QFont m_font;
+ TQFont m_font;
NewsSourceItem *m_modifyItem;
NewsIconMgr *m_newsIconMgr;
- QMap<QString, NewsSourceItem *> m_itemIconMap;
+ TQMap<TQString, NewsSourceItem *> m_itemIconMap;
};
#endif // KCMNEWSTICKER_H