diff options
Diffstat (limited to 'parts/documentation/interfaces/kdevdocumentationplugin.h')
-rw-r--r-- | parts/documentation/interfaces/kdevdocumentationplugin.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.h b/parts/documentation/interfaces/kdevdocumentationplugin.h index 9c61e208..e5e71ca2 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.h +++ b/parts/documentation/interfaces/kdevdocumentationplugin.h @@ -32,7 +32,7 @@ /**Documentation list item. Stores the type of a documentation it represents and an URL.*/ -class DocumentationItem: public KListViewItem +class DocumentationItem: public TDEListViewItem { public: /**Type of documentation which is represented by this item.*/ @@ -43,10 +43,10 @@ public: Document /**<Document.*/ }; - DocumentationItem(Type type, KListView *parent, const TQString &name); - DocumentationItem(Type type, KListView *parent, KListViewItem *after, const TQString &name); - DocumentationItem(Type type, KListViewItem *parent, const TQString &name); - DocumentationItem(Type type, KListViewItem *parent, KListViewItem *after, const TQString &name); + DocumentationItem(Type type, TDEListView *parent, const TQString &name); + DocumentationItem(Type type, TDEListView *parent, TDEListViewItem *after, const TQString &name); + DocumentationItem(Type type, TDEListViewItem *parent, const TQString &name); + DocumentationItem(Type type, TDEListViewItem *parent, TDEListViewItem *after, const TQString &name); virtual void setURL(const KURL &url) { m_url = url; } virtual KURL url() const { return m_url; } @@ -72,7 +72,7 @@ class DocumentationPlugin; class DocumentationCatalogItem: public DocumentationItem { public: - DocumentationCatalogItem(DocumentationPlugin* plugin, KListView *parent, const TQString &name); + DocumentationCatalogItem(DocumentationPlugin* plugin, TDEListView *parent, const TQString &name); DocumentationCatalogItem(DocumentationPlugin* plugin, DocumentationItem *parent, const TQString &name); virtual ~DocumentationCatalogItem(); @@ -134,7 +134,7 @@ private: }; /**Documentation index view.*/ -class IndexBox: public KListBox{ +class IndexBox: public TDEListBox{ public: IndexBox(TQWidget *parent = 0, const char *name = 0); @@ -241,19 +241,19 @@ public: virtual TQString pluginName() const = 0; /**Creates documentation catalog with given title and url.*/ - virtual DocumentationCatalogItem *createCatalog(KListView *contents, const TQString &title, const TQString &url) = 0; + virtual DocumentationCatalogItem *createCatalog(TDEListView *contents, const TQString &title, const TQString &url) = 0; /**Initialize a list of catalogs. @param contents the listview to fill with catalogs */ - virtual void init(KListView *contents); + virtual void init(TDEListView *contents); /**Reloads a list of catalogs. This method should add missing catalogs to the view, update index for added catalogs and also delete restricted catalogs. @param contents the listview to fill with catalogs @param index the listbox with index to update @param restrictions the list of catalogs names to remove */ - virtual void reinit(KListView *contents, IndexBox *index, TQStringList restrictions); + virtual void reinit(TDEListView *contents, IndexBox *index, TQStringList restrictions); /**Initializes plugin configuration. Documentation plugins should be able to initialize the default configuration on startup without any user interaction. Call this in the constructor of your plugin.*/ @@ -296,13 +296,13 @@ public: virtual TQStringList fullTextSearchLocations() = 0; /**Loads catalog configuration and fills configurationView with ConfigurationItem objects.*/ - virtual void loadCatalogConfiguration(KListView *configurationView); + virtual void loadCatalogConfiguration(TDEListView *configurationView); /**Saves catalog configuration basing on configurationView and deletedConfigurationItems contents. If you use TDEConfig to store configuration, it is important that you call TDEConfig::sync() method after saving.*/ - virtual void saveCatalogConfiguration(KListView *configurationView); + virtual void saveCatalogConfiguration(TDEListView *configurationView); /**Adds new catalog to a configuration.*/ - virtual void addCatalogConfiguration(KListView *configurationView, + virtual void addCatalogConfiguration(TDEListView *configurationView, const TQString &title, const TQString &url); /**Edits catalog configuration.*/ virtual void editCatalogConfiguration(ConfigurationItem *configurationItem, @@ -396,7 +396,7 @@ public: virtual ~ProjectDocumentationPlugin(); /**Initializes project documentation plugin - creates documentation catalog.*/ - virtual void init(KListView *contents, IndexBox *index, const TQString &url); + virtual void init(TDEListView *contents, IndexBox *index, const TQString &url); /**Deinitializes project documentation plugin - removes documentation catalog.*/ virtual void deinit(); @@ -415,7 +415,7 @@ private: DocumentationPlugin::ProjectDocType m_type; class KDirWatch *m_watch; - class KListView *m_contents; + class TDEListView *m_contents; class IndexBox *m_index; TQString m_url; }; |