diff options
Diffstat (limited to 'parts/documentation/plugins/custom')
-rw-r--r-- | parts/documentation/plugins/custom/doccustomplugin.cpp | 18 | ||||
-rw-r--r-- | parts/documentation/plugins/custom/doccustomplugin.h | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/plugins/custom/doccustomplugin.cpp b/parts/documentation/plugins/custom/doccustomplugin.cpp index 9fa5ad99..ae95aff1 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.cpp +++ b/parts/documentation/plugins/custom/doccustomplugin.cpp @@ -32,7 +32,7 @@ static const KDevPluginInfo data("doccustomplugin"); typedef KDevGenericFactory<DocCustomPlugin> DocCustomPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdoccustomplugin, DocCustomPluginFactory(data) ) -DocCustomPlugin::DocCustomPlugin(QObject* parent, const char* name, const QStringList // args +DocCustomPlugin::DocCustomPlugin(TQObject* parent, const char* name, const TQStringList // args ) :DocumentationPlugin(DocCustomPluginFactory::instance()->config(), parent, name) { @@ -50,31 +50,31 @@ bool DocCustomPlugin::needRefreshIndex(DocumentationCatalogItem* // item return false; } -QString DocCustomPlugin::pluginName() const +TQString DocCustomPlugin::pluginName() const { return i18n("Custom Documentation Collection"); } -DocumentationCatalogItem* DocCustomPlugin::createCatalog(KListView* contents, const QString& title, const QString& url) +DocumentationCatalogItem* DocCustomPlugin::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> DocCustomPlugin::catalogLocatorProps() +QPair<KFile::Mode, TQString> DocCustomPlugin::catalogLocatorProps() { - return QPair<KFile::Mode, QString>(KFile::File, "all/allfiles"); + return QPair<KFile::Mode, TQString>(KFile::File, "all/allfiles"); } -QString DocCustomPlugin::catalogTitle(const QString& /*url*/) +TQString DocCustomPlugin::catalogTitle(const TQString& /*url*/) { - return QString::null; + return TQString::null; } -QStringList DocCustomPlugin::fullTextSearchLocations() +TQStringList DocCustomPlugin::fullTextSearchLocations() { - return QStringList(); + return TQStringList(); } diff --git a/parts/documentation/plugins/custom/doccustomplugin.h b/parts/documentation/plugins/custom/doccustomplugin.h index e72261a6..77bc9750 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.h +++ b/parts/documentation/plugins/custom/doccustomplugin.h @@ -24,12 +24,12 @@ class DocCustomPlugin : public DocumentationPlugin { public: - DocCustomPlugin(QObject* parent, const char* name, const QStringList args = QStringList()); + DocCustomPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocCustomPlugin(); - 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(); |