summaryrefslogtreecommitdiffstats
path: root/kuser/kgroupvw.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kuser/kgroupvw.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
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
Diffstat (limited to 'kuser/kgroupvw.cpp')
-rw-r--r--kuser/kgroupvw.cpp16
1 files changed, 8 insertions, 8 deletions
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 );
}