diff options
author | Timothy Pearson <[email protected]> | 2012-04-08 16:16:48 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-08 16:16:48 -0500 |
commit | 0f026179d0e57a469f88b1b242312d6e75e4961d (patch) | |
tree | 653098627cb0cb6191806bf380211abff30f5893 /kcontrol/hwmanager/hwmanager.cpp | |
parent | 18d991680d3a5155bb558e667916f76947d7e15a (diff) | |
download | tdebase-0f026179d0e57a469f88b1b242312d6e75e4961d.tar.gz tdebase-0f026179d0e57a469f88b1b242312d6e75e4961d.zip |
Add filtering support to device manager
Add detailed CPU tab to device manager
Diffstat (limited to 'kcontrol/hwmanager/hwmanager.cpp')
-rw-r--r-- | kcontrol/hwmanager/hwmanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kcontrol/hwmanager/hwmanager.cpp b/kcontrol/hwmanager/hwmanager.cpp index cf39b579a..71b47aac0 100644 --- a/kcontrol/hwmanager/hwmanager.cpp +++ b/kcontrol/hwmanager/hwmanager.cpp @@ -78,6 +78,8 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis base = new TDEHWManagerBase(this); layout->add(base); + base->deviceFilter->setListView(base->deviceTree); + setRootOnlyMsg(i18n("<b>Hardware settings are system wide, and requires administrator access</b><br>To alter the system's hardware settings, click on the \"Administrator Mode\" button below.")); setUseRootOnlyMsg(true); @@ -88,7 +90,7 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis connect(hwdevices, TQT_SIGNAL(hardwareAdded(TDEGenericDevice*)), this, TQT_SLOT(populateTreeView())); connect(hwdevices, TQT_SIGNAL(hardwareRemoved(TDEGenericDevice*)), this, TQT_SLOT(populateTreeView())); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(populateTreeView())); +// connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(populateTreeView())); load(); |