diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:04:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:04:04 -0600 |
commit | db9bddfafc16fc3cf86cd478618f2dd9f01e36f7 (patch) | |
tree | 102924d95a7efe158da4d315ee3d309354b1f332 /knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp | |
parent | b4a44e228f62d027ca95806f963138bc14100c40 (diff) | |
download | knetworkmanager8-db9bddfafc16fc3cf86cd478618f2dd9f01e36f7.tar.gz knetworkmanager8-db9bddfafc16fc3cf86cd478618f2dd9f01e36f7.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp')
-rw-r--r-- | knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp b/knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp index 9cb2b53..39d70f8 100644 --- a/knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp +++ b/knetworkmanager-0.8/src/knetworkmanager-connection_editor.cpp @@ -74,13 +74,13 @@ class ConnectionListViewItem : public TDEListViewItem setText(1, info->getDevType()); // TODO: Move to a Factory if (info->getDevType() == NM_SETTING_WIRED_SETTING_NAME) - setPixmap(0, TDEGlobal::iconLoader()->loadIcon("wired", KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("wired", TDEIcon::Small)); else if (info->getDevType() == NM_SETTING_WIRELESS_SETTING_NAME) - setPixmap(0, TDEGlobal::iconLoader()->loadIcon("wireless", KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("wireless", TDEIcon::Small)); else if (info->getDevType() == NM_SETTING_VPN_SETTING_NAME) - setPixmap(0, TDEGlobal::iconLoader()->loadIcon("encrypted", KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("encrypted", TDEIcon::Small)); else - setPixmap(0, TDEGlobal::iconLoader()->loadIcon("help", KIcon::Small)); + setPixmap(0, TDEGlobal::iconLoader()->loadIcon("help", TDEIcon::Small)); } } @@ -101,17 +101,17 @@ ConnectionEditorImpl::ConnectionEditorImpl(TQWidget* parent, const char* name, b // pbEdit->hide(); - pbNew->setIconSet(TDEGlobal::iconLoader()->loadIcon("add", KIcon::Small)); - pbDelete->setIconSet(TDEGlobal::iconLoader()->loadIcon("remove", KIcon::Small)); - pbEdit->setIconSet(TDEGlobal::iconLoader()->loadIcon("edit", KIcon::Small)); + pbNew->setIconSet(TDEGlobal::iconLoader()->loadIcon("add", TDEIcon::Small)); + pbDelete->setIconSet(TDEGlobal::iconLoader()->loadIcon("remove", TDEIcon::Small)); + pbEdit->setIconSet(TDEGlobal::iconLoader()->loadIcon("edit", TDEIcon::Small)); TQPopupMenu* popup = new TQPopupMenu(pbNew); // TODO: move to a factory class - popup->insertItem(TDEGlobal::iconLoader()->loadIcon("wireless", KIcon::Small), i18n("Wireless"), this, TQT_SLOT(slotNewWirelessConnection())); - popup->insertItem(TDEGlobal::iconLoader()->loadIcon("wired", KIcon::Small), i18n("Wired"), this, TQT_SLOT(slotNewWiredConnection())); + popup->insertItem(TDEGlobal::iconLoader()->loadIcon("wireless", TDEIcon::Small), i18n("Wireless"), this, TQT_SLOT(slotNewWirelessConnection())); + popup->insertItem(TDEGlobal::iconLoader()->loadIcon("wired", TDEIcon::Small), i18n("Wired"), this, TQT_SLOT(slotNewWiredConnection())); if (!VPNManager::getVPNServices().isEmpty()) - popup->insertItem(TDEGlobal::iconLoader()->loadIcon("encrypted", KIcon::Small), i18n("VPN"), this, TQT_SLOT(slotNewVPNConnection())); + popup->insertItem(TDEGlobal::iconLoader()->loadIcon("encrypted", TDEIcon::Small), i18n("VPN"), this, TQT_SLOT(slotNewVPNConnection())); pbNew->setPopup(popup); |