/* SPDX-FileCopyrightText: 2015 Ivan Cukic SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include #include #include #include class QAbstractItemModelTester; namespace Ui { class MainWindow; } namespace KActivities { class Consumer; namespace Stats { class ResultModel; } } class Window : public QMainWindow { Q_OBJECT public: Window(); ~Window() override; private Q_SLOTS: void updateResults(); void updateRowCount(); void selectPreset(); private: void setQuery(const KActivities::Stats::Query &query); std::unique_ptr ui; std::unique_ptr model; std::unique_ptr modelTest; std::unique_ptr activities; QMap presets; };