summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexidialogbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexidialogbase.cpp')
-rw-r--r--kexi/core/kexidialogbase.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/core/kexidialogbase.cpp b/kexi/core/kexidialogbase.cpp
index 67e81a5d..ff642741 100644
--- a/kexi/core/kexidialogbase.cpp
+++ b/kexi/core/kexidialogbase.cpp
@@ -117,20 +117,20 @@ void KexiDialogBase::removeView(int mode)
m_openedViewModes ^= mode;
}
-TQSize KexiDialogBase::minimumSizeHint() const
+TQSize KexiDialogBase::tqminimumSizeHint() const
{
KexiViewBase *v = selectedView();
if (!v)
- return KMdiChildView::minimumSizeHint();
- return v->minimumSizeHint() + TQSize(0, mdiParent() ? mdiParent()->captionHeight() : 0);
+ return KMdiChildView::tqminimumSizeHint();
+ return v->tqminimumSizeHint() + TQSize(0, mdiParent() ? mdiParent()->captionHeight() : 0);
}
-TQSize KexiDialogBase::sizeHint() const
+TQSize KexiDialogBase::tqsizeHint() const
{
KexiViewBase *v = selectedView();
if (!v)
- return KMdiChildView::sizeHint();
- return v->preferredSizeHint( v->sizeHint() );
+ return KMdiChildView::tqsizeHint();
+ return v->preferredSizeHint( v->tqsizeHint() );
}
/*
@@ -377,9 +377,9 @@ tristate KexiDialogBase::switchToViewMode( int newViewMode, TQMap<TQString,TQStr
delete newView;
kdDebug() << "Switching to mode " << newViewMode << " failed. Previous mode "
<< prevViewMode << " restored." << endl;
- const Kexi::ObjectStatus status(*this);
- setStatus(mainWin()->project()->dbConnection(),
- i18n("Switching to other view failed (%1).").arg(Kexi::nameForViewMode(newViewMode)),"");
+ const Kexi::ObjecttqStatus status(*this);
+ settqStatus(mainWin()->project()->dbConnection(),
+ i18n("Switching to other view failed (%1).").tqarg(Kexi::nameForViewMode(newViewMode)),"");
append( status );
m_currentViewMode = prevViewMode;
return false;
@@ -517,7 +517,7 @@ tristate KexiDialogBase::storeNewData()
if (cancel)
return cancelled;
if (!m_schemaData) {
- setStatus(m_parentWindow->project()->dbConnection(), i18n("Saving object's definition failed."),"");
+ settqStatus(m_parentWindow->project()->dbConnection(), i18n("Saving object's definition failed."),"");
return false;
}
@@ -594,7 +594,7 @@ tristate KexiDialogBase::storeData(bool dontAsk)
return false;
#define storeData_ERR \
- setStatus(m_parentWindow->project()->dbConnection(), i18n("Saving object's data failed."),"");
+ settqStatus(m_parentWindow->project()->dbConnection(), i18n("Saving object's data failed."),"");
//save changes using transaction
KexiDB::Transaction transaction = m_parentWindow->project()->dbConnection()->beginTransaction();
@@ -624,8 +624,8 @@ tristate KexiDialogBase::storeData(bool dontAsk)
void KexiDialogBase::activate()
{
KexiViewBase *v = selectedView();
- //kdDebug() << "focusWidget(): " << focusWidget()->name() << endl;
- if (KexiUtils::hasParent( TQT_TQOBJECT(v), TQT_TQOBJECT(KMdiChildView::focusedChildWidget())))//focusWidget()))
+ //kdDebug() << "tqfocusWidget(): " << tqfocusWidget()->name() << endl;
+ if (KexiUtils::hasParent( TQT_TQOBJECT(v), TQT_TQOBJECT(KMdiChildView::focusedChildWidget())))//tqfocusWidget()))
KMdiChildView::activate();
else {//ah, focused widget is not in this view, move focus:
if (v)