diff options
Diffstat (limited to 'kexi/widget/kexibrowseritem.cpp')
-rw-r--r-- | kexi/widget/kexibrowseritem.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/kexibrowseritem.cpp b/kexi/widget/kexibrowseritem.cpp index 24f1d46c..99b80095 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 *tqparent, KexiPart::Info *i) - : KListViewItem(tqparent, i->groupName()) +KexiBrowserItem::KexiBrowserItem(KListView *parent, KexiPart::Info *i) + : KListViewItem(parent, i->groupName()) , m_info(i) , m_item(0) { @@ -36,8 +36,8 @@ KexiBrowserItem::KexiBrowserItem(KListView *tqparent, KexiPart::Info *i) m_fifoSorting = 1; //because this is top level item } -KexiBrowserItem::KexiBrowserItem(KListViewItem *tqparent, KexiPart::Info *i, KexiPart::Item *item) - : KListViewItem(tqparent, item->name()) +KexiBrowserItem::KexiBrowserItem(KListViewItem *parent, KexiPart::Info *i, KexiPart::Item *item) + : KListViewItem(parent, item->name()) , m_info(i) , m_item(item) { @@ -45,8 +45,8 @@ KexiBrowserItem::KexiBrowserItem(KListViewItem *tqparent, KexiPart::Info *i, Kex initItem(); } -KexiBrowserItem::KexiBrowserItem(KListView *tqparent, KexiPart::Info *i, KexiPart::Item *item) - : KListViewItem(tqparent, item->name()) +KexiBrowserItem::KexiBrowserItem(KListView *parent, KexiPart::Info *i, KexiPart::Item *item) + : KListViewItem(parent, 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 (tqparent()) { - sortKey = tqparent()->childCount(); + if (parent()) { + sortKey = parent()->childCount(); } else if (listView()) { sortKey = listView()->childCount(); } |