QtCanpool 3.3.0
载入中...
搜索中...
未找到
windowagentbase_p.h
浏览该文件的文档.
1
5#ifndef WINDOWAGENTBASEPRIVATE_H
6#define WINDOWAGENTBASEPRIVATE_H
7
8//
9// W A R N I N G !!!
10// -----------------
11//
12// This file is not part of the QxWindow API. It is used purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or may even be removed.
15//
16
17#include "windowcontext_p.h"
18#include "windowagentbase.h"
19
21
23{
24 Q_DECLARE_PUBLIC(WindowAgentBase)
25public:
28
29 void init();
30
31 WindowAgentBase *q_ptr; // no need to initialize
32
33 virtual WindowContext *createContext() const;
34
35 void setup(QObject *host, WindowItemDelegate *delegate);
36
37 std::unique_ptr<WindowContext> m_context;
38private:
39 Q_DISABLE_COPY(WindowAgentBasePrivate)
40};
41
43
44#endif // WINDOWAGENTBASEPRIVATE_H
std::unique_ptr< WindowContext > m_context
WindowAgentBase is the base class of the specifiy window agent for QtWidgets and QtQuick.
#define QX_WINDOW_END_NAMESPACE
#define QX_WINDOW_BEGIN_NAMESPACE