diff options
Diffstat (limited to 'kexi/widget/tableview/kexitableedit.cpp')
-rw-r--r-- | kexi/widget/tableview/kexitableedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/tableview/kexitableedit.cpp b/kexi/widget/tableview/kexitableedit.cpp index e531b814..68991f49 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 <tqpalette.h> +#include <palette.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 (!tqlayout()) { //if there is tqlayout (eg. KexiInputTableEdit), resize is automatic + if (!layout()) { //if there is layout (eg. KexiInputTableEdit), resize is automatic m_view->move(0,0); m_view->resize(w, h); } |