summaryrefslogtreecommitdiffstats
path: root/kuser/editGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/editGroup.cpp')
-rw-r--r--kuser/editGroup.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kuser/editGroup.cpp b/kuser/editGroup.cpp
index 02fce6f..b9263b4 100644
--- a/kuser/editGroup.cpp
+++ b/kuser/editGroup.cpp
@@ -158,7 +158,7 @@ editGroup::editGroup(KU::KGroup *akg, bool samba, bool add,
if ( !mAdd ) cbsamba->setChecked( !( kg->getCaps() & KU::KGroup::Cap_Samba ) );
}
- m_list_in = new KListView(page);
+ m_list_in = new TDEListView(page);
m_list_in->setFullWidth(true); // Single column, full widget width.
m_list_in->addColumn(i18n("Users in Group"));
m_list_in->setSelectionMode( TQListView::Extended );
@@ -169,7 +169,7 @@ editGroup::editGroup(KU::KGroup *akg, bool samba, bool add,
TQPushButton *btdel = new TQPushButton(i18n("Remove ->"), vbox);
layout->addWidget( vbox, 8, 1 );
- m_list_notin = new KListView(page);
+ m_list_notin = new TDEListView(page);
m_list_notin->setFullWidth(true); // Single column, full widget width.
m_list_notin->addColumn(i18n("Users NOT in Group"));
m_list_notin->setSelectionMode(TQListView::Extended);
@@ -185,10 +185,10 @@ editGroup::editGroup(KU::KGroup *akg, bool samba, bool add,
user = kug->getUsers()[i];
TQString userName = user->getName();
if ( kg->lookup_user(userName) || user->getGID() == kg->getGID() ) {
- KListViewItem *item = new KListViewItem(m_list_in, userName);
+ TDEListViewItem *item = new TDEListViewItem(m_list_in, userName);
if ( user->getGID() == kg->getGID() ) item->setSelectable( false );
} else {
- new KListViewItem(m_list_notin, userName);
+ new TDEListViewItem(m_list_notin, userName);
}
}
@@ -224,7 +224,7 @@ void editGroup::addClicked()
if ( item->isSelected() ) {
name = item->text( 0 );
delete item;
- item = new KListViewItem( m_list_in, name );
+ item = new TDEListViewItem( m_list_in, name );
}
item = next;
}
@@ -241,7 +241,7 @@ void editGroup::delClicked()
if ( item->isSelected() ) {
name = item->text( 0 );
delete item;
- item = new KListViewItem( m_list_notin, name );
+ item = new TDEListViewItem( m_list_notin, name );
}
item = next;
}