[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/ksysguard/gui
From: Tobias Koenig <tokoe () kde ! org>
Date: 2004-10-26 14:05:04
Message-ID: 20041026140504.34B9416C6C () office ! kde ! org
[Download RAW message or body]
CVS commit by tokoe:
Use KListView for setFullWidth()
M +3 -1 SensorBrowser.cc 1.54
M +2 -2 SensorBrowser.h 1.26
--- kdebase/ksysguard/gui/SensorBrowser.cc #1.53:1.54
@@ -65,5 +65,5 @@ class HostItem : public QListViewItem
SensorBrowser::SensorBrowser( QWidget* parent, KSGRD::SensorManager* sm,
const char* name)
- : QListView( parent, name ), mSensorManager( sm )
+ : KListView( parent, name ), mSensorManager( sm )
{
mHostInfoList.setAutoDelete(true);
@@ -77,4 +77,6 @@ SensorBrowser::SensorBrowser( QWidget* p
addColumn( i18n( "Sensor Browser" ) );
addColumn( i18n( "Sensor Type" ) );
+ setFullWidth( true );
+
QToolTip::add( this, i18n( "Drag sensors to empty cells of a worksheet "
"or the panel applet." ) );
--- kdebase/ksysguard/gui/SensorBrowser.h #1.25:1.26
@@ -26,6 +26,6 @@
#include <qdict.h>
-#include <qlistview.h>
+#include <klistview.h>
#include <ksgrd/SensorClient.h>
@@ -45,5 +45,5 @@ class HostInfo;
* displays the currently available hosts and their sensors.
*/
-class SensorBrowser : public QListView, public KSGRD::SensorClient
+class SensorBrowser : public KListView, public KSGRD::SensorClient
{
Q_OBJECT
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic