summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/booledit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:05:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:05:40 -0600
commit1d4158dd755a445fd42f2db7db5abab8084175cd (patch)
tree71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /lib/koproperty/editors/booledit.cpp
parent391e0b69f256bab8971430050c65f0e6e7eea9be (diff)
downloadkoffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz
koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'lib/koproperty/editors/booledit.cpp')
-rw-r--r--lib/koproperty/editors/booledit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/koproperty/editors/booledit.cpp b/lib/koproperty/editors/booledit.cpp
index 7791730c..839d6d52 100644
--- a/lib/koproperty/editors/booledit.cpp
+++ b/lib/koproperty/editors/booledit.cpp
@@ -86,17 +86,17 @@ static void drawViewerInternal(TQPainter *p, const TQRect &r, const TQVariant &v
{
p->eraseRect(r);
TQRect r2(r);
- r2.moveLeft(KIcon::SizeSmall + 6);
+ r2.moveLeft(TDEIcon::SizeSmall + 6);
if(value.isNull() && !nullText.isEmpty()) {
p->drawText(r2, TQt::AlignVCenter | TQt::AlignLeft, nullText);
}
else if(value.toBool()) {
- p->drawPixmap(3, (r.height()-1-KIcon::SizeSmall)/2, yesIcon);
+ p->drawPixmap(3, (r.height()-1-TDEIcon::SizeSmall)/2, yesIcon);
p->drawText(r2, TQt::AlignVCenter | TQt::AlignLeft, i18n("Yes"));
}
else {
- p->drawPixmap(3, (r.height()-1-KIcon::SizeSmall)/2, noIcon);
+ p->drawPixmap(3, (r.height()-1-TDEIcon::SizeSmall)/2, noIcon);
p->drawText(r2, TQt::AlignVCenter | TQt::AlignLeft, i18n("No"));
}
}