diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/documentation/plugins/custom/doccustomplugin.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/documentation/plugins/custom/doccustomplugin.cpp')
-rw-r--r-- | parts/documentation/plugins/custom/doccustomplugin.cpp | 18 |
1 files changed, 9 insertions, 9 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(); } |