Anoncoin  0.9.4
P2P Digital Currency
i2poptionswidget.h
Go to the documentation of this file.
1 // Copyright (c) 2013-2014 The Anoncoin Core developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef I2POPTIONSWIDGET_H
6 #define I2POPTIONSWIDGET_H
7 
8 #include <QWidget>
9 
11 
12 namespace Ui {
13 class I2POptionsWidget;
14 }
15 
16 class ClientModel;
17 
18 class I2POptionsWidget : public QWidget
19 {
20  Q_OBJECT
21 
22 public:
23  explicit I2POptionsWidget(QWidget *parent = 0);
25 
26  void setMapper(MonitoredDataMapper& mapper);
27  void setModel(ClientModel* model);
28 
29 private:
32 
33 private slots:
34  void ShowCurrentI2PAddress();
35  void GenerateNewI2PAddress();
36 
37 signals:
38  void settingsChanged();
39 };
40 
41 #endif // I2POPTIONSWIDGET_H
Ui::I2POptionsWidget * ui
I2POptionsWidget(QWidget *parent=0)
void setModel(ClientModel *model)
Model for Anoncoin network client.
Definition: clientmodel.h:45
Data to Widget mapper that watches for edits and notifies listeners when a field is edited...
void setMapper(MonitoredDataMapper &mapper)
ClientModel * clientModel