diff options
Diffstat (limited to 'parts/documentation/plugins/djvu')
-rw-r--r-- | parts/documentation/plugins/djvu/docdjvuplugin.cpp | 18 | ||||
-rw-r--r-- | parts/documentation/plugins/djvu/docdjvuplugin.h | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.cpp b/parts/documentation/plugins/djvu/docdjvuplugin.cpp index 2dcaae62..f9761155 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.cpp +++ b/parts/documentation/plugins/djvu/docdjvuplugin.cpp @@ -31,7 +31,7 @@ static const KAboutData data("docdjvuplugin", I18N_NOOP("Djvu documentation plug typedef KDevGenericFactory<DocDjvuPlugin> DocDjvuPluginFactory; K_EXPORT_COMPONENT_FACTORY( libdocdjvuplugin, DocDjvuPluginFactory(&data) ) -DocDjvuPlugin::DocDjvuPlugin(QObject* parent, const char* name, const QStringList args) +DocDjvuPlugin::DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args) :DocumentationPlugin(DocDjvuPluginFactory::instance()->config(), parent, name) { setCapabilities(CustomDocumentationTitles | ProjectUserManual); @@ -47,31 +47,31 @@ bool DocDjvuPlugin::needRefreshIndex(DocumentationCatalogItem* item) return false; } -QString DocDjvuPlugin::pluginName() const +TQString DocDjvuPlugin::pluginName() const { return i18n("Djvu Documentation Collection"); } -DocumentationCatalogItem* DocDjvuPlugin::createCatalog(KListView* contents, const QString& title, const QString& url) +DocumentationCatalogItem* DocDjvuPlugin::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> DocDjvuPlugin::catalogLocatorProps() +QPair<KFile::Mode, TQString> DocDjvuPlugin::catalogLocatorProps() { - return QPair<KFile::Mode, QString>(KFile::File, "all/allfiles"); + return QPair<KFile::Mode, TQString>(KFile::File, "all/allfiles"); } -QString DocDjvuPlugin::catalogTitle(const QString& /*url*/) +TQString DocDjvuPlugin::catalogTitle(const TQString& /*url*/) { - return QString::null; + return TQString::null; } -QStringList DocDjvuPlugin::fullTextSearchLocations() +TQStringList DocDjvuPlugin::fullTextSearchLocations() { - return QStringList(); + return TQStringList(); } diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.h b/parts/documentation/plugins/djvu/docdjvuplugin.h index e9fdb30a..05689bd8 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.h +++ b/parts/documentation/plugins/djvu/docdjvuplugin.h @@ -24,12 +24,12 @@ class DocDjvuPlugin : public DocumentationPlugin { public: - DocDjvuPlugin(QObject* parent, const char* name, const QStringList args = QStringList()); + DocDjvuPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~DocDjvuPlugin(); - 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(); |