diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
commit | 9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch) | |
tree | 68a0c0d5bc770fc58596b8c5624cdf33d8625027 /dcoprss | |
parent | 2e53bd0b77676f879fad7baeecea5879bf496a7d (diff) | |
download | tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'dcoprss')
-rw-r--r-- | dcoprss/feedbrowser.cpp | 14 | ||||
-rw-r--r-- | dcoprss/feedbrowser.h | 8 |
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 |