diff options
Diffstat (limited to 'parts/documentation/docprojectconfigwidget.cpp')
-rw-r--r-- | parts/documentation/docprojectconfigwidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/documentation/docprojectconfigwidget.cpp b/parts/documentation/docprojectconfigwidget.cpp index 90950a80..a37ad5cb 100644 --- a/parts/documentation/docprojectconfigwidget.cpp +++ b/parts/documentation/docprojectconfigwidget.cpp @@ -19,8 +19,8 @@ ***************************************************************************/ #include "docprojectconfigwidget.h" -#include <qdir.h> -#include <qcombobox.h> +#include <tqdir.h> +#include <tqcombobox.h> #include <kdebug.h> #include <kurlrequester.h> @@ -33,10 +33,10 @@ #include "documentation_part.h" #include "documentation_widget.h" -DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, QWidget *parent, const char *name) +DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, TQWidget *parent, const char *name) :DocProjectConfigWidgetBase(parent, name), m_part(part) { - for (QValueList<DocumentationPlugin*>::const_iterator it = m_part->m_plugins.constBegin(); + for (TQValueList<DocumentationPlugin*>::const_iterator it = m_part->m_plugins.constBegin(); it != m_part->m_plugins.constEnd(); ++it) { if ((*it)->hasCapability(DocumentationPlugin::ProjectDocumentation)) @@ -45,7 +45,7 @@ DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, QWidget m_plugins[(*it)->pluginName()] = *it; } } - QString projectDocSystem = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docsystem"); + TQString projectDocSystem = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docsystem"); bool hasProjectDoc = false; for (int i = 0; i < docSystemCombo->count(); ++i) @@ -67,7 +67,7 @@ DocProjectConfigWidget::DocProjectConfigWidget(DocumentationPart *part, QWidget manualURL->setURL(DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/usermanualurl")); } -void DocProjectConfigWidget::changeDocSystem(const QString &text) +void DocProjectConfigWidget::changeDocSystem(const TQString &text) { if (text.isEmpty()) return; @@ -79,9 +79,9 @@ void DocProjectConfigWidget::changeDocSystem(const QString &text) catalogURL->setMode(plugin->catalogLocatorProps().first); catalogURL->setFilter(plugin->catalogLocatorProps().second); - QString projectDocURL = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docurl"); + TQString projectDocURL = DomUtil::readEntry(*(m_part->projectDom()), "/kdevdocumentation/projectdoc/docurl"); if (!projectDocURL.isEmpty()) - projectDocURL = QDir::cleanDirPath(m_part->project()->projectDirectory() + "/" + projectDocURL); + projectDocURL = TQDir::cleanDirPath(m_part->project()->projectDirectory() + "/" + projectDocURL); catalogURL->setURL(projectDocURL); catalogURL->setEnabled(true); @@ -104,7 +104,7 @@ void DocProjectConfigWidget::accept() delete m_part->m_userManualPlugin; m_part->m_userManualPlugin = 0; } - for (QValueList<DocumentationPlugin*>::const_iterator it = m_part->m_plugins.constBegin(); + for (TQValueList<DocumentationPlugin*>::const_iterator it = m_part->m_plugins.constBegin(); it != m_part->m_plugins.constEnd(); ++it) { if ((*it)->hasCapability(DocumentationPlugin::ProjectUserManual)) |