172
172
mChanged( false )
174
174
mAddAction = new QAction( i18n( "Add Entry..." ), q );
175
q->connect( mAddAction, SIGNAL( triggered( bool ) ),
176
q, SLOT( addAcl() ) );
175
q->connect( mAddAction, SIGNAL(triggered(bool)),
178
178
mEditAction = new QAction( i18n( "Edit Entry..." ), q );
179
179
mEditAction->setEnabled( false );
180
q->connect( mEditAction, SIGNAL( triggered( bool ) ),
181
q, SLOT( editAcl() ) );
180
q->connect( mEditAction, SIGNAL(triggered(bool)),
181
q, SLOT(editAcl()) );
183
183
mDeleteAction = new QAction( i18n( "Remove Entry" ), q );
184
184
mDeleteAction->setEnabled( false );
185
q->connect( mDeleteAction, SIGNAL( triggered( bool ) ),
186
q, SLOT( deleteAcl() ) );
185
q->connect( mDeleteAction, SIGNAL(triggered(bool)),
186
q, SLOT(deleteAcl()) );
188
188
mModel = new AclModel( q );
190
190
mSelectionModel = new QItemSelectionModel( mModel );
191
q->connect( mSelectionModel, SIGNAL( selectionChanged( const QItemSelection&, const QItemSelection& ) ),
192
q, SLOT( selectionChanged() ) );
191
q->connect( mSelectionModel, SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
192
q, SLOT(selectionChanged()) );