summaryrefslogtreecommitdiffstats
path: root/dcoprss
diff options
context:
space:
mode:
Diffstat (limited to 'dcoprss')
-rw-r--r--dcoprss/feedbrowser.cpp14
-rw-r--r--dcoprss/feedbrowser.h8
2 files changed, 11 insertions, 11 deletions
diff --git a/dcoprss/feedbrowser.cpp b/dcoprss/feedbrowser.cpp
index 1e853055..00c49838 100644
--- a/dcoprss/feedbrowser.cpp
+++ b/dcoprss/feedbrowser.cpp
@@ -13,15 +13,15 @@
#include <tqdatastream.h>
#include <tqvbox.h>
-CategoryItem::CategoryItem( KListView *parent, const TQString &category )
- : KListViewItem( parent ),
+CategoryItem::CategoryItem( TDEListView *parent, const TQString &category )
+ : TDEListViewItem( parent ),
m_category( category )
{
init();
}
-CategoryItem::CategoryItem( KListViewItem *parent, const TQString &category )
- : KListViewItem( parent ),
+CategoryItem::CategoryItem( TDEListViewItem *parent, const TQString &category )
+ : TDEListViewItem( parent ),
m_category( category )
{
init();
@@ -41,7 +41,7 @@ void CategoryItem::setOpen( bool open )
populate();
m_populated = true;
}
- KListViewItem::setOpen( open );
+ TDEListViewItem::setOpen( open );
}
void CategoryItem::populate()
@@ -63,7 +63,7 @@ void CategoryItem::gotCategories( const TQStringList &categories )
new CategoryItem( this, *it );
if ( !categories.isEmpty() )
- KListViewItem::setOpen( true );
+ TDEListViewItem::setOpen( true );
}
DCOPRSSIface::DCOPRSSIface( TQObject *parent, const char *name ) :
@@ -97,7 +97,7 @@ FeedBrowserDlg::FeedBrowserDlg( TQWidget *parent, const char *name )
TQVBox *mainWidget = makeVBoxMainWidget();
- m_feedList = new KListView( mainWidget, "m_feedList" );
+ m_feedList = new TDEListView( mainWidget, "m_feedList" );
m_feedList->setAllColumnsShowFocus( true );
m_feedList->setRootIsDecorated( true );
m_feedList->addColumn( i18n( "Name" ) );
diff --git a/dcoprss/feedbrowser.h b/dcoprss/feedbrowser.h
index 5d5344ab..00745006 100644
--- a/dcoprss/feedbrowser.h
+++ b/dcoprss/feedbrowser.h
@@ -24,13 +24,13 @@ class DCOPRSSIface : public TQObject, public DCOPObject
void gotCategories( const TQStringList &categories );
};
-class CategoryItem : public TQObject, public KListViewItem
+class CategoryItem : public TQObject, public TDEListViewItem
{
Q_OBJECT
//
public:
- CategoryItem( KListView *parent, const TQString &category );
- CategoryItem( KListViewItem *parent, const TQString &category );
+ CategoryItem( TDEListView *parent, const TQString &category );
+ CategoryItem( TDEListViewItem *parent, const TQString &category );
virtual void setOpen( bool open );
@@ -62,7 +62,7 @@ class FeedBrowserDlg : public KDialogBase
void getTopCategories();
DCOPRSSIface *m_dcopIface;
- KListView *m_feedList;
+ TDEListView *m_feedList;
};
#endif // FEEDBROWSER_H