xcb: mark some types as movable/primitive
These are all held in Qt containers. Change-Id: Ie285887b285bbcc0b70962d9f9c52d22d213d022 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
e4bb9395c2
commit
b961fca5f0
|
|
@ -580,6 +580,8 @@ private:
|
|||
};
|
||||
QHash<int, ValuatorClassInfo> valuatorInfo;
|
||||
};
|
||||
friend class QTypeInfo<TabletData>;
|
||||
friend class QTypeInfo<TabletData::ValuatorClassInfo>;
|
||||
bool xi2HandleTabletEvent(const void *event, TabletData *tabletData);
|
||||
void xi2ReportTabletEvent(const void *event, TabletData *tabletData);
|
||||
QVector<TabletData> m_tabletData;
|
||||
|
|
@ -682,6 +684,8 @@ private:
|
|||
|
||||
friend class QXcbEventReader;
|
||||
};
|
||||
Q_DECLARE_TYPEINFO(QXcbConnection::TabletData::ValuatorClassInfo, Q_PRIMITIVE_TYPE);
|
||||
Q_DECLARE_TYPEINFO(QXcbConnection::TabletData, Q_MOVABLE_TYPE);
|
||||
|
||||
#define DISPLAY_FROM_XCB(object) ((Display *)(object->connection()->xlib_display()))
|
||||
#define CREATE_VISUALINFO_FROM_DEFAULT_VISUALID(object) ((XVisualInfo *)(object->connection()->createVisualInfoForDefaultVisualId()))
|
||||
|
|
|
|||
|
|
@ -159,6 +159,7 @@ private:
|
|||
QPointer<QDrag> drag;
|
||||
QTime time;
|
||||
};
|
||||
friend class QTypeInfo<Transaction>;
|
||||
QVector<Transaction> transactions;
|
||||
|
||||
int transaction_expiry_timer;
|
||||
|
|
@ -167,6 +168,7 @@ private:
|
|||
int findTransactionByTime(xcb_timestamp_t timestamp);
|
||||
xcb_window_t findRealWindow(const QPoint & pos, xcb_window_t w, int md, bool ignoreNonXdndAwareWindows);
|
||||
};
|
||||
Q_DECLARE_TYPEINFO(QXcbDrag::Transaction, Q_MOVABLE_TYPE);
|
||||
|
||||
#endif // QT_NO_DRAGANDDROP
|
||||
|
||||
|
|
|
|||
|
|
@ -119,6 +119,8 @@ enum {
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
Q_DECLARE_TYPEINFO(xcb_rectangle_t, Q_PRIMITIVE_TYPE);
|
||||
|
||||
#undef FocusIn
|
||||
|
||||
enum QX11EmbedFocusInDetail {
|
||||
|
|
|
|||
Loading…
Reference in New Issue