diff options
Diffstat (limited to 'parts/documentation/addcatalogdlg.cpp')
-rw-r--r-- | parts/documentation/addcatalogdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/parts/documentation/addcatalogdlg.cpp b/parts/documentation/addcatalogdlg.cpp index 867f6f6b..21913089 100644 --- a/parts/documentation/addcatalogdlg.cpp +++ b/parts/documentation/addcatalogdlg.cpp @@ -20,8 +20,8 @@ #include "addcatalogdlg.h" -#include <qlabel.h> -#include <qcombobox.h> +#include <tqlabel.h> +#include <tqcombobox.h> #include <klineedit.h> #include <kurlrequester.h> @@ -31,23 +31,23 @@ #include "docutils.h" #include "kdevdocumentationplugin.h" -AddCatalogDlg::AddCatalogDlg( QValueList<DocumentationPlugin*> const & plugins, - QWidget* parent, const char* name, bool modal, WFlags fl) +AddCatalogDlg::AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, + TQWidget* parent, const char* name, bool modal, WFlags fl) :AddCatalogDlgBase(parent,name, modal,fl), m_plugins( plugins ) { - for (QValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin(); it != m_plugins.constEnd(); ++it) + for (TQValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin(); it != m_plugins.constEnd(); ++it) { docTypeCombo->insertItem( (*it)->pluginName() ); } - docTypeChanged( QString() ); + docTypeChanged( TQString() ); } AddCatalogDlg::~AddCatalogDlg() { } -void AddCatalogDlg::locationURLChanged(const QString &text) +void AddCatalogDlg::locationURLChanged(const TQString &text) { DocumentationPlugin * plugin = this->plugin(); if ( !plugin ) return; @@ -57,32 +57,32 @@ void AddCatalogDlg::locationURLChanged(const QString &text) void AddCatalogDlg::accept() { - QDialog::accept(); + TQDialog::accept(); } -QString AddCatalogDlg::title() const +TQString AddCatalogDlg::title() const { return titleEdit->text(); } -QString AddCatalogDlg::url() const +TQString AddCatalogDlg::url() const { return DocUtils::envURL(locationURL); } -void AddCatalogDlg::setTitle(const QString &title) +void AddCatalogDlg::setTitle(const TQString &title) { titleEdit->setText(title); } -void AddCatalogDlg::setURL(const QString &url) +void AddCatalogDlg::setURL(const TQString &url) { locationURL->setURL(url); } DocumentationPlugin * AddCatalogDlg::plugin( ) { - for (QValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin(); it != m_plugins.constEnd(); ++it) + for (TQValueList<DocumentationPlugin*>::const_iterator it = m_plugins.constBegin(); it != m_plugins.constEnd(); ++it) { if ( docTypeCombo->currentText() == (*it)->pluginName() ) { @@ -92,7 +92,7 @@ DocumentationPlugin * AddCatalogDlg::plugin( ) return 0; } -void AddCatalogDlg::docTypeChanged( const QString & ) +void AddCatalogDlg::docTypeChanged( const TQString & ) { kdDebug() << k_funcinfo << endl; |