Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connections {
- id: interactorConnector
- property int mode: 0
- target: interactor
- onMoveUp: {
- list1.currentIndex--
- }
- onMoveDown: {
- list1.currentIndex++
- }
- onChangeModel: {
- if (this.mode == 0) {
- list1.model = proxyModel
- mode = 1
- } else {
- list1.model = cl1.contacts
- mode = 0
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement