From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/plugins/queries/kexiquerydesignersql.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kexi/plugins/queries/kexiquerydesignersql.cpp') diff --git a/kexi/plugins/queries/kexiquerydesignersql.cpp b/kexi/plugins/queries/kexiquerydesignersql.cpp index 36455837..e6eb9835 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(tqparentDialog()->schemaData()); + query = dynamic_cast(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(tqparentDialog()->tempData()); + return dynamic_cast(parentDialog()->tempData()); } KexiDB::SchemaData* -- cgit v1.2.1