Changeset View
Changeset View
Standalone View
Standalone View
Modules/devinfo/devicelisting.cpp
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU General Public License | 16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | 17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
19 | * | 19 | * | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #include "devicelisting.h" | 22 | #include "devicelisting.h" | ||
23 | 23 | | |||
24 | //Solid | ||||
25 | #include <solid/devicenotifier.h> | ||||
26 | | ||||
27 | #include <QContextMenuEvent> | ||||
24 | #include <QMenu> | 28 | #include <QMenu> | ||
25 | 29 | | |||
30 | //Local | ||||
31 | #include "infopanel.h" | ||||
32 | #include "soldevice.h" | ||||
33 | #include "soldevicetypes.h" | ||||
34 | #include "devinfo.h" | ||||
35 | #include "solidhelper.h" | ||||
36 | //#include "nicsignals.h" | ||||
37 | | ||||
26 | DeviceListing::DeviceListing(QWidget *parent, InfoPanel *info, DevInfoPlugin *stat) | 38 | DeviceListing::DeviceListing(QWidget *parent, InfoPanel *info, DevInfoPlugin *stat) | ||
27 | : QTreeWidget(parent) | 39 | : QTreeWidget(parent) | ||
28 | , iPanel(info) | 40 | , iPanel(info) | ||
29 | , status(stat) | 41 | , status(stat) | ||
30 | { | 42 | { | ||
31 | // // Check nic changes | 43 | // // Check nic changes | ||
32 | // nicSig = new NicSignals(); | 44 | // nicSig = new NicSignals(); | ||
33 | // connect(nicSig,SIGNAL(nicActivatedOrDisconnected()),this,SLOT(networkingChangedSlot())); | 45 | // connect(nicSig,SIGNAL(nicActivatedOrDisconnected()),this,SLOT(networkingChangedSlot())); | ||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |