summaryrefslogtreecommitdiffstats
path: root/kexi/widget/relations/kexirelationwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/relations/kexirelationwidget.cpp')
-rw-r--r--kexi/widget/relations/kexirelationwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/relations/kexirelationwidget.cpp b/kexi/widget/relations/kexirelationwidget.cpp
index 4b952163..0ff65f38 100644
--- a/kexi/widget/relations/kexirelationwidget.cpp
+++ b/kexi/widget/relations/kexirelationwidget.cpp
@@ -21,7 +21,7 @@
#include "kexirelationwidget.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlistbox.h>
#include <tqpushbutton.h>
#include <tqtimer.h>
@@ -59,7 +59,7 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent,
m_tableCombo->setInsertionPolicy(TQComboBox::NoInsertion);
hlyr->addWidget(lbl);
hlyr->addWidget(m_tableCombo);
- m_tableCombo->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred));
+ m_tableCombo->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Preferred));
fillTablesCombo();
m_btnAdd = new KPushButton(i18n("&Add"), this);
@@ -302,9 +302,9 @@ void KexiRelationWidget::designSelectedTable()
Kexi::DesignViewMode, openingCancelled);
}
-TQSize KexiRelationWidget::tqsizeHint() const
+TQSize KexiRelationWidget::sizeHint() const
{
- return m_relationView->tqsizeHint();
+ return m_relationView->sizeHint();
}
void KexiRelationWidget::slotTableHidden(KexiDB::TableSchema &table)