summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexifieldlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexifieldlistview.cpp')
-rw-r--r--kexi/widget/kexifieldlistview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/kexifieldlistview.cpp b/kexi/widget/kexifieldlistview.cpp
index 07a3f4ab..fe81b9eb 100644
--- a/kexi/widget/kexifieldlistview.cpp
+++ b/kexi/widget/kexifieldlistview.cpp
@@ -43,7 +43,7 @@
#include <kexiutils/utils.h>
KexiFieldListView::KexiFieldListView(TQWidget *parent, const char *name, int options)
- : KListView(parent, name)
+ : TDEListView(parent, name)
, m_schema(0)
, m_keyIcon(SmallIcon("key"))
, m_noIcon(KexiUtils::emptyIcon(KIcon::Small))
@@ -87,7 +87,7 @@ void KexiFieldListView::setSchema(KexiDB::TableOrQuerySchema* schema)
int order=0;
bool hasPKeys = true; //t->hasPrimaryKeys();
- KListViewItem *item = 0;
+ TDEListViewItem *item = 0;
KexiDB::QueryColumnInfo::Vector columns = m_schema->columns(true /*unique*/);
const int count = columns.count();
for(int i=-1; i < count; i++)
@@ -96,12 +96,12 @@ void KexiFieldListView::setSchema(KexiDB::TableOrQuerySchema* schema)
if (i==-1) {
if (! (m_options & ShowAsterisk))
continue;
- item = new KListViewItem(this, item, i18n("* (All Columns)"));
+ item = new TDEListViewItem(this, item, i18n("* (All Columns)"));
m_allColumnsItem = item;
}
else {
colinfo = columns[i];
- item = new KListViewItem(this, item, colinfo->aliasOrName());
+ item = new TDEListViewItem(this, item, colinfo->aliasOrName());
if (m_options & ShowDataTypes)
item->setText(1, colinfo->field->typeName());
}