Warning, file /plasma/bluedevil/src/sendfile/discoverwidget.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * This file is part of the KDE project 0003 * 0004 * SPDX-FileCopyrightText: 2010-2011 Alejandro Fiestas Olivares <afiestas@kde.org> 0005 * SPDX-FileCopyrightText: 2010-2011 UFO Coders <info@ufocoders.com> 0006 * 0007 * SPDX-License-Identifier: LGPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 #include "ui_discover.h" 0013 0014 #include <QWidget> 0015 0016 #include <BluezQt/Types> 0017 0018 class KMessageWidget; 0019 0020 class DevicesProxyModel; 0021 0022 class DiscoverWidget : public QWidget, public Ui::Discover 0023 { 0024 Q_OBJECT 0025 0026 public: 0027 explicit DiscoverWidget(BluezQt::Manager *manager, QWidget *parent = nullptr); 0028 0029 Q_SIGNALS: 0030 void deviceSelected(BluezQt::DevicePtr device); 0031 0032 private Q_SLOTS: 0033 void indexSelected(const QModelIndex index); 0034 0035 void checkAdapters(); 0036 void fixAdaptersError(); 0037 0038 private: 0039 BluezQt::Manager *m_manager; 0040 DevicesProxyModel *m_model; 0041 KMessageWidget *m_warningWidget; 0042 };