diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:10:12 -0600 |
commit | 189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e (patch) | |
tree | 52d62ad83db1551dd15dc147b4af4cacaae6e850 /kuser/editGroup.cpp | |
parent | 58cb2c2c17b1e6dd48cbfbcb69ec2f50f1ced9ee (diff) | |
download | tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.tar.gz tdeadmin-189e536f1a74ecc2d9dcf35b9f5b3d54a2d1901e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kuser/editGroup.cpp')
-rw-r--r-- | kuser/editGroup.cpp | 12 |
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; } |