import QtQuick 1.1 import com.nokia.meego 1.0 QueryDialog { id: dialog function deleteRemote() { // do stuff console.log("Remote deleted"); } titleText: qsTr("Delete remote?") acceptButtonText: qsTr("Yes") rejectButtonText: qsTr("No") message: <remote_name> onAccepted: deleteRemote() }