Terminus
ipprovider.h
Go to the documentation of this file.
1 #pragma once
2 #include <QObject>
3 
4 namespace terminus
5 {
6 
13 class IPProvider : public QObject
14 {
15  Q_OBJECT
16  Q_PROPERTY(QString localIP READ localIP NOTIFY localIPChanged())
17 public:
18  explicit IPProvider(QObject *parent = 0);
19  ~IPProvider();
20 
21  QString localIP() const;
22 
23 signals:
24  void localIPChanged();
25 
26 public slots:
27 };
28 
29 } // namespace terminus
QString localIP() const
A small helper class to determine the local IP address.
Definition: ipprovider.h:13
Definition: eventhandler.cpp:18