Rename KIcon to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent cd7745fcd0
commit af2cf87ad7

@ -54,7 +54,7 @@ static TQPixmap loadIcon(const char *name)
return TQPixmap(fileBase + ".xpm");
}
TQPixmap pmap = TDEGlobal::instance()->iconLoader()
->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
->loadIcon(TQString::fromLatin1(name), TDEIcon::NoGroup, TDEIcon::SizeMedium);
return pmap;
}

@ -53,7 +53,7 @@ static TQPixmap loadIcon(const char *name)
}
TQPixmap pmap = TDEGlobal::instance()->iconLoader()
->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
->loadIcon(TQString::fromLatin1(name), TDEIcon::NoGroup, TDEIcon::SizeMedium);
return pmap;
}

@ -360,7 +360,7 @@ void EditView::addPropertyBox(TQWidget *w)
void EditView::addControlRuler(ControlRuler* ruler)
{
ruler->setWorldMatrix(m_currentRulerZoomMatrix);
m_controlRulers->addTab(ruler, TDEGlobal::iconLoader()->loadIconSet("fileclose", KIcon::Small),
m_controlRulers->addTab(ruler, TDEGlobal::iconLoader()->loadIconSet("fileclose", TDEIcon::Small),
ruler->getName());
m_controlRulers->showPage(ruler);

Loading…
Cancel
Save