From 0f46ad9cb1ce6c6241a0dea0375506da56fa7e4d Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 4 Jul 2016 13:49:33 +0300 Subject: [PATCH] ResourceEditor: Reorder member functions First signals, then protected and private. Change-Id: Ieed013bb35785542e10e697c1a1dc135c0c94cce Reviewed-by: Tobias Hunger --- src/plugins/resourceeditor/qrceditor/resourceview.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/resourceeditor/qrceditor/resourceview.h b/src/plugins/resourceeditor/qrceditor/resourceview.h index aeeb2441d48..d53f9546858 100644 --- a/src/plugins/resourceeditor/qrceditor/resourceview.h +++ b/src/plugins/resourceeditor/qrceditor/resourceview.h @@ -89,14 +89,14 @@ public: QString getCurrentValue(NodeProperty property) const; void changeValue(const QModelIndex &nodeIndex, NodeProperty property, const QString &value); -protected: - void keyPressEvent(QKeyEvent *e); - signals: void removeItem(); void itemActivated(const QString &fileName); void contextMenuShown(const QPoint &globalPos, const QString &fileName); +protected: + void keyPressEvent(QKeyEvent *e); + private: void onItemActivated(const QModelIndex &index); void showContextMenu(const QPoint &pos);