summaryrefslogtreecommitdiffstats
path: root/knewsticker/knewstickerconfig.h
diff options
context:
space:
mode:
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