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
Touch seeded packages, which is subscribed to indicator-network in
Ubuntu.
https://bugs.launchpad.net/bugs/1547194

Title:
  cannot connect to limitationsUpdated signal

Status in indicator-network package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to