summaryrefslogtreecommitdiffstats
path: root/parts/documentation/interfaces/kdevdocumentationplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/interfaces/kdevdocumentationplugin.cpp')
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
index 6c6805e1..5aee560e 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp
+++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
@@ -33,30 +33,30 @@
//class DocumentationItem
-DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *parent,
+DocumentationItem::DocumentationItem(DocumentationItem::Type type, TDEListView *parent,
const TQString &name)
- :KListViewItem(parent, name), m_type(type)
+ :TDEListViewItem(parent, name), m_type(type)
{
init();
}
-DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem *parent,
+DocumentationItem::DocumentationItem(DocumentationItem::Type type, TDEListViewItem *parent,
const TQString &name)
- :KListViewItem(parent, name), m_type(type)
+ :TDEListViewItem(parent, name), m_type(type)
{
init();
}
-DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListView *parent,
- KListViewItem *after, const TQString &name)
- :KListViewItem(parent, after, name), m_type(type)
+DocumentationItem::DocumentationItem(DocumentationItem::Type type, TDEListView *parent,
+ TDEListViewItem *after, const TQString &name)
+ :TDEListViewItem(parent, after, name), m_type(type)
{
init();
}
-DocumentationItem::DocumentationItem(DocumentationItem::Type type, KListViewItem * parent,
- KListViewItem * after, const TQString & name )
- :KListViewItem(parent, after, name), m_type(type)
+DocumentationItem::DocumentationItem(DocumentationItem::Type type, TDEListViewItem * parent,
+ TDEListViewItem * after, const TQString & name )
+ :TDEListViewItem(parent, after, name), m_type(type)
{
init();
}
@@ -90,7 +90,7 @@ void DocumentationItem::init( )
DocumentationCatalogItem::DocumentationCatalogItem(DocumentationPlugin* plugin,
- KListView *parent, const TQString &name)
+ TDEListView *parent, const TQString &name)
:DocumentationItem(DocumentationItem::Catalog, parent, name), m_plugin(plugin),
isLoaded(false), isActivated(false), m_isProjectDocumentationItem(false)
{
@@ -400,7 +400,7 @@ void DocumentationPlugin::addCatalog(DocumentationCatalogItem *item)
// indexes[item] = TQValueList<IndexItem*>();
}
-void DocumentationPlugin::addCatalogConfiguration(KListView *configurationView,
+void DocumentationPlugin::addCatalogConfiguration(TDEListView *configurationView,
const TQString &title, const TQString &url)
{
new ConfigurationItem(configurationView, this, title, url,
@@ -440,7 +440,7 @@ void DocumentationPlugin::loadIndex(IndexBox *index, DocumentationCatalogItem *i
cacheIndex(item);
}
-void DocumentationPlugin::init(KListView *contents)
+void DocumentationPlugin::init(TDEListView *contents)
{
config->setGroup("Locations");
TQMap<TQString, TQString> entryMap = config->entryMap("Locations");
@@ -453,7 +453,7 @@ void DocumentationPlugin::init(KListView *contents)
}
}
-void DocumentationPlugin::reinit(KListView *contents, IndexBox *index, TQStringList restrictions)
+void DocumentationPlugin::reinit(TDEListView *contents, IndexBox *index, TQStringList restrictions)
{
config->setGroup("Locations");
TQMap<TQString, TQString> entryMap = config->entryMap("Locations");
@@ -504,7 +504,7 @@ void DocumentationPlugin::reinit(KListView *contents, IndexBox *index, TQStringL
}
}
-void DocumentationPlugin::loadCatalogConfiguration(KListView *configurationView)
+void DocumentationPlugin::loadCatalogConfiguration(TDEListView *configurationView)
{
config->setGroup("Locations");
TQMap<TQString, TQString> entryMap = config->entryMap("Locations");
@@ -529,7 +529,7 @@ void DocumentationPlugin::loadCatalogConfiguration(KListView *configurationView)
}
}
-void DocumentationPlugin::saveCatalogConfiguration(KListView *configurationView)
+void DocumentationPlugin::saveCatalogConfiguration(TDEListView *configurationView)
{
config->setGroup("Locations");
@@ -614,7 +614,7 @@ void DocumentationPlugin::setCatalogEnabled(const TQString &name, bool e)
//class IndexBox
IndexBox::IndexBox(TQWidget *parent, const char *name)
- :KListBox(parent, name), m_dirty(false)
+ :TDEListBox(parent, name), m_dirty(false)
{
}
@@ -676,7 +676,7 @@ ProjectDocumentationPlugin::~ProjectDocumentationPlugin()
deinit();
}
-void ProjectDocumentationPlugin::init(KListView *contents, IndexBox *index, const TQString &url)
+void ProjectDocumentationPlugin::init(TDEListView *contents, IndexBox *index, const TQString &url)
{
m_contents = contents;
m_index = index;