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.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
index e215ab90..c6708e7f 100644
--- a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
+++ b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
@@ -193,8 +193,8 @@ KexiQueryDesignerGuiEditor::KexiQueryDesignerGuiEditor(
addChildView(d->relations);
addChildView(d->dataTable);
setViewWidget(d->dataTable, true);
- d->relations->tqsetSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding);
- d->head->tqsetSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding);
+ d->relations->setSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding);
+ d->head->setSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding);
updateGeometry();
d->spl->setSizes(TQValueList<int>()<< 800<<400);
}
@@ -624,7 +624,7 @@ KexiQueryDesignerGuiEditor::afterSwitchFrom(int mode)
if (!m_dialog->neverSaved()) {
if (!loadLayout()) {
//err msg
- parentDialog()->settqStatus(conn,
+ parentDialog()->setStatus(conn,
i18n("Query definition loading failed."),
i18n("Query design may be corrupted so it could not be opened even in text view.\n"
"You can delete the query and create it again."));
@@ -639,7 +639,7 @@ KexiQueryDesignerGuiEditor::afterSwitchFrom(int mode)
KexiDB::ResultInfo result;
showFieldsForQuery( q, result );
if (!result.success) {
- parentDialog()->settqStatus(&result, i18n("Query definition loading failed."));
+ parentDialog()->setStatus(&result, i18n("Query definition loading failed."));
tempData()->proposeOpeningInTextViewModeBecauseOfProblems = true;
return false;
}
@@ -662,7 +662,7 @@ KexiQueryDesignerGuiEditor::afterSwitchFrom(int mode)
KexiDB::ResultInfo result;
showFieldsAndRelationsForQuery( tempData()->query(), result );
if (!result.success) {
- parentDialog()->settqStatus(&result, i18n("Query definition loading failed."));
+ parentDialog()->setStatus(&result, i18n("Query definition loading failed."));
return false;
}
}
@@ -1083,7 +1083,7 @@ bool KexiQueryDesignerGuiEditor::loadLayout()
KexiDB::ResultInfo result;
showRelationsForQuery( q, result );
if (!result.success) {
- parentDialog()->settqStatus(&result, i18n("Query definition loading failed."));
+ parentDialog()->setStatus(&result, i18n("Query definition loading failed."));
return false;
}
}
@@ -1177,10 +1177,10 @@ bool KexiQueryDesignerGuiEditor::storeLayout()
return true;
}
-TQSize KexiQueryDesignerGuiEditor::tqsizeHint() const
+TQSize KexiQueryDesignerGuiEditor::sizeHint() const
{
- TQSize s1 = d->relations->tqsizeHint();
- TQSize s2 = d->head->tqsizeHint();
+ TQSize s1 = d->relations->sizeHint();
+ TQSize s2 = d->head->sizeHint();
return TQSize(TQMAX(s1.width(),s2.width()), s1.height()+s2.height());
}