diff options
author | Christian Stenger <christian.stenger@digia.com> | 2012-11-22 15:24:49 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-22 16:51:33 +0100 |
commit | b34af22fcc7e9321e5a7943763cd68a1d51a36d5 (patch) | |
tree | c35b5675393e1c90582a3d13f4495284523394f4 /examples/xmlpatterns/filetree | |
parent | 89c39769e3102d6c3a2231787155a490894b8ff1 (diff) | |
download | qtxmlpatterns-b34af22fcc7e9321e5a7943763cd68a1d51a36d5.tar.gz |
Stylefixes for examples in qtxmlpatterns
Change-Id: I5a7a22779f13805479b37970888a26250c56a70d
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/xmlpatterns/filetree')
-rw-r--r-- | examples/xmlpatterns/filetree/filetree.h | 6 | ||||
-rw-r--r-- | examples/xmlpatterns/filetree/mainwindow.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/xmlpatterns/filetree/filetree.h b/examples/xmlpatterns/filetree/filetree.h index 159dd35..996cf99 100644 --- a/examples/xmlpatterns/filetree/filetree.h +++ b/examples/xmlpatterns/filetree/filetree.h @@ -45,7 +45,7 @@ class FileTree : public QSimpleXmlNodeModel { - public: +public: FileTree(const QXmlNamePool &namePool); QXmlNodeModelIndex nodeFor(const QString &fileName) const; @@ -58,13 +58,13 @@ class FileTree : public QSimpleXmlNodeModel virtual QXmlNodeModelIndex root(const QXmlNodeModelIndex &node) const; virtual QVariant typedValue(const QXmlNodeModelIndex &node) const; //! [0] - protected: +protected: //! [1] virtual QVector<QXmlNodeModelIndex> attributes(const QXmlNodeModelIndex &element) const; virtual QXmlNodeModelIndex nextFromSimpleAxis(SimpleAxis, const QXmlNodeModelIndex&) const; //! [1] - private: +private: //! [4] enum Type { File, diff --git a/examples/xmlpatterns/filetree/mainwindow.h b/examples/xmlpatterns/filetree/mainwindow.h index e9ca308..33aef68 100644 --- a/examples/xmlpatterns/filetree/mainwindow.h +++ b/examples/xmlpatterns/filetree/mainwindow.h @@ -52,15 +52,15 @@ class MainWindow : public QMainWindow, private Ui_MainWindow { Q_OBJECT - public: +public: MainWindow(); - private slots: +private slots: void on_actionOpenDirectory_triggered(); void on_actionAbout_triggered(); void on_queryBox_currentIndexChanged(); - private: +private: void loadDirectory(const QString &directory); void evaluateResult(); |