summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexibrowseritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexibrowseritem.cpp')
-rw-r--r--kexi/widget/kexibrowseritem.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/widget/kexibrowseritem.cpp b/kexi/widget/kexibrowseritem.cpp
index 087039f06..24f1d46c6 100644
--- a/kexi/widget/kexibrowseritem.cpp
+++ b/kexi/widget/kexibrowseritem.cpp
@@ -24,8 +24,8 @@
#include <kiconloader.h>
#include <core/kexipartinfo.h>
-KexiBrowserItem::KexiBrowserItem(KListView *parent, KexiPart::Info *i)
- : KListViewItem(parent, i->groupName())
+KexiBrowserItem::KexiBrowserItem(KListView *tqparent, KexiPart::Info *i)
+ : KListViewItem(tqparent, i->groupName())
, m_info(i)
, m_item(0)
{
@@ -36,8 +36,8 @@ KexiBrowserItem::KexiBrowserItem(KListView *parent, KexiPart::Info *i)
m_fifoSorting = 1; //because this is top level item
}
-KexiBrowserItem::KexiBrowserItem(KListViewItem *parent, KexiPart::Info *i, KexiPart::Item *item)
- : KListViewItem(parent, item->name())
+KexiBrowserItem::KexiBrowserItem(KListViewItem *tqparent, KexiPart::Info *i, KexiPart::Item *item)
+ : KListViewItem(tqparent, item->name())
, m_info(i)
, m_item(item)
{
@@ -45,8 +45,8 @@ KexiBrowserItem::KexiBrowserItem(KListViewItem *parent, KexiPart::Info *i, KexiP
initItem();
}
-KexiBrowserItem::KexiBrowserItem(KListView *parent, KexiPart::Info *i, KexiPart::Item *item)
- : KListViewItem(parent, item->name())
+KexiBrowserItem::KexiBrowserItem(KListView *tqparent, KexiPart::Info *i, KexiPart::Item *item)
+ : KListViewItem(tqparent, item->name())
, m_info(i)
, m_item(item)
{
@@ -63,8 +63,8 @@ void KexiBrowserItem::initItem()
m_fifoSorting = 0;
int sortKey = 0;
// set sorting key with FIFO order
- if (parent()) {
- sortKey = parent()->childCount();
+ if (tqparent()) {
+ sortKey = tqparent()->childCount();
} else if (listView()) {
sortKey = listView()->childCount();
}
@@ -83,7 +83,7 @@ KexiBrowserItem::clearChildren()
}
}
-QString KexiBrowserItem::key( int column, bool ascending ) const
+TQString KexiBrowserItem::key( int column, bool ascending ) const
{
// kdDebug() << "KexiBrowserItem::key() : " << (m_fifoSorting ? m_sortKey : KListViewItem::key(column,ascending)) << endl;
return m_fifoSorting ? m_sortKey : KListViewItem::key(column,ascending);