summaryrefslogtreecommitdiffstats
path: root/kommander/editor/functionsimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/functionsimpl.cpp')
-rw-r--r--kommander/editor/functionsimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/editor/functionsimpl.cpp b/kommander/editor/functionsimpl.cpp
index 37ae23ab..c1c3f41d 100644
--- a/kommander/editor/functionsimpl.cpp
+++ b/kommander/editor/functionsimpl.cpp
@@ -279,7 +279,7 @@ void FunctionsDialog::showParameters()
combos[i]->setShown(false);
edits[i]->setShown(i < argsCount);
edits[i]->clear();
- if (type == TQSTRING_OBJECT_NAME_STRING)
+ if (type == "TQString")
{
quotes[i]->setShown(i < argsCount);
}
@@ -336,7 +336,7 @@ void FunctionsDialog::showParameters()
combos[i]->setShown(false);
edits[i]->setShown(i < argsCount);
edits[i]->clear();
- if (m_function.argumentType(i) == TQSTRING_OBJECT_NAME_STRING)
+ if (m_function.argumentType(i) == "TQString")
{
quotes[i]->setShown(i < argsCount);
}
@@ -362,8 +362,8 @@ TQString FunctionsDialog::params()
TQString s = edits[i]->text();
if (!s.isEmpty() || i < m_function.minArg())
{
- if (quotes[i]->isChecked() && ( (!slotsShown && m_function.argumentType(i) == TQSTRING_OBJECT_NAME_STRING)
- || (slotsShown && labels[i]->text().startsWith(TQSTRING_OBJECT_NAME_STRING)) ) )
+ if (quotes[i]->isChecked() && ( (!slotsShown && m_function.argumentType(i) == "TQString")
+ || (slotsShown && labels[i]->text().startsWith("TQString")) ) )
s = '"' + s + '"';
pars.append(s);
}