diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/partexplorer/partexplorerform.cpp | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
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 ) |