diff options
Diffstat (limited to 'parts/partexplorer')
-rw-r--r-- | parts/partexplorer/partexplorer_plugin.cpp | 2 | ||||
-rw-r--r-- | parts/partexplorer/partexplorerform.cpp | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/parts/partexplorer/partexplorer_plugin.cpp b/parts/partexplorer/partexplorer_plugin.cpp index bf2c9ddc..b0bd82b1 100644 --- a/parts/partexplorer/partexplorer_plugin.cpp +++ b/parts/partexplorer/partexplorer_plugin.cpp @@ -40,7 +40,7 @@ PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, con m_widget = new PartExplorerForm( mainWindow()->main() ); // mainWindow()->embedSelectView( m_widget, i18n("PartExplorer"), i18n("Query system services")); - KAction *action = new KAction( i18n("&Part Explorer"), 0, this, TQT_SLOT(slotShowForm()), + TDEAction *action = new TDEAction( i18n("&Part Explorer"), 0, this, TQT_SLOT(slotShowForm()), actionCollection(), "show_partexplorerform" ); action->setToolTip(i18n("TDETrader query execution")); action->setWhatsThis(i18n("<b>Part explorer</b><p>Shows a dialog for TDETrader query execution. Search your TDE documentation for more information about TDE services and TDETrader.")); 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 ) |