summaryrefslogtreecommitdiffstats
path: root/parts/documentation/addcatalogdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/documentation/addcatalogdlg.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/addcatalogdlg.cpp')
-rw-r--r--parts/documentation/addcatalogdlg.cpp28
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;