From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../designer_integration/implementationwidget.cpp | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'languages/lib/designer_integration/implementationwidget.cpp') diff --git a/languages/lib/designer_integration/implementationwidget.cpp b/languages/lib/designer_integration/implementationwidget.cpp index 5e958bfa..c961657b 100644 --- a/languages/lib/designer_integration/implementationwidget.cpp +++ b/languages/lib/designer_integration/implementationwidget.cpp @@ -19,13 +19,13 @@ ***************************************************************************/ #include "implementationwidget.h" -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -61,12 +61,12 @@ private: }; } -ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, QWidget* parent, const char* name, bool modal) +ImplementationWidget::ImplementationWidget(KDevLanguageSupport *part, TQWidget* parent, const char* name, bool modal) :CreateImplemenationWidgetBase(parent, name, modal), m_part(part) { } -void ImplementationWidget::init(const QString &formName) +void ImplementationWidget::init(const TQString &formName) { m_formName = formName; @@ -74,7 +74,7 @@ void ImplementationWidget::init(const QString &formName) fileNameEdit->clear(); classNameEdit->clear(); - QDomDocument doc; + TQDomDocument doc; DomUtil::openDOMFile(doc, m_formName); m_baseClassName = DomUtil::elementByPathExt(doc, "class").text(); setCaption(i18n("Create or Select Implementation Class for: %1").arg(m_baseClassName)); @@ -106,7 +106,7 @@ ImplementationWidget::~ImplementationWidget() } /*$SPECIALIZATION$*/ -void ImplementationWidget::classNameChanged(const QString &text) +void ImplementationWidget::classNameChanged(const TQString &text) { fileNameEdit->setText(text.lower()); } @@ -134,7 +134,7 @@ void ImplementationWidget::accept() return; m_selectedClass = item->dom(); } - QDialog::accept(); + TQDialog::accept(); } ClassDom ImplementationWidget::selectedClass() @@ -148,10 +148,10 @@ bool ImplementationWidget::createClass() return true; } -int ImplementationWidget::exec(const QString &formName) +int ImplementationWidget::exec(const TQString &formName) { init(formName); - return QDialog::exec(); + return TQDialog::exec(); } #include "implementationwidget.moc" -- cgit v1.2.1