diff options
Diffstat (limited to 'kontact/plugins/newsticker/kcmkontactknt.cpp')
-rw-r--r-- | kontact/plugins/newsticker/kcmkontactknt.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp index 18a8871e6..7c3d05875 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.cpp +++ b/kontact/plugins/newsticker/kcmkontactknt.cpp @@ -153,22 +153,22 @@ KCMKontactKNT::KCMKontactKNT( TQWidget *tqparent, const char *name ) void KCMKontactKNT::loadNews() { - TQValueVector<TQListViewItem*> tqparents; + TQValueVector<TQListViewItem*> parents; TQValueVector<TQListViewItem*>::Iterator it; - tqparents.append( new TQListViewItem( mAllNews, i18n( "Arts" ) ) ); - tqparents.append( new TQListViewItem( mAllNews, i18n( "Business" ) ) ); - tqparents.append( new TQListViewItem( mAllNews, i18n( "Computers" ) ) ); - tqparents.append( new TQListViewItem( mAllNews, i18n( "Misc" ) ) ); - tqparents.append( new TQListViewItem( mAllNews, i18n( "Recreation" ) ) ); - tqparents.append( new TQListViewItem( mAllNews, i18n( "Society" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Arts" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Business" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Computers" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Misc" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Recreation" ) ) ); + parents.append( new TQListViewItem( mAllNews, i18n( "Society" ) ) ); - for ( it = tqparents.begin(); it != tqparents.end(); ++it ) + for ( it = parents.begin(); it != parents.end(); ++it ) (*it)->setSelectable( false ); for ( int i = 0; i < DEFAULT_NEWSSOURCES; ++i ) { NewsSourceData data = NewsSourceDefault[ i ]; - new NewsItem( tqparents[ data.category() ], data.name(), data.url(), false ); + new NewsItem( parents[ data.category() ], data.name(), data.url(), false ); mFeedMap.insert( data.url(), data.name() ); } } |