File indexing completed on 2024-05-12 04:57:43
0001 /* 0002 This file is part of Choqok, the KDE micro-blogging client 0003 0004 SPDX-FileCopyrightText: 2010-2012 Andrey Esin <gmlastik@gmail.com> 0005 0006 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0007 */ 0008 0009 #ifndef TINYARRO_WS_H 0010 #define TINYARRO_WS_H 0011 0012 #include <QVariantList> 0013 0014 #include <KCModule> 0015 0016 #include "ui_tinyarro_ws_prefs.h" 0017 0018 class Tinyarro_ws_Config : public KCModule 0019 { 0020 Q_OBJECT 0021 public: 0022 Tinyarro_ws_Config(QWidget *parent, const QVariantList &); 0023 ~Tinyarro_ws_Config(); 0024 0025 virtual void save() override; 0026 virtual void load() override; 0027 protected: 0028 QMap<QString, QString> hostList; 0029 protected Q_SLOTS: 0030 void emitChanged(); 0031 private: 0032 Ui_Tinyarro_ws_PrefsBase ui; 0033 }; 0034 0035 #endif // TINYARRO_WS_H