Changeset View
Changeset View
Standalone View
Standalone View
tabbox/tabbox.h
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | 119 | public: | |||
---|---|---|---|---|---|
176 | void initShortcuts(); | 176 | void initShortcuts(); | ||
177 | 177 | | |||
178 | Client* nextClientStatic(Client*) const; | 178 | Client* nextClientStatic(Client*) const; | ||
179 | Client* previousClientStatic(Client*) const; | 179 | Client* previousClientStatic(Client*) const; | ||
180 | int nextDesktopStatic(int iDesktop) const; | 180 | int nextDesktopStatic(int iDesktop) const; | ||
181 | int previousDesktopStatic(int iDesktop) const; | 181 | int previousDesktopStatic(int iDesktop) const; | ||
182 | void keyPress(int key); | 182 | void keyPress(int key); | ||
183 | void keyRelease(const xcb_key_release_event_t *ev); | 183 | void keyRelease(const xcb_key_release_event_t *ev); | ||
184 | void modifiersReleased(); | ||||
184 | 185 | | |||
185 | bool forcedGlobalMouseGrab() const { | 186 | bool forcedGlobalMouseGrab() const { | ||
186 | return m_forcedGlobalMouseGrab; | 187 | return m_forcedGlobalMouseGrab; | ||
187 | } | 188 | } | ||
188 | 189 | | |||
189 | static TabBox *self(); | 190 | static TabBox *self(); | ||
190 | static TabBox *create(QObject *parent); | 191 | static TabBox *create(QObject *parent); | ||
191 | 192 | | |||
▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 220 | private: | |||
238 | template <typename Slot> | 239 | template <typename Slot> | ||
239 | void key(const char *actionName, Slot slot, const QKeySequence &shortcut = QKeySequence()); | 240 | void key(const char *actionName, Slot slot, const QKeySequence &shortcut = QKeySequence()); | ||
240 | 241 | | |||
241 | void shadeActivate(AbstractClient *c); | 242 | void shadeActivate(AbstractClient *c); | ||
242 | 243 | | |||
243 | private Q_SLOTS: | 244 | private Q_SLOTS: | ||
244 | void reconfigure(); | 245 | void reconfigure(); | ||
245 | void globalShortcutChanged(QAction *action, const QKeySequence &seq); | 246 | void globalShortcutChanged(QAction *action, const QKeySequence &seq); | ||
246 | void modifiersChanged(Qt::KeyboardModifiers mods); | | |||
247 | 247 | | |||
248 | private: | 248 | private: | ||
249 | TabBoxMode m_tabBoxMode; | 249 | TabBoxMode m_tabBoxMode; | ||
250 | TabBoxHandlerImpl* m_tabBox; | 250 | TabBoxHandlerImpl* m_tabBox; | ||
251 | bool m_delayShow; | 251 | bool m_delayShow; | ||
252 | int m_delayShowTime; | 252 | int m_delayShowTime; | ||
253 | 253 | | |||
254 | QTimer m_delayedShowTimer; | 254 | QTimer m_delayedShowTimer; | ||
Show All 37 Lines |