diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/hwmanager | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/hwmanager')
-rw-r--r-- | kcontrol/hwmanager/deviceiconview.cpp | 4 | ||||
-rw-r--r-- | kcontrol/hwmanager/deviceiconview.h | 8 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwmanager.h | 4 | ||||
-rw-r--r-- | kcontrol/hwmanager/hwmanagerbase.ui | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/hwmanager/deviceiconview.cpp b/kcontrol/hwmanager/deviceiconview.cpp index f38f35460..d5ebbabce 100644 --- a/kcontrol/hwmanager/deviceiconview.cpp +++ b/kcontrol/hwmanager/deviceiconview.cpp @@ -33,7 +33,7 @@ #include "deviceiconview.moc" DeviceIconView::DeviceIconView(TQWidget * parent, const char * name) - : KListView(parent, name) + : TDEListView(parent, name) { setSorting(0, true); addColumn(TQString::null); @@ -88,7 +88,7 @@ void DeviceIconView::keyPressEvent(TQKeyEvent *e) } } else { - KListView::keyPressEvent(e); + TDEListView::keyPressEvent(e); } } diff --git a/kcontrol/hwmanager/deviceiconview.h b/kcontrol/hwmanager/deviceiconview.h index 76c18e93f..cdc5cd6d4 100644 --- a/kcontrol/hwmanager/deviceiconview.h +++ b/kcontrol/hwmanager/deviceiconview.h @@ -29,18 +29,18 @@ class ConfigModule; class ConfigModuleList; -class DeviceIconItem : public KListViewItem +class DeviceIconItem : public TDEListViewItem { public: DeviceIconItem(TQListViewItem *parent, const TQString& text, const TQPixmap& pm, TDEGenericDevice *d = 0) - : KListViewItem(parent, text) + : TDEListViewItem(parent, text) , _tag(TQString::null) , _device(d) { setPixmap(0, pm); } DeviceIconItem(TQListView *parent, const TQString& text, const TQPixmap& pm, TDEGenericDevice *d = 0) - : KListViewItem(parent, text) + : TDEListViewItem(parent, text) , _tag(TQString::null) , _device(d) { @@ -59,7 +59,7 @@ private: TDEGenericDevice *_device; }; -class DeviceIconView : public KListView +class DeviceIconView : public TDEListView { Q_OBJECT diff --git a/kcontrol/hwmanager/hwmanager.h b/kcontrol/hwmanager/hwmanager.h index 0a3fa2221..9d0e86d40 100644 --- a/kcontrol/hwmanager/hwmanager.h +++ b/kcontrol/hwmanager/hwmanager.h @@ -35,8 +35,8 @@ #include "deviceiconview.h" class TDEConfig; -class KPopupMenu; -class KListViewItem; +class TDEPopupMenu; +class TDEListViewItem; class TDEHWManager : public TDECModule, public DCOPObject { diff --git a/kcontrol/hwmanager/hwmanagerbase.ui b/kcontrol/hwmanager/hwmanagerbase.ui index 632ec2259..47de4caf5 100644 --- a/kcontrol/hwmanager/hwmanagerbase.ui +++ b/kcontrol/hwmanager/hwmanagerbase.ui @@ -58,7 +58,7 @@ <string>Filter by Name:</string> </property> </widget> - <widget class="KListViewSearchLine" row="2" column="1" colspan="3"> + <widget class="TDEListViewSearchLine" row="2" column="1" colspan="3"> <property name="name"> <cstring>deviceFilter</cstring> </property> |