Changeset View
Changeset View
Standalone View
Standalone View
main_x11.h
Show All 18 Lines | |||||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_MAIN_X11_H | 20 | #ifndef KWIN_MAIN_X11_H | ||
21 | #define KWIN_MAIN_X11_H | 21 | #define KWIN_MAIN_X11_H | ||
22 | #include "main.h" | 22 | #include "main.h" | ||
23 | 23 | | |||
24 | namespace KWin | 24 | namespace KWin | ||
25 | { | 25 | { | ||
26 | 26 | | |||
27 | class KWinSelectionOwner | 27 | class KWinSelectionOwner; | ||
28 | : public KSelectionOwner | | |||
29 | { | | |||
30 | Q_OBJECT | | |||
31 | public: | | |||
32 | explicit KWinSelectionOwner(int screen); | | |||
33 | protected: | | |||
34 | virtual bool genericReply(xcb_atom_t target, xcb_atom_t property, xcb_window_t requestor); | | |||
35 | virtual void replyTargets(xcb_atom_t property, xcb_window_t requestor); | | |||
36 | virtual void getAtoms(); | | |||
37 | private: | | |||
38 | xcb_atom_t make_selection_atom(int screen); | | |||
39 | static xcb_atom_t xa_version; | | |||
40 | }; | | |||
zzag: I don't see why we need to move this class to the cpp file. It can stay here. | |||||
41 | 28 | | |||
42 | class ApplicationX11 : public Application | 29 | class ApplicationX11 : public Application | ||
43 | { | 30 | { | ||
44 | Q_OBJECT | 31 | Q_OBJECT | ||
45 | public: | 32 | public: | ||
46 | ApplicationX11(int &argc, char **argv); | 33 | ApplicationX11(int &argc, char **argv); | ||
47 | virtual ~ApplicationX11(); | 34 | virtual ~ApplicationX11(); | ||
48 | 35 | | |||
Show All 22 Lines |
I don't see why we need to move this class to the cpp file. It can stay here.