Public bug reported:

In connectivity.h, the limitationsUpdated signal is declared as such:
  void limitationsUpdated(const QVector<Limitations>&);

When I use this syntax to connect:
    connect(ns.data(),SIGNAL(limitationsUpdated(const QVector<Limitations>&)),
                             this,SLOT(limitationsUpdated(const 
QVector<Limitations>&));

I get this error when building:

tstconnectivity.h:21:43: error: ‘Limitations’ was not declared in this scope
     void limitationsUpdated(const QVector<Limitations>&);

When I try:
    connect(ns.data(),SIGNAL(limitationsUpdated(const 
QVector<connectivityqt::Connectivity::Limitations>&)),
                             this,SLOT(limitationsUpdated(const 
QVector<connectivityqt::Connectivity::Limitations>&));
It builds, but I get this error when running:
2016-02-18T17:52:55 (unknown:0) - QObject::connect: No such signal 
connectivityqt::Connectivity::limitationsUpdated(const 
QVector<connectivityqt::Connectivity::Limitations>&)


The signal should probably be declared:
  void limitationsUpdated(const 
QVector<connectivityqt::Connectivity::Limitations>&);

with connectivityqt::Connectivity:: just as the statusUpdated

** Affects: indicator-network (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "connectivityqt-limitations.patch"
   
https://bugs.launchpad.net/bugs/1547194/+attachment/4574827/+files/connectivityqt-limitations.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547194

Title:
  cannot connect to limitationsUpdated signal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-network/+bug/1547194/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to