summaryrefslogtreecommitdiffstats
path: root/languages/lib/designer_integration/implementationwidget.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 /languages/lib/designer_integration/implementationwidget.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 'languages/lib/designer_integration/implementationwidget.cpp')
-rw-r--r--languages/lib/designer_integration/implementationwidget.cpp28
1 files changed, 14 insertions, 14 deletions
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 <qfileinfo.h>
-#include <qtextstream.h>
-#include <qfile.h>
-#include <qdir.h>
-#include <qregexp.h>
-#include <qdom.h>
-#include <qradiobutton.h>
+#include <tqfileinfo.h>
+#include <tqtextstream.h>
+#include <tqfile.h>
+#include <tqdir.h>
+#include <tqregexp.h>
+#include <tqdom.h>
+#include <tqradiobutton.h>
#include <klineedit.h>
#include <klocale.h>
@@ -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"