Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5e8c1c961f)
r14.1.x
Michele Calgaro 1 year ago
parent 77d2d0f439
commit f59d6e174b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -118,7 +118,7 @@ void k9Import::buttonUpdated(k9MenuButton *_button, const TQImage &_image) {
k9LvItemImport *itemTitle = (k9LvItemImport*)m_root->firstChild(); k9LvItemImport *itemTitle = (k9LvItemImport*)m_root->firstChild();
while (itemTitle) { while (itemTitle) {
if (itemTitle->getTitle()->getButton()==_button) { if (itemTitle->getTitle()->getButton()==_button) {
TQImage img=_image.smoothScale(50,40,TQ_ScaleFree); TQImage img=_image.smoothScale(50,40,TQImage::ScaleFree);
TQPixmap pix(img); TQPixmap pix(img);
itemTitle->setPixmap(0,pix); itemTitle->setPixmap(0,pix);
} }

@ -120,7 +120,7 @@ void k9MenuEdit::urBackgroundSelected(const TQString &_fileName) {
//...otherwise, set the menu background image //...otherwise, set the menu background image
TQImage img; TQImage img;
img.load(_fileName); img.load(_fileName);
img=img.smoothScale(720,m_imageHeight,TQ_ScaleMax); img=img.smoothScale(720,m_imageHeight,TQImage::ScaleMax);
setBackgroundImage(img); setBackgroundImage(img);
} }
} }

Loading…
Cancel
Save