diff options
Diffstat (limited to 'parts/partexplorer/partexplorerform.cpp')
-rw-r--r-- | parts/partexplorer/partexplorerform.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/partexplorer/partexplorerform.cpp b/parts/partexplorer/partexplorerform.cpp index b7e970cf..8cff1f57 100644 --- a/parts/partexplorer/partexplorerform.cpp +++ b/parts/partexplorer/partexplorerform.cpp @@ -32,12 +32,12 @@ /////////////////////////////////////////////////////////////////////////////// namespace PartExplorer{ -class PropertyItem : public KListViewItem +class PropertyItem : public TDEListViewItem { public: - PropertyItem( KListViewItem *parent, const TQString &propertyName, + PropertyItem( TDEListViewItem *parent, const TQString &propertyName, const TQString &propertyType, const TQString &propertyValue ) - : KListViewItem( parent ) + : TDEListViewItem( parent ) { setText( 0, propertyName ); setText( 1, propertyType ); @@ -68,11 +68,11 @@ private: ResultsList* m_resultsList; }; -class ResultsList : public KListView +class ResultsList : public TDEListView { public: ResultsList( TQWidget *parent ) - : KListView( parent, "resultslist" ) + : TDEListView( parent, "resultslist" ) { this->setShowToolTips( false ); new ResultsToolTip( this ); @@ -82,7 +82,7 @@ public: void clear() { - KListView::clear(); + TDEListView::clear(); } }; @@ -197,13 +197,13 @@ void PartExplorerForm::fillServiceList( const TDETrader::OfferList &services ) this->m_resultsList->setRootIsDecorated( true ); - KListViewItem *rootItem = 0; + TDEListViewItem *rootItem = 0; TDETrader::OfferList::ConstIterator it = services.begin(); for ( ; it != services.end(); ++it ) { KService::Ptr service = (*it); - KListViewItem *serviceItem = new KListViewItem( this->m_resultsList, rootItem, service->name() ); + TDEListViewItem *serviceItem = new TDEListViewItem( this->m_resultsList, rootItem, service->name() ); TQStringList propertyNames = service->propertyNames(); for ( TQStringList::const_iterator it = propertyNames.begin(); it != propertyNames.end(); ++it ) |