This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Connections { | |
target: AppActions | |
onOpenItem: { | |
/// Create new window and open item | |
} | |
onAskToRemoveItem: { | |
/// Open a dialog | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.2 | |
pragma Singleton | |
QtObject { | |
signal openItem(id) | |
signal removeItem(id) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef QQMLOBJECTLISTMODEL_H | |
#define QQMLOBJECTLISTMODEL_H | |
#include "qqmlmodels.h" | |
#include <QByteArray> | |
#include <QChar> | |
#include <QDebug> | |
#include <QHash> | |
#include <QList> | |
#include <QMetaMethod> |