File indexing completed on 2024-05-19 05:55:46
0001 /* 0002 SPDX-FileCopyrightText: 2013 Valentin Rusu <kde@rusu.info> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef CONNECTEDAPPLICATIONSTABLE_H 0008 #define CONNECTEDAPPLICATIONSTABLE_H 0009 0010 #include <KWallet> 0011 #include <QTableView> 0012 0013 class ConnectedApplicationsTable : public QTableView 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit ConnectedApplicationsTable(QWidget *parent); 0018 0019 void setModel(QAbstractItemModel *model) override; 0020 void setWallet(KWallet::Wallet *wallet); 0021 0022 protected: 0023 void resizeEvent(QResizeEvent *resizeEvent) override; 0024 0025 private: 0026 KWallet::Wallet *_wallet = nullptr; 0027 }; 0028 0029 #endif // CONNECTEDAPPLICATIONSTABLE_H