summaryrefslogtreecommitdiffstats
path: root/tdeprint/management/kmlistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:51 -0600
commitf2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch)
treece4bebc206b6f9753745218e6a4c4368df624c16 /tdeprint/management/kmlistview.cpp
parenta14eaa044240517f1f3d7eb5dacbff96fd447ada (diff)
downloadtdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz
tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdeprint/management/kmlistview.cpp')
-rw-r--r--tdeprint/management/kmlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/management/kmlistview.cpp b/tdeprint/management/kmlistview.cpp
index 4bddf9203..10741d7fe 100644
--- a/tdeprint/management/kmlistview.cpp
+++ b/tdeprint/management/kmlistview.cpp
@@ -78,7 +78,7 @@ void KMListViewItem::updatePrinter(KMPrinter *p)
if (p)
{
int oldstate = m_state;
- int st(p->isValid() ? (int)KIcon::DefaultState : (int)KIcon::LockOverlay);
+ int st(p->isValid() ? (int)TDEIcon::DefaultState : (int)TDEIcon::LockOverlay);
m_state = ((p->isHardDefault() ? 0x1 : 0x0) | (p->ownSoftDefault() ? 0x2 : 0x0) | (p->isValid() ? 0x4 : 0x0));
update = (oldstate != m_state);
QString name = (p->isVirtual() ? p->instanceName() : p->name());