diff options
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(); |