diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:15:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:15:51 -0600 |
commit | 8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5 (patch) | |
tree | 896beb3aed9d9d27eb560459a9ab05d1230c018a /kanagram/src/leitnersystemview.cpp | |
parent | c44bd981877cabab2b021987eb29ef00fbba9e82 (diff) | |
download | tdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.tar.gz tdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kanagram/src/leitnersystemview.cpp')
-rw-r--r-- | kanagram/src/leitnersystemview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kanagram/src/leitnersystemview.cpp b/kanagram/src/leitnersystemview.cpp index 847d6312..b2d757d8 100644 --- a/kanagram/src/leitnersystemview.cpp +++ b/kanagram/src/leitnersystemview.cpp @@ -45,13 +45,13 @@ void LeitnerSystemView::drawSystem(TQPainter* p) { if(i == m_highlightedBox) { - //p->drawPixmap(12 + i * 64 + i*10, m_imageY, TDEGlobal::iconLoader()->loadIcon("leitnerbox", KIcon::Panel)); + //p->drawPixmap(12 + i * 64 + i*10, m_imageY, TDEGlobal::iconLoader()->loadIcon("leitnerbox", TDEIcon::Panel)); p->drawRect(12 + i * 64 + i*10, m_imageY,64,64); p->fillRect(12 + i * 64 + i*10, m_imageY,64,64, TQBrush(red)); } else { //for each box 74 = 64(pixmap) + 10(distance between two boxes) - //p->drawPixmap(12 + i * 74, m_imageY, TDEGlobal::iconLoader()->loadIcon("leitnerbox", KIcon::Panel)); + //p->drawPixmap(12 + i * 74, m_imageY, TDEGlobal::iconLoader()->loadIcon("leitnerbox", TDEIcon::Panel)); p->drawRect(12 + i * 64 + i*10, m_imageY,64,64); } } |