From b09bffed6b43262948018dfb0f11890850ddf7c1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 18 Jun 2011 20:34:22 +0000 Subject: TQt4 port kdeadmin This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kuser/kgroupvw.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kuser/kgroupvw.cpp') diff --git a/kuser/kgroupvw.cpp b/kuser/kgroupvw.cpp index 76af939..8a1daca 100644 --- a/kuser/kgroupvw.cpp +++ b/kuser/kgroupvw.cpp @@ -24,8 +24,8 @@ #include "kgroupvw.h" -KGroupViewItem::KGroupViewItem(KListView *parent, KU::KGroup *aku) - : KListViewItem(parent), mGroup(aku) +KGroupViewItem::KGroupViewItem(KListView *tqparent, KU::KGroup *aku) + : KListViewItem(tqparent), mGroup(aku) { } @@ -60,9 +60,9 @@ TQString KGroupViewItem::text(int num) const case 0: return TQString::number(mGroup->getGID()); case 1: return mGroup->getName(); case 2: return ( mGroup->getCaps() & KU::KGroup::Cap_Samba ) ? - mGroup->getSID().getDOM() : TQString::null; + mGroup->getSID().getDOM() : TQString(); case 3: return ( mGroup->getCaps() & KU::KGroup::Cap_Samba ) ? - TQString::number( mGroup->getSID().getRID() ) : TQString::null; + TQString::number( mGroup->getSID().getRID() ) : TQString(); case 4: { if ( mGroup->getCaps() & KU::KGroup::Cap_Samba ) { switch ( mGroup->getType() ) { @@ -72,18 +72,18 @@ TQString KGroupViewItem::text(int num) const default: return i18n("Unknown"); } } else { - return TQString::null; + return TQString(); } } case 5: return mGroup->getDisplayName(); case 6: return mGroup->getDesc(); } - return TQString::null; + return TQString(); } -KGroupView::KGroupView(TQWidget *parent, const char *name) - : KListView( parent, name ) +KGroupView::KGroupView(TQWidget *tqparent, const char *name) + : KListView( tqparent, name ) { setSelectionMode( TQListView::Extended ); } -- cgit v1.2.1