summaryrefslogtreecommitdiffstats
path: root/languages/lib/designer_integration
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 19:08:25 +0000
commite9be34de5fe62ce92c1d4cad63d03be76e9beb8d (patch)
treeb41889ff9d6b950124134560ccbcecc78493a452 /languages/lib/designer_integration
parent48d4a26399959121f33d2bc3bfe51c7827b654fc (diff)
downloadtdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.tar.gz
tdevelop-e9be34de5fe62ce92c1d4cad63d03be76e9beb8d.zip
Fix kdevelop Qt3 compilation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237312 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/lib/designer_integration')
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.cpp32
-rw-r--r--languages/lib/designer_integration/qtdesignerintegration.h6
2 files changed, 19 insertions, 19 deletions
diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp
index f46bd422..43359bd1 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.cpp
+++ b/languages/lib/designer_integration/qtdesignerintegration.cpp
@@ -38,20 +38,20 @@
#include "codemodel_utils.h"
#include "implementationwidget.h"
-TQtDesignerIntegration::TQtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl, bool classHasDefinitions, const char* name)
+QtDesignerIntegration::QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl, bool classHasDefinitions, const char* name)
:KDevDesignerIntegration(part, name), m_part(part), m_impl(impl),
m_classHasDefinitions(classHasDefinitions)
{
}
-TQtDesignerIntegration::~TQtDesignerIntegration()
+QtDesignerIntegration::~QtDesignerIntegration()
{
delete m_impl;
}
-void TQtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesigner::Function function)
{
- kdDebug() << "TQtDesignerIntegration::addFunction: form: " << formName << ", function: " << function.function << endl;
+ kdDebug() << "QtDesignerIntegration::addFunction: form: " << formName << ", function: " << function.function << endl;
if (!m_implementations.tqcontains(formName))
if (!selectImplementation(formName))
@@ -67,19 +67,19 @@ void TQtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDes
addFunctionToClass(function, klass);
}
-void TQtDesignerIntegration::editFunction(const TQString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::editFunction(const TQString& formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)
{
- kdDebug() << "TQtDesignerIntegration::editFunction: form: " << formName
+ kdDebug() << "QtDesignerIntegration::editFunction: form: " << formName
<< ", old function: " << oldFunction.function
<< ", function: " << function.function << endl;
}
-void TQtDesignerIntegration::removeFunction(const TQString& formName, KInterfaceDesigner::Function function)
+void QtDesignerIntegration::removeFunction(const TQString& formName, KInterfaceDesigner::Function function)
{
- kdDebug() << "TQtDesignerIntegration::removeFunction: form: " << formName << ", function: " << function.function << endl;
+ kdDebug() << "QtDesignerIntegration::removeFunction: form: " << formName << ", function: " << function.function << endl;
}
-bool TQtDesignerIntegration::selectImplementation(const TQString &formName)
+bool QtDesignerIntegration::selectImplementation(const TQString &formName)
{
TQFileInfo fi(formName);
if (!fi.exists())
@@ -93,7 +93,7 @@ bool TQtDesignerIntegration::selectImplementation(const TQString &formName)
return false;
}
-void TQtDesignerIntegration::loadSettings(TQDomDocument dom, TQString path)
+void QtDesignerIntegration::loadSettings(TQDomDocument dom, TQString path)
{
TQDomElement el = DomUtil::elementByPath(dom, path + "/qtdesigner");
if (el.isNull())
@@ -117,9 +117,9 @@ void TQtDesignerIntegration::loadSettings(TQDomDocument dom, TQString path)
}
}
-void TQtDesignerIntegration::saveSettings(TQDomDocument dom, TQString path)
+void QtDesignerIntegration::saveSettings(TQDomDocument dom, TQString path)
{
- kdDebug() << "TQtDesignerIntegration::saveSettings" << endl;
+ kdDebug() << "QtDesignerIntegration::saveSettings" << endl;
TQDomElement el = DomUtil::createElementByPath(dom, path + "/qtdesigner");
for (TQMap<TQString, ClassDom>::const_iterator it = m_implementations.begin();
it != m_implementations.end(); ++it)
@@ -134,9 +134,9 @@ void TQtDesignerIntegration::saveSettings(TQDomDocument dom, TQString path)
}
}
-void TQtDesignerIntegration::openFunction(const TQString &formName, const TQString &functionName)
+void QtDesignerIntegration::openFunction(const TQString &formName, const TQString &functionName)
{
- kdDebug() << "TQtDesignerIntegration::openFunction, formName = " << formName
+ kdDebug() << "QtDesignerIntegration::openFunction, formName = " << formName
<< ", functionName = " << functionName << endl;
TQString fn = functionName;
if (fn.tqfind("(") > 0)
@@ -177,12 +177,12 @@ void TQtDesignerIntegration::openFunction(const TQString &formName, const TQStri
m_part->partController()->editDocument(KURL(impl), line, col);
}
-void TQtDesignerIntegration::processImplementationName(TQString &// name
+void QtDesignerIntegration::processImplementationName(TQString &// name
)
{
}
-void TQtDesignerIntegration::openSource(const TQString &formName)
+void QtDesignerIntegration::openSource(const TQString &formName)
{
if (!m_implementations.tqcontains(formName))
if (!selectImplementation(formName))
diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h
index 9a750fbd..aa0c0f2f 100644
--- a/languages/lib/designer_integration/qtdesignerintegration.h
+++ b/languages/lib/designer_integration/qtdesignerintegration.h
@@ -35,14 +35,14 @@ Ready to use in KDevelop language support plugins.
Subclasses of this class should reimplement only pure virtual functions in the common case.
*/
-class TQtDesignerIntegration : public KDevDesignerIntegration
+class QtDesignerIntegration : public KDevDesignerIntegration
{
Q_OBJECT
TQ_OBJECT
public:
- TQtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl,
+ QtDesignerIntegration(KDevLanguageSupport *part, ImplementationWidget *impl,
bool classHasDefinitions, const char* name = 0);
- virtual ~TQtDesignerIntegration();
+ virtual ~QtDesignerIntegration();
public slots:
virtual void addFunction(const TQString& formName, KInterfaceDesigner::Function function);