diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:01:22 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:01:22 -0600 |
commit | d8240b9ed5701f0eb8c923f554bd8a4f9683bea4 (patch) | |
tree | 311834623964c5a35c17a3f4cb7532c4060ef0be /knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp | |
parent | 173d90308428c6f78f55a04a3f514a214072f4ed (diff) | |
download | knetworkmanager8-d8240b9ed5701f0eb8c923f554bd8a4f9683bea4.tar.gz knetworkmanager8-d8240b9ed5701f0eb8c923f554bd8a4f9683bea4.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp b/knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp index c42ed12..7ad83d7 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-connection_setting_wireless_widget.cpp @@ -46,12 +46,12 @@ using namespace ConnectionSettings; -class NetworkListViewItem : public KListViewItem +class NetworkListViewItem : public TDEListViewItem { public: NetworkListViewItem(TQListView* parent, WirelessNetwork& net) - : KListViewItem(parent, TQString::fromUtf8(net.getDisplaySsid()), TQString("%1\%").arg(net.getStrength())) + : TDEListViewItem(parent, TQString::fromUtf8(net.getDisplaySsid()), TQString("%1\%").arg(net.getStrength())) , _net(net) { TQ_UINT8 strength = net.getStrength(); @@ -96,7 +96,7 @@ void WirelessWidgetImpl::Init() { TQVBoxLayout* layout = new TQVBoxLayout(_mainWid->framePlaceholder, 1, 1); - _searchLine = new KListViewSearchLineWidget(_mainWid->lvEssids, _mainWid->framePlaceholder); + _searchLine = new TDEListViewSearchLineWidget(_mainWid->lvEssids, _mainWid->framePlaceholder); layout->addWidget(_searchLine); connect(_mainWid->txtEssid, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEssidChanged(const TQString&))); @@ -122,7 +122,7 @@ WirelessWidgetImpl::Activate() for (TQValueList<WirelessNetwork>::Iterator it = nets.begin(); it != nets.end(); ++it) { - KListViewItem* item = new NetworkListViewItem(_mainWid->lvEssids, (*it)); + TDEListViewItem* item = new NetworkListViewItem(_mainWid->lvEssids, (*it)); _mainWid->lvEssids->insertItem(item); } |