summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/queries/kexiquerydesignersql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/queries/kexiquerydesignersql.cpp')
-rw-r--r--kexi/plugins/queries/kexiquerydesignersql.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/plugins/queries/kexiquerydesignersql.cpp b/kexi/plugins/queries/kexiquerydesignersql.cpp
index 36455837f..e6eb98355 100644
--- a/kexi/plugins/queries/kexiquerydesignersql.cpp
+++ b/kexi/plugins/queries/kexiquerydesignersql.cpp
@@ -222,7 +222,7 @@ KexiQueryDesignerSQLView::beforeSwitchTo(int mode, bool &dontStore)
}
}
else {
- const bool designViewWasVisible = tqparentDialog()->viewForMode(mode)!=0;
+ const bool designViewWasVisible = parentDialog()->viewForMode(mode)!=0;
//should we check SQL text?
if (designViewWasVisible
&& !d->justSwitchedFromNoViewMode //unchanged, but we should check SQL text
@@ -274,7 +274,7 @@ KexiQueryDesignerSQLView::beforeSwitchTo(int mode, bool &dontStore)
}
setDirty(true);*/
-// if (tqparentDialog()->hasFocus())
+// if (parentDialog()->hasFocus())
d->editor->setFocus();
return true;
}
@@ -287,13 +287,13 @@ KexiQueryDesignerSQLView::afterSwitchFrom(int mode)
if (mode==Kexi::NoViewMode) {
//User opened text view _directly_.
//This flag is set to indicate for beforeSwitchTo() that even if text has not been changed,
- //SQL text should be tqinvalidated.
+ //SQL text should be invalidated.
d->justSwitchedFromNoViewMode = true;
}
KexiQueryPart::TempData * temp = tempData();
KexiDB::QuerySchema *query = temp->query();
if (!query) {//try to just get saved schema, instead of temporary one
- query = dynamic_cast<KexiDB::QuerySchema *>(tqparentDialog()->schemaData());
+ query = dynamic_cast<KexiDB::QuerySchema *>(parentDialog()->schemaData());
}
if (mode!=0/*failure only if it is switching from prev. view*/ && !query) {
@@ -441,7 +441,7 @@ void KexiQueryDesignerSQLView::slotSelectQuery()
KexiQueryPart::TempData *
KexiQueryDesignerSQLView::tempData() const
{
- return dynamic_cast<KexiQueryPart::TempData*>(tqparentDialog()->tempData());
+ return dynamic_cast<KexiQueryPart::TempData*>(parentDialog()->tempData());
}
KexiDB::SchemaData*