summaryrefslogtreecommitdiff
path: root/doc/src/snippets/gs/notepad1.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/gs/notepad1.h')
-rw-r--r--doc/src/snippets/gs/notepad1.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/snippets/gs/notepad1.h b/doc/src/snippets/gs/notepad1.h
index df043dd4..50c61a4f 100644
--- a/doc/src/snippets/gs/notepad1.h
+++ b/doc/src/snippets/gs/notepad1.h
@@ -42,22 +42,34 @@
#define NOTEPAD_H
//! [all]
+//! [1]
#include <QMainWindow>
+//! [1]
+//! [2]
namespace Ui {
class Notepad;
}
+//! [2]
+//! [3]
class Notepad : public QMainWindow
{
Q_OBJECT
+//! [3]
+//! [4]
public:
explicit Notepad(QWidget *parent = 0);
+//! [4]
+//! [5]
~Notepad();
+//! [5]
+//! [6]
private:
Ui::Notepad *ui;
+//! [6]
};
//! [all]