summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/pdf')
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.cpp18
-rw-r--r--parts/documentation/plugins/pdf/docpdfplugin.h12
2 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/plugins/pdf/docpdfplugin.cpp b/parts/documentation/plugins/pdf/docpdfplugin.cpp
index 5d8b7a78..79dab511 100644
--- a/parts/documentation/plugins/pdf/docpdfplugin.cpp
+++ b/parts/documentation/plugins/pdf/docpdfplugin.cpp
@@ -31,7 +31,7 @@ static const KAboutData data("docpdfplugin", I18N_NOOP("PDF documentation plugin
typedef KDevGenericFactory<DocPDFPlugin> DocPDFPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libdocpdfplugin, DocPDFPluginFactory(&data) )
-DocPDFPlugin::DocPDFPlugin(QObject* parent, const char* name, const QStringList args)
+DocPDFPlugin::DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args)
:DocumentationPlugin(DocPDFPluginFactory::instance()->config(), parent, name)
{
setCapabilities(CustomDocumentationTitles | ProjectUserManual);
@@ -47,31 +47,31 @@ bool DocPDFPlugin::needRefreshIndex(DocumentationCatalogItem* item)
return false;
}
-QString DocPDFPlugin::pluginName() const
+TQString DocPDFPlugin::pluginName() const
{
return i18n("PDF Documentation Collection");
}
-DocumentationCatalogItem* DocPDFPlugin::createCatalog(KListView* contents, const QString& title, const QString& url)
+DocumentationCatalogItem* DocPDFPlugin::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> DocPDFPlugin::catalogLocatorProps()
+QPair<KFile::Mode, TQString> DocPDFPlugin::catalogLocatorProps()
{
- return QPair<KFile::Mode, QString>(KFile::File, "*.pdf");
+ return QPair<KFile::Mode, TQString>(KFile::File, "*.pdf");
}
-QString DocPDFPlugin::catalogTitle(const QString& /*url*/)
+TQString DocPDFPlugin::catalogTitle(const TQString& /*url*/)
{
- return QString::null;
+ return TQString::null;
}
-QStringList DocPDFPlugin::fullTextSearchLocations()
+TQStringList DocPDFPlugin::fullTextSearchLocations()
{
- return QStringList();
+ return TQStringList();
}
diff --git a/parts/documentation/plugins/pdf/docpdfplugin.h b/parts/documentation/plugins/pdf/docpdfplugin.h
index c78325d4..b7e8b26b 100644
--- a/parts/documentation/plugins/pdf/docpdfplugin.h
+++ b/parts/documentation/plugins/pdf/docpdfplugin.h
@@ -24,12 +24,12 @@
class DocPDFPlugin : public DocumentationPlugin {
public:
- DocPDFPlugin(QObject* parent, const char* name, const QStringList args = QStringList());
+ DocPDFPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList());
~DocPDFPlugin();
- 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();