summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/queries/kexiquerydesignerguieditor.cpp')
-rw-r--r--kexi/plugins/queries/kexiquerydesignerguieditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
index be16b70d..e215ab90 100644
--- a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
+++ b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
@@ -139,8 +139,8 @@ static bool sortingAllowed(const TQString& fieldName, const TQString& tableName)
//=========================================================
KexiQueryDesignerGuiEditor::KexiQueryDesignerGuiEditor(
- KexiMainWindow *mainWin, TQWidget *tqparent, const char *name)
- : KexiViewBase(mainWin, tqparent, name)
+ KexiMainWindow *mainWin, TQWidget *parent, const char *name)
+ : KexiViewBase(mainWin, parent, name)
, d( new Private() )
{
d->conn = mainWin->project()->dbConnection();
@@ -916,8 +916,8 @@ void KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(
if (!criteriaArgument) {//try table.field
criteriaArgument = criterias[tableName+"."+fieldName];
}
- if (criteriaArgument) {//criteria expression is just a tqparent of argument
- criteriaExpr = criteriaArgument->tqparent()->toBinary();
+ if (criteriaArgument) {//criteria expression is just a parent of argument
+ criteriaExpr = criteriaArgument->parent()->toBinary();
usedCriterias.insert(criteriaArgument, (char*)1); //save info. about used criteria
}
}
@@ -1002,7 +1002,7 @@ void KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(
if (usedCriterias[it.current()])
continue;
//unused: append a new row
- KexiDB::BinaryExpr *criteriaExpr = criteriaArgument->tqparent()->toBinary();
+ KexiDB::BinaryExpr *criteriaExpr = criteriaArgument->parent()->toBinary();
if (!criteriaExpr) {
kexipluginswarn << "KexiQueryDesignerGuiEditor::showFieldsOrRelationsForQueryInternal(): "
"criteriaExpr is not a binary expr" << endl;