Question: I have two classes ("Startup.java" and "Book.java"). 
My goal is to print all object(s) from "Book.java".
To call the `view()` method, I initialized a new 'book-object'. The problem is:
if I call "book.view", it print's '0nullnull0' (I know, it's because of the constructor), I have no idea how to fix it. Here you can see the code:

```
package array;

import java.util.*;

public class Startup{

    public static void main(String[] args) {
        Book book = new Book(0, null, null, 0);
        book.view();
    }

package array;

public class Book {

    private int number;
    private String title;
    private String language;
    private int price;

    public Book(int number, String title, String language, int price) {
        this.number = number;
        this.title = title;
        this.language = language;
        this.price = price;
    }

    public void add() {
        Book b1 = new Book(1, "title", "de", 2);
    }

    public void view() {
        System.out.println(number + title + language + price);
    }
}

```

Answer: 
I found out: 

```
shortcut = QtWidgets.QShortcut(QtGui.QKeySequence.MoveToPreviousChar, self.button)

```

The list of actions are here: 
<http://doc.qt.io/qt-5/qkeysequence.html#StandardKey-enum>
With PySide2 something like the following should works:

```
QtWidgets.QShortcut(QtGui.QKeySequence("right"), self.button, self.magic)

```

which will directly connect the button with callback function.