diff options
Diffstat (limited to 'parts/documentation/plugins/pdb')
-rw-r--r-- | parts/documentation/plugins/pdb/docpdbplugin.cpp | 18 | ||||
-rw-r--r-- | parts/documentation/plugins/pdb/docpdbplugin.h | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/plugins/pdb/docpdbplugin.cpp b/parts/documentation/plugins/pdb/docpdbplugin.cpp index 901eeffe..8fdc4643 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.cpp +++ b/parts/documentation/plugins/pdb/docpdbplugin.cpp @@ -31,7 +31,7 @@ static const KAboutData data("docpdbplugin", I18N_NOOP("PalmDoc documentation pl typedef KDevGenericFactory<DocPDBPlugin> DocPDBPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocpdbplugin, DocPDBPluginFactory(&data) ) -DocPDBPlugin::DocPDBPlugin(QObject* parent, const char* name, const QStringList args) +DocPDBPlugin::DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args) :DocumentationPlugin(DocPDBPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); @@ -47,31 +47,31 @@ bool DocPDBPlugin::needRefreshIndex(DocumentationCatalogItem* item) return false; } -QString DocPDBPlugin::pluginName() const +TQString DocPDBPlugin::pluginName() const { return i18n("PalmDoc Documentation Collection"); } -DocumentationCatalogItem* DocPDBPlugin::createCatalog(KListView* contents, const QString& title, const QString& url) +DocumentationCatalogItem* DocPDBPlugin::createCatalog(KListView* contents, const TQString& title, const TQString& url) { DocumentationCatalogItem *item = new DocumentationCatalogItem(this, contents, title); item->setURL(KURL(url)); return item; } -QPair<KFile::Mode, QString> DocPDBPlugin::catalogLocatorProps() +QPair<KFile::Mode, TQString> DocPDBPlugin::catalogLocatorProps() { - return QPair<KFile::Mode, QString>(KFile::File, "all/allfiles"); + return QPair<KFile::Mode, TQString>(KFile::File, "all/allfiles"); } -QString DocPDBPlugin::catalogTitle(const QString& /*url*/) +TQString DocPDBPlugin::catalogTitle(const TQString& /*url*/) { - return QString::null; + return TQString::null; } -QStringList DocPDBPlugin::fullTextSearchLocations() +TQStringList DocPDBPlugin::fullTextSearchLocations() { - return QStringList(); + return TQStringList(); } diff --git a/parts/documentation/plugins/pdb/docpdbplugin.h b/parts/documentation/plugins/pdb/docpdbplugin.h index f639e0cf..b9544a7b 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.h +++ b/parts/documentation/plugins/pdb/docpdbplugin.h @@ -24,12 +24,12 @@ class DocPDBPlugin : public DocumentationPlugin { public: - DocPDBPlugin(QObject* parent, const char* name, const QStringList args = QStringList()); + DocPDBPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocPDBPlugin(); - virtual QString pluginName() const; + virtual TQString pluginName() const; - virtual DocumentationCatalogItem* createCatalog(KListView* contents, const QString& title, const QString& url); + virtual DocumentationCatalogItem* createCatalog(KListView* contents, const TQString& title, const TQString& url); virtual void createTOC(DocumentationCatalogItem* item); virtual void setCatalogURL(DocumentationCatalogItem* item); @@ -37,10 +37,10 @@ public: virtual bool needRefreshIndex(DocumentationCatalogItem* item); virtual void createIndex(IndexBox* index, DocumentationCatalogItem* item); - virtual QStringList fullTextSearchLocations(); + virtual TQStringList fullTextSearchLocations(); - virtual QPair<KFile::Mode, QString> catalogLocatorProps(); - virtual QString catalogTitle(const QString& url); + virtual QPair<KFile::Mode, TQString> catalogLocatorProps(); + virtual TQString catalogTitle(const TQString& url); virtual void autoSetupPlugin(); |