summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexitableedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/tableview/kexitableedit.cpp')
-rw-r--r--kexi/widget/tableview/kexitableedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexitableedit.cpp b/kexi/widget/tableview/kexitableedit.cpp
index 68991f49..e531b814 100644
--- a/kexi/widget/tableview/kexitableedit.cpp
+++ b/kexi/widget/tableview/kexitableedit.cpp
@@ -23,7 +23,7 @@
#include <kexidb/field.h>
#include <kexidb/utils.h>
-#include <palette.h>
+#include <tqpalette.h>
#include <tqpainter.h>
#include <kglobal.h>
@@ -101,7 +101,7 @@ void KexiTableEdit::resize(int w, int h)
{
TQWidget::resize(w, h);
if (m_view) {
- if (!layout()) { //if there is layout (eg. KexiInputTableEdit), resize is automatic
+ if (!tqlayout()) { //if there is tqlayout (eg. KexiInputTableEdit), resize is automatic
m_view->move(0,0);
m_view->resize(w, h);
}