File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
3
#include < nodegui/core/NodeWidget/nodewidget.h>
4
-
5
4
#include < QStatusBar>
6
5
7
6
class NStatusBar : public QStatusBar , public NodeWidget {
7
+ public:
8
8
Q_OBJECT
9
9
NODEWIDGET_IMPLEMENTATIONS (QStatusBar)
10
10
public:
Original file line number Diff line number Diff line change 1
1
#pragma once
2
- #include " nstatusbar.hpp"
3
- #include < QPointer>
4
2
#include < napi.h>
5
3
#include < nodegui/QtWidgets/QWidget/qwidget_macro.h>
6
- #include < stdlib.h>
4
+ #include < QPointer>
5
+ #include " nstatusbar.hpp"
7
6
8
- class QStatusBarWrap : public Napi ::ObjectWrap<QStatusBarWrap>
9
- {
10
- private:
7
+ class QStatusBarWrap : public Napi ::ObjectWrap<QStatusBarWrap> {
8
+ private:
11
9
QPointer<NStatusBar> instance;
12
10
13
- public:
11
+ public:
14
12
static Napi::Object init (Napi::Env env, Napi::Object exports);
15
13
QStatusBarWrap (const Napi::CallbackInfo &info);
16
14
~QStatusBarWrap ();
17
15
NStatusBar *getInternalInstance ();
18
16
static Napi::FunctionReference constructor;
19
- // wrapped methods
17
+ // wrapped methods
20
18
Napi::Value showMessage (const Napi::CallbackInfo &info);
21
19
22
20
QWIDGET_WRAPPED_METHODS_DECLARATION
You can’t perform that action at this time.
0 commit comments