/*
* Copyright (C) 2015 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#ifndef UNITY_ACTIVEFOCUSLOGGER_H
#define UNITY_ACTIVEFOCUSLOGGER_H
#include
#include
class ActiveFocusLogger : public QQuickItem
{
Q_OBJECT
public:
ActiveFocusLogger(QQuickItem *parent = 0);
private Q_SLOTS:
void setupFilterOnWindow(QQuickWindow *window);
void printActiveFocusInfo();
private:
QPointer m_window;
};
#endif // UNITY_ACTIVEFOCUSLOGGER_H