summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/integration/componentaction.h
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@digia.com>2013-01-23 12:31:22 +0100
committerMarco Bubke <marco.bubke@digia.com>2013-01-23 14:53:28 +0100
commit8d9710c0747a68f9938c8e7d32110f67ba64cc1e (patch)
treefda8332d2625520be7d282dcdbe20f48ad10f3ed /src/plugins/qmldesigner/components/integration/componentaction.h
parenta4455f37110f09e326b984977baae286082366ad (diff)
downloadqt-creator-8d9710c0747a68f9938c8e7d32110f67ba64cc1e.tar.gz
Refactoring document handling
The document handling in the qml designer was complicated source code, which was initially intended for a non creator application. To integrate new views it has to be changed and cleaned up. This is the first major step in that direction. Change-Id: Ie26f0aad7a03946d18bdb4c0759b246c5439d922 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/integration/componentaction.h')
-rw-r--r--src/plugins/qmldesigner/components/integration/componentaction.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/qmldesigner/components/integration/componentaction.h b/src/plugins/qmldesigner/components/integration/componentaction.h
index 1a9e6974ac..6e77523a9c 100644
--- a/src/plugins/qmldesigner/components/integration/componentaction.h
+++ b/src/plugins/qmldesigner/components/integration/componentaction.h
@@ -48,16 +48,17 @@ class ComponentAction : public QWidgetAction
Q_OBJECT
public:
ComponentAction(ComponentView *componentView);
- void setCurrentIndex(int);
+ void setCurrentIndex(int index);
+
protected:
QWidget *createWidget(QWidget *parent);
signals:
void currentComponentChanged(const ModelNode &node);
- void currentIndexChanged(int);
+ void currentIndexChanged(int index);
-private slots:
+public slots:
void emitCurrentComponentChanged(int index);
private: