diff options
Diffstat (limited to 'languages/lib/designer_integration')
-rw-r--r-- | languages/lib/designer_integration/qtdesignerintegration.cpp | 8 | ||||
-rw-r--r-- | languages/lib/designer_integration/qtdesignerintegration.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/languages/lib/designer_integration/qtdesignerintegration.cpp b/languages/lib/designer_integration/qtdesignerintegration.cpp index 43359bd1..1d9e0c01 100644 --- a/languages/lib/designer_integration/qtdesignerintegration.cpp +++ b/languages/lib/designer_integration/qtdesignerintegration.cpp @@ -53,7 +53,7 @@ void QtDesignerIntegration::addFunction(const TQString& formName, KInterfaceDesi { kdDebug() << "QtDesignerIntegration::addFunction: form: " << formName << ", function: " << function.function << endl; - if (!m_implementations.tqcontains(formName)) + if (!m_implementations.contains(formName)) if (!selectImplementation(formName)) return; @@ -139,8 +139,8 @@ void QtDesignerIntegration::openFunction(const TQString &formName, const TQStrin kdDebug() << "QtDesignerIntegration::openFunction, formName = " << formName << ", functionName = " << functionName << endl; TQString fn = functionName; - if (fn.tqfind("(") > 0) - fn.remove(fn.tqfind("("), fn.length()); + if (fn.find("(") > 0) + fn.remove(fn.find("("), fn.length()); if (!m_implementations[formName]) return; @@ -184,7 +184,7 @@ void QtDesignerIntegration::processImplementationName(TQString &// name void QtDesignerIntegration::openSource(const TQString &formName) { - if (!m_implementations.tqcontains(formName)) + if (!m_implementations.contains(formName)) if (!selectImplementation(formName)) return; TQString impl = m_implementations[formName]->fileName(); diff --git a/languages/lib/designer_integration/qtdesignerintegration.h b/languages/lib/designer_integration/qtdesignerintegration.h index aa0c0f2f..d1f72aeb 100644 --- a/languages/lib/designer_integration/qtdesignerintegration.h +++ b/languages/lib/designer_integration/qtdesignerintegration.h @@ -66,7 +66,7 @@ protected: separate files for interface and implementation parts of a class. For example, C++ language support plugin will do: @code - name.tqreplace(".h", ".cpp"); + name.replace(".h", ".cpp"); @endcode*/ virtual void processImplementationName(TQString &name); |