Browse Source

don't use Q_OBJECT macro if we aren't using any signals/slots

master
Brad Parker 10 years ago
parent
commit
8c19d93829
  1. 3
      interface.h
  2. 3
      neighbor.h
  3. 3
      wireless.h

3
interface.h

@ -5,7 +5,8 @@
#include "libip_global.h"
class LIBIP_EXPORT Interface : public QObject {
Q_OBJECT
//Q_OBJECT
// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots
public:
Interface(QString interface);

3
neighbor.h

@ -6,7 +6,8 @@
#include "libip_global.h"
class LIBIP_EXPORT Neighbor : public QObject {
Q_OBJECT
//Q_OBJECT
// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots
public:
Neighbor(QString interface = QString());

3
wireless.h

@ -7,7 +7,8 @@
#include <linux/nl80211.h>
class LIBIP_EXPORT Wireless : public QObject {
Q_OBJECT
//Q_OBJECT
// no Q_OBJECT macro here because clang linker complains about missing vtable, probably because we aren't using any signals/slots
public:
Wireless(QString interface = QString());

Loading…
Cancel
Save