From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kontact/plugins/newsticker/kcmkontactknt.cpp | 6 +++--- kontact/plugins/newsticker/kcmkontactknt.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kontact/plugins/newsticker') diff --git a/kontact/plugins/newsticker/kcmkontactknt.cpp b/kontact/plugins/newsticker/kcmkontactknt.cpp index 958959667..ce433d053 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.cpp +++ b/kontact/plugins/newsticker/kcmkontactknt.cpp @@ -146,7 +146,7 @@ KCMKontactKNT::KCMKontactKNT( TQWidget *parent, const char *name ) connect( mNewButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( newFeed() ) ); connect( mDeleteButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deleteFeed() ) ); - KAcceleratorManager::manage( this ); + TDEAcceleratorManager::manage( this ); load(); } @@ -334,7 +334,7 @@ void KCMKontactKNT::initGUI() TQGridLayout *layout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint() ); - mAllNews = new KListView( this ); + mAllNews = new TDEListView( this ); mAllNews->addColumn( i18n( "All" ) ); mAllNews->setRootIsDecorated( true ); mAllNews->setFullWidth( true ); @@ -351,7 +351,7 @@ void KCMKontactKNT::initGUI() vbox->addWidget( mRemoveButton ); vbox->addStretch(); - mSelectedNews = new KListView( this ); + mSelectedNews = new TDEListView( this ); mSelectedNews->addColumn( i18n( "Selected" ) ); mSelectedNews->setFullWidth( true ); layout->addWidget( mSelectedNews, 0, 2 ); diff --git a/kontact/plugins/newsticker/kcmkontactknt.h b/kontact/plugins/newsticker/kcmkontactknt.h index cd3cbf0ee..a44cae7fb 100644 --- a/kontact/plugins/newsticker/kcmkontactknt.h +++ b/kontact/plugins/newsticker/kcmkontactknt.h @@ -30,7 +30,7 @@ class TQListViewItem; class TQSpinxBox; class TDEAboutData; -class KListView; +class TDEListView; class KPushButton; class NewsItem; @@ -68,8 +68,8 @@ class KCMKontactKNT : public TDECModule bool dcopActive() const; - KListView *mAllNews; - KListView *mSelectedNews; + TDEListView *mAllNews; + TDEListView *mSelectedNews; TQListViewItem *mCustomItem; KPushButton *mAddButton; -- cgit v1.2.1