summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexidatatable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexidatatable.cpp')
-rw-r--r--kexi/widget/kexidatatable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/kexidatatable.cpp b/kexi/widget/kexidatatable.cpp
index db75e010..09680b14 100644
--- a/kexi/widget/kexidatatable.cpp
+++ b/kexi/widget/kexidatatable.cpp
@@ -20,7 +20,7 @@
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <kiconloader.h>
@@ -42,10 +42,10 @@ KexiDataTable::KexiDataTable(KexiMainWindow *mainWin, TQWidget *parent,
KexiTableView *view;
if (dbAware)
view = new KexiDataTableView(this,
- TQString("%1_datatableview").arg(name ? name : "KexiDataTableView").latin1());
+ TQString("%1_datatableview").tqarg(name ? name : "KexiDataTableView").latin1());
else
view = new KexiTableView(0, this,
- TQString("%1_tableview").arg(name ? name : "KexiTableView").latin1());
+ TQString("%1_tableview").tqarg(name ? name : "KexiTableView").latin1());
KexiDataAwareView::init( view, view, view );
}