summaryrefslogtreecommitdiffstats
path: root/k9author
diff options
context:
space:
mode:
Diffstat (limited to 'k9author')
-rw-r--r--k9author/k9import.cpp2
-rw-r--r--k9author/k9menuedit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/k9author/k9import.cpp b/k9author/k9import.cpp
index 7cf8d77..e2a6620 100644
--- a/k9author/k9import.cpp
+++ b/k9author/k9import.cpp
@@ -118,7 +118,7 @@ void k9Import::buttonUpdated(k9MenuButton *_button, const TQImage &_image) {
k9LvItemImport *itemTitle = (k9LvItemImport*)m_root->firstChild();
while (itemTitle) {
if (itemTitle->getTitle()->getButton()==_button) {
- TQImage img=_image.smoothScale(50,40,TQ_ScaleFree);
+ TQImage img=_image.smoothScale(50,40,TQImage::ScaleFree);
TQPixmap pix(img);
itemTitle->setPixmap(0,pix);
}
diff --git a/k9author/k9menuedit.cpp b/k9author/k9menuedit.cpp
index 129b252..54a9a7a 100644
--- a/k9author/k9menuedit.cpp
+++ b/k9author/k9menuedit.cpp
@@ -120,7 +120,7 @@ void k9MenuEdit::urBackgroundSelected(const TQString &_fileName) {
//...otherwise, set the menu background image
TQImage img;
img.load(_fileName);
- img=img.smoothScale(720,m_imageHeight,TQ_ScaleMax);
+ img=img.smoothScale(720,m_imageHeight,TQImage::ScaleMax);
setBackgroundImage(img);
}
}