Commit 0f46ad9c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

ResourceEditor: Reorder member functions

First signals, then protected and private.

Change-Id: Ieed013bb35785542e10e697c1a1dc135c0c94cce
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 604a937f
...@@ -89,14 +89,14 @@ public: ...@@ -89,14 +89,14 @@ public:
QString getCurrentValue(NodeProperty property) const; QString getCurrentValue(NodeProperty property) const;
void changeValue(const QModelIndex &nodeIndex, NodeProperty property, const QString &value); void changeValue(const QModelIndex &nodeIndex, NodeProperty property, const QString &value);
protected:
void keyPressEvent(QKeyEvent *e);
signals: signals:
void removeItem(); void removeItem();
void itemActivated(const QString &fileName); void itemActivated(const QString &fileName);
void contextMenuShown(const QPoint &globalPos, const QString &fileName); void contextMenuShown(const QPoint &globalPos, const QString &fileName);
protected:
void keyPressEvent(QKeyEvent *e);
private: private:
void onItemActivated(const QModelIndex &index); void onItemActivated(const QModelIndex &index);
void showContextMenu(const QPoint &pos); void showContextMenu(const QPoint &pos);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment