more code to the public API

This commit is contained in:
Uwe Rathmann 2017-10-23 10:19:49 +02:00
parent 94b6c63332
commit 68125cfc7e
2 changed files with 5 additions and 5 deletions

View File

@ -60,9 +60,9 @@ int QskShortcutHandler::addShortcut( QQuickWindow* window, const QKeySequence& k
if ( window )
id = map().addShortcut( window, key, Qt::WindowShortcut, contextMatcher );
else
id = map().addShortcut( this, key, Qt::ApplicationShortcut, contextMatcher );
id = map().addShortcut( this, key, Qt::ApplicationShortcut, contextMatcher );
InvokeData& data = m_invokeDataMap[id];
InvokeData& data = m_invokeDataMap[ id ];
data.receiver = receiver;
data.method = method;
data.connectionType = connectionType;

View File

@ -66,6 +66,9 @@ public:
static QSGNode* updateGraphicNode( const QskSkinnable*, QSGNode*,
const QskGraphic&, const QskColorFilter&, const QRectF& );
static QSGNode* updateBoxClipNode( const QskSkinnable*, QSGNode*,
const QRectF&, QskAspect::Subcontrol );
protected:
void setNodeRoles( const QVector< quint8 >& );
void appendNodeRoles( const QVector< quint8 >& );
@ -85,9 +88,6 @@ protected:
QSGNode* updateBoxClipNode( const QskSkinnable*, QSGNode*,
QskAspect::Subcontrol ) const;
static QSGNode* updateBoxClipNode( const QskSkinnable*, QSGNode*,
const QRectF&, QskAspect::Subcontrol );
QSGNode* updateTextNode( const QskSkinnable*, QSGNode*,
const QString&, const QskTextOptions&, QskAspect::Subcontrol ) const;