ResourceEditor: Reorder member functions

First signals, then protected and private.

Change-Id: Ieed013bb35785542e10e697c1a1dc135c0c94cce
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2016-07-04 13:49:33 +03:00
committed by Orgad Shaneh
parent 604a937f3c
commit 0f46ad9cb1

View File

@@ -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);